Package net.citizensnpcs.trait
Class CommandTrait.ItemRequirementGUI
java.lang.Object
net.citizensnpcs.api.gui.InventoryMenuPage
net.citizensnpcs.trait.CommandTrait.ItemRequirementGUI
- All Implemented Interfaces:
Runnable
- Enclosing class:
CommandTrait
-
Constructor Summary
ConstructorDescriptionItemRequirementGUI
(CommandTrait trait) ItemRequirementGUI
(CommandTrait trait, int id) -
Method Summary
Modifier and TypeMethodDescriptionvoid
initialise
(MenuContext ctx) void
onClick
(InventoryMenuSlot slot, InventoryClickEvent event) void
onClose
(HumanEntity player) Methods inherited from class net.citizensnpcs.api.gui.InventoryMenuPage
createInventory, run
-
Constructor Details
-
ItemRequirementGUI
-
ItemRequirementGUI
-
-
Method Details
-
initialise
- Specified by:
initialise
in classInventoryMenuPage
-
onClick
- Overrides:
onClick
in classInventoryMenuPage
-
onClose
- Overrides:
onClose
in classInventoryMenuPage
-