22declare(strict_types=1);
26use pocketmine\block\utils\WoodType;
37 public function getWoodType() : WoodType{
39 self::OAK => WoodType::OAK,
40 self::SPRUCE => WoodType::SPRUCE,
41 self::BIRCH => WoodType::BIRCH,
42 self::JUNGLE => WoodType::JUNGLE,
43 self::ACACIA => WoodType::ACACIA,
44 self::DARK_OAK => WoodType::DARK_OAK,
45 self::MANGROVE => WoodType::MANGROVE,
49 public function getDisplayName() : string{
50 return $this->getWoodType()->getDisplayName();