Skip to content
  • Toggle dark modeSwitch between light and darkAction
  • Open My KitEverything you made, saved in this browserAction
  • Open My KitEverything you made, saved in this browserAction

3 results

Menu

Rail ID in Minecraft

The Rail ID in Minecraft Java Edition is minecraft:rail, the same on Bedrock. Before Java 1.13 it was 66:9.

/give command

  • Java 1.13 – 26.3
    /give @p minecraft:rail 64

    Gives a full stack of 64. Change the last number for a different amount.

  • Bedrock
    /give @s rail 64
  • Place the block (Java)
    /setblock ~ ~ ~1 minecraft:rail

Want enchantments, a name or lore? Open it in the give command generator.

Details

Java ID
minecraft:rail
Bedrock ID
minecraft:rail
Java 1.8–1.12 ID
66:9
Added in Java
1.13 or earlier
Stack size
64
Best tool
Pickaxe
Hardness
0.7
Blast resistance
0.7

How to make Rail

Block states

Use these in /setblock or /fill, for example minecraft:rail[shape=north_south,waterlogged=false].

StateValuesDefault
shapenorth_south, east_west, ascending_east, ascending_west, ascending_north, ascending_south, south_east, south_west, north_west, north_eastnorth_south
waterloggedtrue, falsefalse

More tools