Package gcspawners
Class AdvancedSpawnersBreakEvent
java.lang.Object
org.bukkit.event.Event
gcspawners.AdvancedSpawnersBreakEvent
- All Implemented Interfaces:
org.bukkit.event.Cancellable
public class AdvancedSpawnersBreakEvent
extends org.bukkit.event.Event
implements org.bukkit.event.Cancellable
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bukkit.event.Event
org.bukkit.event.Event.Result
-
Constructor Summary
ConstructorDescriptionAdvancedSpawnersBreakEvent(org.bukkit.entity.Player p, org.bukkit.block.Block b, String entityType, int count)
-
Method Summary
Modifier and TypeMethodDescriptionint
static org.bukkit.event.HandlerList
org.bukkit.event.HandlerList
org.bukkit.entity.Player
org.bukkit.block.Block
boolean
void
setCancelled(boolean cancelled)
Methods inherited from class org.bukkit.event.Event
getEventName, isAsynchronous
-
Constructor Details
-
AdvancedSpawnersBreakEvent
public AdvancedSpawnersBreakEvent(org.bukkit.entity.Player p, org.bukkit.block.Block b, String entityType, int count)
-
-
Method Details
-
getHandlerList
public static org.bukkit.event.HandlerList getHandlerList() -
getHandlers
public org.bukkit.event.HandlerList getHandlers()- Specified by:
getHandlers
in classorg.bukkit.event.Event
-
isCancelled
public boolean isCancelled()- Specified by:
isCancelled
in interfaceorg.bukkit.event.Cancellable
-
setCancelled
public void setCancelled(boolean cancelled)- Specified by:
setCancelled
in interfaceorg.bukkit.event.Cancellable
-
getCountBroken
public int getCountBroken() -
getEntityType
-
getSpawner
public org.bukkit.block.Block getSpawner() -
getPlayer
public org.bukkit.entity.Player getPlayer()
-