PocketMine-MP 5.23.3 git-f7687af337d001ddbcc47b8e773f014a33faa662
Loading...
Searching...
No Matches
pocketmine\block\utils\RailConnectionInfo Class Reference
+ Collaboration diagram for pocketmine\block\utils\RailConnectionInfo:

Public Attributes

const CONNECTIONS
 
const CURVE_CONNECTIONS
 
const FLAG_ASCEND = 1 << 24
 

Detailed Description

Definition at line 29 of file RailConnectionInfo.php.

Member Data Documentation

◆ 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

Definition at line 31 of file RailConnectionInfo.php.


The documentation for this class was generated from the following file: