blockId = $blockId; 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 getVanillaName() : string{ return $this->getBlock()->getName(); } public function getFuelTime() : int{ return $this->getBlock()->getFuelTime(); } }