Class PlayerInteractSpecialBlockEvent

java.lang.Object
org.bukkit.event.Event
org.bukkit.event.player.PlayerEvent
de.marcely.bedwars.api.event.player.PlayerInteractSpecialBlockEvent
All Implemented Interfaces:
Cancellable

public class PlayerInteractSpecialBlockEvent extends PlayerEvent implements Cancellable
Gets called when a player tries to interact with a SpecialBlock
  • Constructor Details

    • PlayerInteractSpecialBlockEvent

      public PlayerInteractSpecialBlockEvent(Player player, SpecialBlock block)
  • Method Details

    • getBlock

      public SpecialBlock getBlock()
      Get the special block the player tried to interact with.
      Returns:
      The special block that is involved in this event
    • getHandlers

      public HandlerList getHandlers()
      Specified by:
      getHandlers in class Event
    • getHandlerList

      public static HandlerList getHandlerList()