Class 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

      Constructors 
      Constructor Description
      EggBridgeThrowEvent​(org.bukkit.entity.Player player, IArena arena)
      Called when a player throw an egg bridge and it starts building
    • Method Summary

      Modifier and Type Method Description
      IArena getArena()
      Get arena
      static org.bukkit.event.HandlerList getHandlerList()  
      org.bukkit.event.HandlerList getHandlers()  
      org.bukkit.entity.Player getPlayer()
      Get player
      boolean isCancelled()  
      void setCancelled​(boolean cancelled)  
      • Methods inherited from class org.bukkit.event.Event

        getEventName, isAsynchronous
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • EggBridgeThrowEvent

        public EggBridgeThrowEvent​(org.bukkit.entity.Player player,
                                   IArena arena)
        Called when a player throw an egg bridge and it starts building
    • Method Detail

      • getPlayer

        public org.bukkit.entity.Player getPlayer()
        Get player
      • getArena

        public IArena getArena()
        Get arena
      • isCancelled

        public boolean isCancelled()
      • setCancelled

        public void setCancelled​(boolean cancelled)
      • getHandlers

        public org.bukkit.event.HandlerList getHandlers()
        Specified by:
        getHandlers in class org.bukkit.event.Event
      • getHandlerList

        public static org.bukkit.event.HandlerList getHandlerList()