Minecraft Wiki
Advertisement

Java Edition:

Name Default value Allowed values Description
shapenorth_south east_west
north_east
north_south
north_west
south_east
south_west
The two directions a rail connects to.
For example, a south_east rail is a curved rail that connects to the south and to the east.
ascending_east
ascending_north
ascending_south
ascending_west
A rail that ascends toward the direction noted.
For example, an ascending_west rail is a straight rail that goes upward from the east toward the west.
waterloggedfalsetrue
false
Whether or not there's water in the same place as this rail.

Bedrock Edition:

NameMetadata Bits Default value Allowed valuesValues for
Metadata Bits
Description
rail_direction0x1
0x2
0x4
0x8
0 00Straight rail connecting to the north and south.
11Straight rail connecting to the east and west.
22Sloped rail ascending to the east.
33Sloped rail ascending to the west.
44Sloped rail ascending to the north.
55Sloped rail ascending to the south.
66Curved rail connecting to the south and east.
77Curved rail connecting to the south and west.
88Curved rail connecting to the north and west.
99Curved rail connecting to the north and east.
Advertisement