Package net.citizensnpcs.api.gui
Annotation Type ClickHandler
Annotates a method as a click handler that will accept inventory click events. Currently, each listener must take
InventoryMenuSlot
and InventoryClickEvent
arguments.-
Required Element Summary
-
Optional Element Summary
Modifier and TypeOptional ElementDescriptionAn optional filter for specific actions.
-
Element Details
-
filter
InventoryAction[] filterAn optional filter for specific actions. Default = handle all clicks- Default:
{}
-
slot
int[] slotThe slot position to handle clicks for.
-