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 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()
Methods in net.citizensnpcs.api.gui with parameters of type InventoryMenuModifier and TypeMethodDescriptionstatic void
InputMenus.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)