public class SpawnerUnstackEvent extends UnstackEvent
object, unstackAmount, unstackSource| Constructor and Description |
|---|
SpawnerUnstackEvent(StackedSpawner spawner,
org.bukkit.entity.Entity unstackSource,
int unstackAmount)
The constructor for the event.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getAmount()
Get the amount the spawner is unstacked by.
|
static org.bukkit.event.HandlerList |
getHandlerList() |
org.bukkit.event.HandlerList |
getHandlers() |
StackedSpawner |
getSpawner()
Get the spawner that is unstacked.
|
getUnstackSource, isCancelled, setCancelledpublic SpawnerUnstackEvent(StackedSpawner spawner, org.bukkit.entity.Entity unstackSource, int unstackAmount)
spawner - The spawner object.unstackSource - Get the source for the unstack.unstackAmount - The amount the spawner is unstacked by.public StackedSpawner getSpawner()
public int getAmount()
public org.bukkit.event.HandlerList getHandlers()
getHandlers in class org.bukkit.event.Eventpublic static org.bukkit.event.HandlerList getHandlerList()