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