Class EggBridgeBuildEvent

java.lang.Object
org.bukkit.event.Event
com.andrei1058.bedwars.api.events.gameplay.EggBridgeBuildEvent

public class EggBridgeBuildEvent 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
    EggBridgeBuildEvent(TeamColor teamColor, IArena arena, org.bukkit.block.Block block)
    Called when the eggBridge is building another block
  • Method Summary

    Modifier and Type
    Method
    Description
    Get the arena
    org.bukkit.block.Block
    Get the built block
    static org.bukkit.event.HandlerList
     
    org.bukkit.event.HandlerList
     
    Get the block's team color

    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

    • EggBridgeBuildEvent

      public EggBridgeBuildEvent(TeamColor teamColor, IArena arena, org.bukkit.block.Block block)
      Called when the eggBridge is building another block
  • Method Details

    • getArena

      public IArena getArena()
      Get the arena
    • getBlock

      public org.bukkit.block.Block getBlock()
      Get the built block
    • getTeamColor

      public TeamColor getTeamColor()
      Get the block's team color
    • getHandlers

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

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