Package me.c7dev.dexterity.api.events
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
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bukkit.event.Event
org.bukkit.event.Event.Result
-
Constructor Summary
ConstructorDescriptionPlayerClickBlockDisplayEvent
(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 Summary
Modifier and TypeMethodDescriptionorg.bukkit.event.block.Action
org.bukkit.entity.BlockDisplay
org.bukkit.block.BlockFace
static org.bukkit.event.HandlerList
org.bukkit.event.HandlerList
org.bukkit.entity.Player
org.bukkit.Location
double
org.bukkit.util.Vector
boolean
void
setCancelled
(boolean b) Methods inherited from class org.bukkit.event.Event
getEventName, isAsynchronous
-
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
-
isCancelled
public boolean isCancelled()- Specified by:
isCancelled
in interfaceorg.bukkit.event.Cancellable
-
getSurfaceNormal
public org.bukkit.util.Vector getSurfaceNormal() -
getPreciseDistanceFromEye
public double getPreciseDistanceFromEye() -
setCancelled
public void setCancelled(boolean b) - Specified by:
setCancelled
in interfaceorg.bukkit.event.Cancellable
-
getHandlers
public org.bukkit.event.HandlerList getHandlers()- Specified by:
getHandlers
in classorg.bukkit.event.Event
-
getHandlerList
public static org.bukkit.event.HandlerList getHandlerList()
-