Package net.citizensnpcs.api.gui
Class MenuContext
java.lang.Object
net.citizensnpcs.api.gui.MenuContext
A context class passed into the constructor of a
Menu
instance.-
Constructor Summary
ConstructorDescriptionMenuContext
(InventoryMenu menu, InventoryMenuSlot[] slots, Inventory inventory, String title) MenuContext
(InventoryMenu menu, InventoryMenuSlot[] slots, Inventory inventory, String title, Map<String, Object> data) -
Method Summary
-
Constructor Details
-
MenuContext
public MenuContext(InventoryMenu menu, InventoryMenuSlot[] slots, Inventory inventory, String title) -
MenuContext
public MenuContext(InventoryMenu menu, InventoryMenuSlot[] slots, Inventory inventory, String title, Map<String, Object> data)
-
-
Method Details
-
clearSlots
public void clearSlots() -
data
-
getInventory
-
getMenu
-
getSlot
-
getTitle
-
setTitle
-