Package cc.synkdev.items
Class Listener
java.lang.Object
cc.synkdev.items.Listener
- All Implemented Interfaces:
org.bukkit.event.Listener
EventHandler class listening to when an item gets used.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
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)
-
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)
-