Class ModelSpawnAtPlayerEvent
java.lang.Object
kr.toxicity.model.api.event.ModelSpawnAtPlayerEvent
- All Implemented Interfaces:
CancellableEvent, ModelEvent
Triggered when a model tracker is about to be spawned for a specific player.
This event allows preventing the model from spawning for that player.
- Since:
- 2.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionModelSpawnAtPlayerEvent(@NotNull PlatformPlayer player, @NotNull Tracker tracker) Creates a new ModelSpawnAtPlayerEvent. -
Method Summary
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface CancellableEvent
call, isCancelled, setCancelled
-
Constructor Details
-
ModelSpawnAtPlayerEvent
@Internal public ModelSpawnAtPlayerEvent(@NotNull @NotNull PlatformPlayer player, @NotNull @NotNull Tracker tracker) Creates a new ModelSpawnAtPlayerEvent.- Parameters:
player- the player for whom the model is spawningtracker- the tracker being spawned- Since:
- 2.0.0
-