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

    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
    Get arena
    static org.bukkit.event.HandlerList
     
    org.bukkit.event.HandlerList
     
    org.bukkit.entity.Player
    Get player
    boolean
     
    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 Details

    • EggBridgeThrowEvent

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

    • 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()