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