Class PlayerClickBlockDisplayEvent

java.lang.Object
org.bukkit.event.Event
me.c7dev.dexterity.api.events.PlayerClickBlockDisplayEvent
All Implemented Interfaces:
org.bukkit.event.Cancellable

public class PlayerClickBlockDisplayEvent extends org.bukkit.event.Event implements org.bukkit.event.Cancellable
  • Constructor Details

    • PlayerClickBlockDisplayEvent

      public PlayerClickBlockDisplayEvent(org.bukkit.entity.Player player, ClickedBlockDisplay clicked, org.bukkit.event.block.Action action, DexterityDisplay display)
      Event called when a player has clicked a block display entity
  • Method Details

    • getPlayer

      public org.bukkit.entity.Player getPlayer()
    • getBlockDisplay

      public org.bukkit.entity.BlockDisplay getBlockDisplay()
    • getBlockFace

      public org.bukkit.block.BlockFace getBlockFace()
    • getPreciseClickLocation

      public org.bukkit.Location getPreciseClickLocation()
    • getAction

      public org.bukkit.event.block.Action getAction()
    • getClickedDisplay

      public DexterityDisplay getClickedDisplay()
    • isCancelled

      public boolean isCancelled()
      Specified by:
      isCancelled in interface org.bukkit.event.Cancellable
    • getSurfaceNormal

      public org.bukkit.util.Vector getSurfaceNormal()
    • getPreciseDistanceFromEye

      public double getPreciseDistanceFromEye()
    • setCancelled

      public void setCancelled(boolean b)
      Specified by:
      setCancelled in interface org.bukkit.event.Cancellable
    • getHandlers

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

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