Class PreSpawnerSpawnEvent
java.lang.Object
org.bukkit.event.Event
com.destroystokyo.paper.event.entity.PreCreatureSpawnEvent
com.destroystokyo.paper.event.entity.PreSpawnerSpawnEvent
- All Implemented Interfaces:
- Cancellable
Called before an entity is spawned into a world by a spawner.
 
This only includes the spawner's location and not the full BlockState snapshot for performance reasons. If you really need it you have to get the spawner yourself.
- 
Nested Class SummaryNested classes/interfaces inherited from class org.bukkit.event.EventEvent.Result
- 
Constructor SummaryConstructorsConstructorDescriptionPreSpawnerSpawnEvent(Location location, EntityType type, Location spawnerLocation) 
- 
Method SummaryMethods inherited from class com.destroystokyo.paper.event.entity.PreCreatureSpawnEventgetHandlerList, getHandlers, getReason, getSpawnLocation, getType, isCancelled, setCancelled, setShouldAbortSpawn, shouldAbortSpawnMethods inherited from class org.bukkit.event.EventcallEvent, getEventName, isAsynchronous
- 
Constructor Details- 
PreSpawnerSpawnEvent
 
- 
- 
Method Details- 
getSpawnerLocation
 
-