Package net.fateuhc.plugin.api.events
Class TimeBombEvent
java.lang.Object
org.bukkit.event.Event
net.fateuhc.plugin.api.events.TimeBombEvent
public class TimeBombEvent
extends org.bukkit.event.Event
Called on TimeBombListener
Handles player and the chest
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bukkit.event.Event
org.bukkit.event.Event.Result -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.bukkit.block.ChestgetChest()Get the drops chest.static org.bukkit.event.HandlerListGet the handlers list.org.bukkit.event.HandlerListGet the handlers list.Get the player name of who died.Methods inherited from class org.bukkit.event.Event
getEventName, isAsynchronous
-
Constructor Details
-
TimeBombEvent
public TimeBombEvent()
-
-
Method Details
-
getHandlers
public org.bukkit.event.HandlerList getHandlers()Get the handlers list.- Specified by:
getHandlersin classorg.bukkit.event.Event- Returns:
HandlerList
-
getHandlerList
public static org.bukkit.event.HandlerList getHandlerList()Get the handlers list.- Returns:
HandlerList
-
getPlayerName
Get the player name of who died.- Returns:
String- player name.
-
getChest
public org.bukkit.block.Chest getChest()Get the drops chest.- Returns:
Chest
-