Rail Item ID

Each item in Minecraft has a unique ID assigned to it, known as an item ID, this can be used in commands to spawn the item into the game. The item ID for rail in Minecraft is shown below:

Rail Spawn Command

The Rail item can be spawned in Minecraft with the below command. Cheats must be enabled before this will work.

If you are running the Essentials plugin, you will need to run /minecraft:give instead of simply /give. This is because the Essentials /give command overrides Minecraft's built-in command.

Mining Tools

Below is a table of the tools that can be used to break Rail blocks, and the speed it will take to break at (in seconds). This is calculated with the formula (1.5 * Block Hardness) / Tool Multiplier.

Tool Speed
Golden Pickaxe Golden Pickaxe 0.09s
Diamond Pickaxe Diamond Pickaxe 0.13s
Iron Pickaxe Iron Pickaxe 0.17s
Stone Pickaxe Stone Pickaxe 0.26s
Wooden Pickaxe Wooden Pickaxe 0.52s
Netherite Pickaxe Netherite Pickaxe 1.05s

All Minecraft 1.18 Item IDs

Find thousands more items on our complete list of 1,325 Minecraft IDs.

All 1.18 Item IDs

Rail Information


A rail is an item that can carry minecarts. It can be crafted with iron ingots and wooden planks. In can also be found in mineshafts, which are structures that generate naturally in Minecraft.

Item ID minecraft:rail
Numerical ID 66
Stackable Yes
Max Stack Size 64
Hardness 0.7
Material Rock
Diggable Yes
Min / Max State IDs 3645 - 3654

Rail Crafting Recipes

Below you can find the crafting recipes that can be used to make Rail.

Ingredients Pattern Result
Iron Ingot
Iron Ingot
Iron Ingot
Iron Ingot
Iron Ingot
Iron Ingot
16x Rail

Rail Block States

Block states are values assigned to a block that changes its state. For example, many blocks have a "direction" block state which can be used to change the direction a block faces.

Find a table of all blockstates for the Rail block below.

Block State Name Type Values
shape enum ?
  • north_south
  • east_west
  • ascending_east
  • ascending_west
  • ascending_north
  • ascending_south
  • south_east
  • south_west
  • north_west
  • north_east