42 use LegacyEnumShimTrait;
52 public function getWoodType() : WoodType{
54 self::OAK => WoodType::OAK,
55 self::SPRUCE => WoodType::SPRUCE,
56 self::BIRCH => WoodType::BIRCH,
57 self::JUNGLE => WoodType::JUNGLE,
58 self::ACACIA => WoodType::ACACIA,
59 self::DARK_OAK => WoodType::DARK_OAK,
60 self::MANGROVE => WoodType::MANGROVE,
64 public function getDisplayName() :
string{
65 return $this->getWoodType()->getDisplayName();