Package net.citizensnpcs.api.gui
Class InventoryMenuPage
java.lang.Object
net.citizensnpcs.api.gui.InventoryMenuPage
- All Implemented Interfaces:
Runnable
The concrete page instance representing a single page in a stack of inventory menu GUIs. Injected variables will be
available after
initialise(MenuContext)
is called.- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreateInventory
(String title) abstract void
initialise
(MenuContext ctx) void
onClick
(InventoryMenuSlot slot, InventoryClickEvent event) void
onClose
(HumanEntity player) void
run()