Package org.bukkit.event.entity
Class TrialSpawnerSpawnEvent
java.lang.Object
org.bukkit.event.Event
org.bukkit.event.entity.EntityEvent
org.bukkit.event.entity.EntitySpawnEvent
org.bukkit.event.entity.TrialSpawnerSpawnEvent
- All Implemented Interfaces:
Cancellable
Called when an entity is spawned into a world by a trial spawner.
If a Trial Spawner Spawn event is cancelled, the entity will not spawn.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bukkit.event.Event
Event.Result
-
Field Summary
Fields inherited from class org.bukkit.event.entity.EntityEvent
entity
-
Constructor Summary
ConstructorDescriptionTrialSpawnerSpawnEvent
(@NotNull Entity spawnee, @NotNull TrialSpawner spawner) -
Method Summary
Methods inherited from class org.bukkit.event.entity.EntitySpawnEvent
getHandlerList, getHandlers, getLocation, isCancelled, setCancelled
Methods inherited from class org.bukkit.event.entity.EntityEvent
getEntity, getEntityType
Methods inherited from class org.bukkit.event.Event
callEvent, getEventName, isAsynchronous
-
Constructor Details
-
TrialSpawnerSpawnEvent
-
-
Method Details
-
getTrialSpawner
-