Definition at line 29 of file RailConnectionInfo.php.
◆ CONNECTIONS
const pocketmine\block\utils\RailConnectionInfo::CONNECTIONS |
Initial value:= [
BlockLegacyMetadata::RAIL_STRAIGHT_NORTH_SOUTH => [
Facing::NORTH,
Facing::SOUTH
],
BlockLegacyMetadata::RAIL_STRAIGHT_EAST_WEST => [
Facing::EAST,
Facing::WEST
],
BlockLegacyMetadata::RAIL_ASCENDING_EAST => [
Facing::WEST,
Facing::EAST | self::FLAG_ASCEND
],
BlockLegacyMetadata::RAIL_ASCENDING_WEST => [
Facing::EAST,
Facing::WEST | self::FLAG_ASCEND
],
BlockLegacyMetadata::RAIL_ASCENDING_NORTH => [
Facing::SOUTH,
Facing::NORTH | self::FLAG_ASCEND
],
BlockLegacyMetadata::RAIL_ASCENDING_SOUTH => [
Facing::NORTH,
Facing::SOUTH | 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,
Facing::EAST
],
BlockLegacyMetadata::RAIL_CURVE_SOUTHWEST => [
Facing::SOUTH,
Facing::WEST
],
BlockLegacyMetadata::RAIL_CURVE_NORTHWEST => [
Facing::NORTH,
Facing::WEST
],
BlockLegacyMetadata::RAIL_CURVE_NORTHEAST => [
Facing::NORTH,
Facing::EAST
]
]
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: