Skip to content

LeavesType ​

enum · pocketmine\block\utils\LeavesType · source

TODO: These tags need to be removed once we get rid of LegacyEnumShimTrait (PM6) These are retained for backwards compatibility only.

Cases ​

ACACIA ​

php
case ACACIA

AZALEA ​

php
case AZALEA

BIRCH ​

php
case BIRCH

CHERRY ​

php
case CHERRY

DARK_OAK ​

php
case DARK_OAK

FLOWERING_AZALEA ​

php
case FLOWERING_AZALEA

JUNGLE ​

php
case JUNGLE

MANGROVE ​

php
case MANGROVE

OAK ​

php
case OAK

ORANGE_POPLAR 5.46.0 ​

php
case ORANGE_POPLAR

PALE_OAK ​

php
case PALE_OAK

RED_POPLAR 5.46.0 ​

php
case RED_POPLAR

SPRUCE ​

php
case SPRUCE

YELLOW_POPLAR 5.46.0 ​

php
case YELLOW_POPLAR

Methods ​

getDisplayName() ​

php
public function getDisplayName() : string

VanillaMine is a fork of PocketMine-MP, maintained by Luxury Nodes. Not affiliated with the PMMP team or Mojang.