Package net.citizensnpcs.api.gui
Class CitizensInventoryClickEvent
java.lang.Object
org.bukkit.event.Event
org.bukkit.event.inventory.InventoryEvent
org.bukkit.event.inventory.InventoryInteractEvent
org.bukkit.event.inventory.InventoryClickEvent
net.citizensnpcs.api.gui.CitizensInventoryClickEvent
- All Implemented Interfaces:
Cancellable
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bukkit.event.Event
Event.Result
-
Field Summary
Fields inherited from class org.bukkit.event.inventory.InventoryEvent
transaction
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
setCancelled
(boolean cancel) void
setCurrentItem
(ItemStack item) void
setCurrentItemDescription
(String description) void
void
setResult
(Event.Result result) Methods inherited from class org.bukkit.event.inventory.InventoryClickEvent
getAction, getClick, getClickedInventory, getHandlerList, getHandlers, getHotbarButton, getRawSlot, getSlot, getSlotType, isLeftClick, isRightClick, isShiftClick
Methods inherited from class org.bukkit.event.inventory.InventoryInteractEvent
getResult, getWhoClicked, isCancelled
Methods inherited from class org.bukkit.event.inventory.InventoryEvent
getInventory, getView, getViewers
Methods inherited from class org.bukkit.event.Event
getEventName, isAsynchronous
-
Constructor Details
-
CitizensInventoryClickEvent
-
-
Method Details
-
getCurrentItem
- Overrides:
getCurrentItem
in classInventoryClickEvent
-
getCurrentItemNonNull
-
getCursor
- Overrides:
getCursor
in classInventoryClickEvent
-
getCursorNonNull
-
getResultItem
-
getResultItemNonNull
-
setCancelled
public void setCancelled(boolean cancel) - Specified by:
setCancelled
in interfaceCancellable
- Overrides:
setCancelled
in classInventoryInteractEvent
-
setCurrentItem
- Overrides:
setCurrentItem
in classInventoryClickEvent
-
setCurrentItemDescription
-
setCursor
- Overrides:
setCursor
in classInventoryClickEvent
-
setResult
- Overrides:
setResult
in classInventoryInteractEvent
-