Definition at line 29 of file RailConnectionInfo.php.
◆ CONNECTIONS
const pocketmine\block\utils\RailConnectionInfo::CONNECTIONS |
Initial value:= [
BlockLegacyMetadata::RAIL_STRAIGHT_NORTH_SOUTH => [
Facing::NORTH->value,
Facing::SOUTH->value
],
BlockLegacyMetadata::RAIL_STRAIGHT_EAST_WEST => [
Facing::EAST->value,
Facing::WEST->value
],
BlockLegacyMetadata::RAIL_ASCENDING_EAST => [
Facing::WEST->value,
Facing::EAST->value | self::FLAG_ASCEND
],
BlockLegacyMetadata::RAIL_ASCENDING_WEST => [
Facing::EAST->value,
Facing::WEST->value | self::FLAG_ASCEND
],
BlockLegacyMetadata::RAIL_ASCENDING_NORTH => [
Facing::SOUTH->value,
Facing::NORTH->value | self::FLAG_ASCEND
],
BlockLegacyMetadata::RAIL_ASCENDING_SOUTH => [
Facing::NORTH->value,
Facing::SOUTH->value | self::FLAG_ASCEND
]
]
Definition at line 33 of file RailConnectionInfo.php.
◆ CURVE_CONNECTIONS
const pocketmine\block\utils\RailConnectionInfo::CURVE_CONNECTIONS |
Initial value:= [
BlockLegacyMetadata::RAIL_CURVE_SOUTHEAST => [
Facing::SOUTH->value,
Facing::EAST->value
],
BlockLegacyMetadata::RAIL_CURVE_SOUTHWEST => [
Facing::SOUTH->value,
Facing::WEST->value
],
BlockLegacyMetadata::RAIL_CURVE_NORTHWEST => [
Facing::NORTH->value,
Facing::WEST->value
],
BlockLegacyMetadata::RAIL_CURVE_NORTHEAST => [
Facing::NORTH->value,
Facing::EAST->value
]
]
Definition at line 64 of file RailConnectionInfo.php.
◆ FLAG_ASCEND
const pocketmine\block\utils\RailConnectionInfo::FLAG_ASCEND = 1 << 24 |
The documentation for this class was generated from the following file: