|
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of Inventory in <Unnamed> |
---|
Modifier and Type | Class and Description |
---|---|
class |
BaseContainerBlock<C extends bm & mn & Container<jl>>
Generic superclass for Chests and Furnaces, as they are really similar. |
class |
Chest
Chest.java - Interface to chests. |
class |
DoubleChest
|
class |
Furnace
Furnace.java - Interface for furnaces |
class |
PlayerInventory
|
Modifier and Type | Method and Description |
---|---|
Inventory |
Player.getInventory()
Returns this player's inventory |
Inventory |
fy.getLastOpenedInventory()
|
Modifier and Type | Method and Description |
---|---|
boolean |
PluginListener.onInventoryCursorSwap(Player player,
Inventory inventory,
java.lang.Integer slot,
Item oldItemInSlot,
Item newItemInSlot)
Called when a slot's contents are swapped with the contents of the cursor. |
boolean |
PluginListener.onInventoryPlaceItem(Player player,
Inventory inventory,
Item placedItem,
java.lang.Integer slot)
Called when the player places an inventory item, or adds amount to an existing inventory slot. |
boolean |
PluginListener.onInventoryTakeItem(Player player,
Inventory inventory,
Item takenItem,
java.lang.Integer slot)
Called when the player takes an inventory item, whether they selected half or the whole slot. |
boolean |
PluginListener.onOpenInventory(Player player,
Inventory inventory)
Called when a player attempts to open an inventory; whether it's a workbench, a chest or their own player inventory |
|
|||||||||
PREV NEXT | FRAMES NO FRAMES |