Skip to content

RailConnectionInfo ​

final class · pocketmine\block\utils\RailConnectionInfo · source

Constants ​

CONNECTIONS ​

php
public const CONNECTIONS = [
    //straights
    \pocketmine\data\bedrock\block\BlockLegacyMetadata::RAIL_STRAIGHT_NORTH_SOUTH => [\pocketmine\math\Facing::NORTH, \pocketmine\math\Facing::SOUTH],
    \pocketmine\data\bedrock\block\BlockLegacyMetadata::RAIL_STRAIGHT_EAST_WEST => [\pocketmine\math\Facing::EAST, \pocketmine\math\Facing::WEST],
    //ascending
    \pocketmine\data\bedrock\block\BlockL …

CURVE_CONNECTIONS ​

php
public const CURVE_CONNECTIONS = [\pocketmine\data\bedrock\block\BlockLegacyMetadata::RAIL_CURVE_SOUTHEAST => [\pocketmine\math\Facing::SOUTH, \pocketmine\math\Facing::EAST], \pocketmine\data\bedrock\block\BlockLegacyMetadata::RAIL_CURVE_SOUTHWEST => [\pocketmine\math\Facing::SOUTH, \pocketmine\math\Facing::WEST], \pocketmine\data\bedrock\block\BlockLegacyMetadata::RAIL_CURVE_NORTHWEST => [\pocket …

FLAG_ASCEND ​

php
public const FLAG_ASCEND = 1 << 24

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