Skip to content

StructureRotation 5.47.0 ​

enum · pocketmine\world\structure\StructureRotation · source

Rotation of a structure when it is loaded, clockwise seen from above (values of the structure block's "rotation" byte and of the network structure settings).

Cases ​

CLOCKWISE_180 ​

php
case CLOCKWISE_180 = 2

CLOCKWISE_270 ​

php
case CLOCKWISE_270 = 3

CLOCKWISE_90 ​

php
case CLOCKWISE_90 = 1

NONE ​

php
case NONE = 0

Methods ​

getQuarterTurns() ​

php
public function getQuarterTurns() : int

Number of clockwise quarter turns.

VanillaMine is a fork of PocketMine-MP. Not affiliated with the PMMP team or Mojang.