Uses of Class
net.citizensnpcs.api.gui.InventoryMenu
Packages that use InventoryMenu
-
Uses of InventoryMenu in net.citizensnpcs.api.gui
Methods in net.citizensnpcs.api.gui that return InventoryMenuModifier and TypeMethodDescriptionstatic InventoryMenuInventoryMenu.create(Class<? extends InventoryMenuPage> clazz) Create an inventory menu instance starting at the given page.static InventoryMenuInventoryMenu.create(InventoryMenuPage instance) Create an inventory menu instance starting at the given page.static InventoryMenuInventoryMenu.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 InventoryMenuInventoryMenu.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 InventoryMenuInventoryMenu.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()Methods in net.citizensnpcs.api.gui with parameters of type InventoryMenuModifier and TypeMethodDescriptionstatic voidInputMenus.runChatStringSetter(InventoryMenu menu, InventoryClickEvent event, String description, Consumer<String> callback) Constructors in net.citizensnpcs.api.gui with parameters of type InventoryMenuModifierConstructorDescriptionMenuContext(InventoryMenu menu, InventoryMenuSlot[] slots, Inventory inventory, String title) MenuContext(InventoryMenu menu, InventoryMenuSlot[] slots, Inventory inventory, String title, Map<String, Object> data)