id = (int) $id; } public function setMaxStackSize($size = 64){ $this->maxStackSize = (int) $size; } public function getDestroySpeed(Item $item, Entity $entity){ return 1; } public function getMaxStackSize(){ return $this->maxStackSize; } }