public class ModInventory extends AbstractInventory<ModHolder>
AbstractInventory.NegativityInventory
INVENTORIES
Constructor and Description |
---|
ModInventory() |
Modifier and Type | Method and Description |
---|---|
void |
manageInventory(InventoryClickEvent e,
Material m,
Player p,
ModHolder nh)
Event called when click and already checked
(Check done: item/Inventory exist, available slot)
|
void |
openInventory(Player p,
Object... obj)
Open the inventory to the specified player.
|
actualizeInventory, closeInventory, getType, isInstance, load
public void openInventory(Player p, Object... obj)
AbstractInventory
openInventory
in class AbstractInventory<ModHolder>
p
- the player that will see the inventoryobj
- if there is something requiredpublic void manageInventory(InventoryClickEvent e, Material m, Player p, ModHolder nh)
AbstractInventory
manageInventory
in class AbstractInventory<ModHolder>
e
- the called eventm
- the material of the clicked itemp
- the playernh
- the holder