Package | Description |
---|---|
com.codelanx.codelanxlib.inventory.iinterface |
Modifier and Type | Method and Description |
---|---|
MenuIcon |
InventoryPanel.newIcon(ItemStack item,
Execution onExec)
Returns a new
MenuIcon stored in this panel |
MenuIcon |
InventoryPanel.newIcon(ItemStack item,
Execution onExec,
Map<String,Object> options)
Returns a new
MenuIcon stored in this panel |
Modifier and Type | Method and Description |
---|---|
InventoryPanel |
InventoryInterface.getLinkedPanel(MenuIcon icon)
Gets a linked
InventoryPanel from a MenuIcon object. |
boolean |
InventoryInterface.isLinked(MenuIcon icon)
Determines if a
MenuIcon is linked to an InventoryPanel |
void |
InventoryPanel.linkIcon(MenuIcon icon)
Links this panel to the passed
MenuIcon such that clicking it
will open this panel |
protected void |
InventoryInterface.linkPanel(MenuIcon icon,
InventoryPanel panel)
Links a
MenuIcon to open an InventoryPanel |
void |
Execution.onExec(Player p,
InventoryInterface ii,
MenuIcon icon)
Called when a
MenuIcon is clicked |
Copyright © 2017. All rights reserved.