Class NexoNoteBlockInteractEvent

    • Constructor Summary

      Constructors 
      Constructor Description
      NexoNoteBlockInteractEvent(NoteBlockMechanic mechanic, Player player, ItemStack itemInHand, EquipmentSlot hand, Block block, BlockFace blockFace, Action action)
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      NoteBlockMechanic getMechanic()
      HandlerList getHandlers()
      • 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

      • NexoNoteBlockInteractEvent

        NexoNoteBlockInteractEvent(NoteBlockMechanic mechanic, Player player, ItemStack itemInHand, EquipmentSlot hand, Block block, BlockFace blockFace, Action action)