public class SpawnerPlaceInventoryEvent extends PlaceEvent
object, player
Constructor and Description |
---|
SpawnerPlaceInventoryEvent(org.bukkit.entity.Player player,
StackedSpawner spawner,
int increaseAmount)
The constructor for the event.
|
Modifier and Type | Method and Description |
---|---|
static org.bukkit.event.HandlerList |
getHandlerList() |
org.bukkit.event.HandlerList |
getHandlers() |
int |
getIncreaseAmount()
Get the amount that the spawner is increased by.
|
StackedSpawner |
getSpawner()
Get the spawner object of the event.
|
getPlayer, isCancelled, setCancelled
public SpawnerPlaceInventoryEvent(org.bukkit.entity.Player player, StackedSpawner spawner, int increaseAmount)
player
- The player who placed the spawner.spawner
- The spawner object.increaseAmount
- The amount that the spawner is increased by.public StackedSpawner getSpawner()
public int getIncreaseAmount()
public org.bukkit.event.HandlerList getHandlers()
getHandlers
in class org.bukkit.event.Event
public static org.bukkit.event.HandlerList getHandlerList()