Uses of Class
net.citizensnpcs.api.gui.InventoryMenu
-
Uses of InventoryMenu in net.citizensnpcs.api.gui
Modifier and TypeMethodDescriptionstatic InventoryMenu
InventoryMenu.create
(Class<? extends InventoryMenuPage> clazz) Create an inventory menu instance starting at the given page.static InventoryMenu
InventoryMenu.create
(InventoryMenuPage instance) Create an inventory menu instance starting at the given page.static InventoryMenu
InventoryMenu.createSelfRegistered
(Class<? extends InventoryMenuPage> clazz) Creates an inventory menu instance starting at the given page that registers events and deregisters events when the menu is closed.static InventoryMenu
InventoryMenu.createSelfRegistered
(InventoryMenuPage instance) Creates an inventory menu instance starting at the given page that registers events and deregisters events when the menu is closed.static InventoryMenu
InventoryMenu.createWithContext
(Class<? extends InventoryMenuPage> clazz, Map<String, Object> context) Create an inventory menu instance starting at the given page and with the initial context.MenuContext.getMenu()
Modifier and TypeMethodDescriptionstatic void
InputMenus.runChatStringSetter
(InventoryMenu menu, InventoryClickEvent event, String description, Consumer<String> callback) ModifierConstructorDescriptionMenuContext
(InventoryMenu menu, InventoryMenuSlot[] slots, Inventory inventory, String title) MenuContext
(InventoryMenu menu, InventoryMenuSlot[] slots, Inventory inventory, String title, Map<String, Object> data)