Class EggBridgeThrowEvent
java.lang.Object
org.bukkit.event.Event
com.andrei1058.bedwars.api.events.gameplay.EggBridgeThrowEvent
public class EggBridgeThrowEvent
extends org.bukkit.event.Event
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bukkit.event.Event
org.bukkit.event.Event.Result
-
Constructor Summary
ConstructorDescriptionEggBridgeThrowEvent
(org.bukkit.entity.Player player, IArena arena) Called when a player throw an egg bridge and it starts building -
Method Summary
Modifier and TypeMethodDescriptiongetArena()
Get arenastatic org.bukkit.event.HandlerList
org.bukkit.event.HandlerList
org.bukkit.entity.Player
Get playerboolean
void
setCancelled
(boolean cancelled) Methods inherited from class org.bukkit.event.Event
getEventName, isAsynchronous
-
Constructor Details
-
EggBridgeThrowEvent
Called when a player throw an egg bridge and it starts building
-
-
Method Details
-
getPlayer
public org.bukkit.entity.Player getPlayer()Get player -
getArena
Get arena -
isCancelled
public boolean isCancelled() -
setCancelled
public void setCancelled(boolean cancelled) -
getHandlers
public org.bukkit.event.HandlerList getHandlers()- Specified by:
getHandlers
in classorg.bukkit.event.Event
-
getHandlerList
public static org.bukkit.event.HandlerList getHandlerList()
-