Class NexoChorusBlockInteractEvent
-
- All Implemented Interfaces:
-
org.bukkit.event.Cancellable
public final class NexoChorusBlockInteractEvent extends NexoBlockInteractEvent implements Cancellable
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classNexoChorusBlockInteractEvent.Companion
-
Field Summary
Fields Modifier and Type Field Description private final ChorusBlockMechanicmechanicprivate final Playerplayerprivate final ItemStackitemInHandprivate final EquipmentSlothandprivate final Blockblockprivate final BlockFaceblockFaceprivate final Actionactionpublic final static NexoChorusBlockInteractEvent.CompanionCompanion
-
Constructor Summary
Constructors Constructor Description NexoChorusBlockInteractEvent(ChorusBlockMechanic mechanic, Player player, ItemStack itemInHand, EquipmentSlot hand, Block block, BlockFace blockFace, Action action)
-
Method Summary
Modifier and Type Method Description ChorusBlockMechanicgetMechanic()HandlerListgetHandlers()-
Methods inherited from class com.nexomc.nexo.api.events.custom_block.NexoBlockInteractEvent
getAction, getBlock, getBlockFace, getHand, getItemInHand, getPlayer, isCancelled, setCancelled -
Methods inherited from class org.bukkit.event.Event
callEvent, getEventName, isAsynchronous -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
NexoChorusBlockInteractEvent
NexoChorusBlockInteractEvent(ChorusBlockMechanic mechanic, Player player, ItemStack itemInHand, EquipmentSlot hand, Block block, BlockFace blockFace, Action action)
-
-
Method Detail
-
getMechanic
ChorusBlockMechanic getMechanic()
- Returns:
The NoteBlockMechanic of this block
-
getHandlers
HandlerList getHandlers()
-
-
-
-