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