Skip to content

LeverFacing ​

enum · pocketmine\block\utils\LeverFacing · source

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

Cases ​

DOWN_AXIS_X ​

php
case DOWN_AXIS_X

DOWN_AXIS_Z ​

php
case DOWN_AXIS_Z

EAST ​

php
case EAST

NORTH ​

php
case NORTH

SOUTH ​

php
case SOUTH

UP_AXIS_X ​

php
case UP_AXIS_X

UP_AXIS_Z ​

php
case UP_AXIS_Z

WEST ​

php
case WEST

Methods ​

getFacing() ​

php
public function getFacing() : int

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