public class SpawnerStackedEntitySpawnEvent
extends org.bukkit.event.Event
Constructor and Description |
---|
SpawnerStackedEntitySpawnEvent(org.bukkit.block.CreatureSpawner creatureSpawner)
The constructor for the event.
|
Modifier and Type | Method and Description |
---|---|
static org.bukkit.event.HandlerList |
getHandlerList() |
org.bukkit.event.HandlerList |
getHandlers() |
org.bukkit.block.CreatureSpawner |
getSpawner()
Get the spawner that will spawn the entity.
|
void |
setShouldBeStacked(boolean shouldBeStacked)
Set whether or not the entity should be spawned as a stacked entity.
|
boolean |
shouldBeStacked()
Check whether or not the entity should be spawned as a stacked entity.
|
public SpawnerStackedEntitySpawnEvent(org.bukkit.block.CreatureSpawner creatureSpawner)
creatureSpawner
- The spawner that will spawn the entity.public org.bukkit.block.CreatureSpawner getSpawner()
public boolean shouldBeStacked()
public void setShouldBeStacked(boolean shouldBeStacked)
public org.bukkit.event.HandlerList getHandlers()
getHandlers
in class org.bukkit.event.Event
public static org.bukkit.event.HandlerList getHandlerList()