public class SpawnerSpawnEvent extends EntitySpawnEvent
If a Spawner Spawn event is cancelled, the entity will not spawn.
Event.Resultentity| Constructor and Description | 
|---|
SpawnerSpawnEvent(@NotNull Entity spawnee,
                 @NotNull CreatureSpawner spawner)  | 
| Modifier and Type | Method and Description | 
|---|---|
@NotNull CreatureSpawner | 
getSpawner()  | 
getHandlerList, getHandlers, getLocation, isCancelled, setCancelledgetEntity, getEntityTypegetEventName, isAsynchronouspublic SpawnerSpawnEvent(@NotNull
                         @NotNull Entity spawnee,
                         @NotNull
                         @NotNull CreatureSpawner spawner)
@NotNull public @NotNull CreatureSpawner getSpawner()
Copyright © 2021. All rights reserved.