Class NPCRightClickEvent

All Implemented Interfaces:
Cancellable

public class NPCRightClickEvent extends NPCClickEvent
Called when an NPC is right-clicked by a player.
  • Constructor Details

    • NPCRightClickEvent

      public NPCRightClickEvent(NPC npc, Player rightClicker)
  • Method Details

    • getHandlers

      public HandlerList getHandlers()
      Overrides:
      getHandlers in class NPCClickEvent
    • isDelayedCancellation

      public boolean isDelayedCancellation()
    • setDelayedCancellation

      public void setDelayedCancellation(boolean toCancel)
    • getHandlerList

      public static HandlerList getHandlerList()