Class Listener

java.lang.Object
cc.synkdev.items.Listener
All Implemented Interfaces:
org.bukkit.event.Listener

public class Listener extends Object implements org.bukkit.event.Listener
EventHandler class listening to when an item gets used.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    click(org.bukkit.event.inventory.InventoryClickEvent event)
     
    void
    creative(org.bukkit.event.inventory.InventoryCreativeEvent event)
     
    void
    creative(org.bukkit.event.player.PlayerSwapHandItemsEvent event)
     
    void
    drag(org.bukkit.event.inventory.InventoryDragEvent event)
     
    void
    drop(org.bukkit.event.player.PlayerDropItemEvent event)
     
    void
    interact(org.bukkit.event.player.PlayerInteractEvent event)
     
    void
    moveItem(org.bukkit.event.inventory.InventoryMoveItemEvent event)
     
    void
    pickup(org.bukkit.event.inventory.InventoryPickupItemEvent event)
     
    relatedItem(org.bukkit.inventory.ItemStack is)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • Listener

      public Listener()
  • Method Details

    • interact

      public void interact(org.bukkit.event.player.PlayerInteractEvent event)
    • click

      public void click(org.bukkit.event.inventory.InventoryClickEvent event)
    • drag

      public void drag(org.bukkit.event.inventory.InventoryDragEvent event)
    • moveItem

      public void moveItem(org.bukkit.event.inventory.InventoryMoveItemEvent event)
    • drop

      public void drop(org.bukkit.event.player.PlayerDropItemEvent event)
    • pickup

      public void pickup(org.bukkit.event.inventory.InventoryPickupItemEvent event)
    • creative

      public void creative(org.bukkit.event.inventory.InventoryCreativeEvent event)
    • creative

      public void creative(org.bukkit.event.player.PlayerSwapHandItemsEvent event)
    • relatedItem

      public AbilityItem relatedItem(org.bukkit.inventory.ItemStack is)