22declare(strict_types=1);
27use pocketmine\block\utils\CoralTypeTrait;
35 describeBlockItemState as encodeCoralType;
39 parent::__construct($identifier, VanillaBlocks::CORAL_FAN()->
getName());
46 $this->encodeCoralType($w);
52 return $block->setCoralType($this->coralType)->setDead($this->dead);
56 return $this->getBlock()->getFuelTime();
60 return $this->getBlock()->getMaxStackSize();
describeState(RuntimeDataDescriber $w)
getBlock(?int $clickedFace=null)