PocketMine
|
Public Member Functions | |
__construct (Position $pos) | |
getHolder () | |
onClose (Player $who) | |
Public Member Functions inherited from ContainerInventory | |
onOpen (Player $who) | |
onClose (Player $who) | |
Public Member Functions inherited from BaseInventory | |
__construct (InventoryHolder $holder, InventoryType $type, array $items=[], $overrideSize=null, $overrideTitle=null) | |
getSize () | |
setSize ($size) | |
getMaxStackSize () | |
getName () | |
getTitle () | |
getItem ($index) | |
getContents () | |
setContents (array $items) | |
setItem ($index, Item $item) | |
contains (Item $item) | |
all (Item $item) | |
remove (Item $item) | |
first (Item $item) | |
firstEmpty () | |
canAddItem (Item $item) | |
clear ($index) | |
clearAll () | |
getViewers () | |
getHolder () | |
setMaxStackSize ($size) | |
open (Player $who) | |
close (Player $who) | |
onOpen (Player $who) | |
onClose (Player $who) | |
onSlotChange ($index, $before) | |
sendContents ($target) | |
sendSlot ($index, $target) | |
getType () | |
Public Member Functions inherited from Inventory | |
addItem (...$slots) | |
removeItem (...$slots) | |
Additional Inherited Members | |
Data Fields inherited from Inventory | |
const | MAX_STACK = 64 |
Protected Attributes inherited from BaseInventory | |
$type | |
$maxStackSize = Inventory::MAX_STACK | |
$size | |
$name | |
$title | |
$slots = [] | |
$viewers = [] | |
$holder | |
getHolder | ( | ) |
Implements Inventory.