22declare(strict_types=1);
 
   34    public const MAX_STACK = 64;
 
   69    public function getContents(
bool $includeEmpty = 
false) : array;
 
  128    public function first(
Item $item, 
bool $exact = 
false) : int;
 
  146    public function remove(
Item $item) : void;
 
  162    public function clear(
int $index) : void;
 
  172    public function swap(
int $slot1, 
int $slot2) : void;
 
  187    public function onClose(
Player $who) : void;
 
 
getAddableItemQuantity(Item $item)
 
setMaxStackSize(int $size)
 
setContents(array $items)
 
getContents(bool $includeEmpty=false)
 
setItem(int $index, Item $item)
 
removeItem(Item ... $slots)
 
first(Item $item, bool $exact=false)
 
swap(int $slot1, int $slot2)