blockId = $blockId; $this->setDamage($meta); parent::__construct($itemId ?? $blockId, $meta, $this->getBlock()->getName()); } public function getBlock() : Block{ return BlockFactory::get($this->blockId, $this->meta === -1 ? 0 : $this->meta & 0xf); } public function getFuelTime() : int{ return $this->getBlock()->getFuelTime(); } }