22declare(strict_types=1);
35 public const MAX_STACK = 64;
70 public function getContents(
bool $includeEmpty =
false) : array;
136 public function first(
Item $item,
bool $exact =
false) : int;
154 public function remove(
Item $item) : void;
170 public function clear(
int $index) : void;
180 public function swap(
int $slot1,
int $slot2) : void;
getAddableItemQuantity(Item $item)
setMaxStackSize(int $size)
setContents(array $items)
onOpen(InventoryWindow $window)
getContents(bool $includeEmpty=false)
setItem(int $index, Item $item)
removeItem(Item ... $slots)
getMatchingItemCount(int $slot, Item $test, bool $checkTags)
first(Item $item, bool $exact=false)
swap(int $slot1, int $slot2)