Class NPC.Events.Interact

java.lang.Object
org.bukkit.event.Event
dev.sergiferry.playernpc.api.NPC.Events.Interact
All Implemented Interfaces:
org.bukkit.event.Cancellable
Enclosing class:
NPC.Events

public static class NPC.Events.Interact extends org.bukkit.event.Event implements org.bukkit.event.Cancellable
  • Method Details

    • getClickType

      public NPC.Interact.ClickType getClickType()
    • isRightClick

      public boolean isRightClick()
    • isLeftClick

      public boolean isLeftClick()
    • isCancelled

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

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