![]() |
VOOZH | about |
| Renewable | Yes |
|---|---|
| Stackable | Yes (64) |
| Tool | π SlotSprite Pickaxe Required.png: Sprite image for Pickaxe Required in Minecraft |
| Blast resistance | 0.7 |
| Hardness | 0.7 |
| Luminous | No |
| Transparent | Yes |
| Waterloggable | Yes |
| Flammable | No |
| Catches fire from lava |
No |
| Map color | 0 NONE |
| Note block instrument | Default (Harp) |
{
"extratext": "View [[#Renders|all renders]]",
"title": "Rail",
"images": [
"Rail (NS).png",
"Rail (ES).png"
],
"rows": [
{
"field": "Yes",
"label": "(link to Renewable resource article, displayed as Renewable)"
},
{
"field": "Yes (64)",
"label": "Stackable"
},
{
"field": "<span class=\"sprite-file\" style=\"height:32px;width:32px;--vertical-align:middle\">(link to File:SlotSprite Pickaxe Required.png article, displayed as 32x32px|link=|alt=SlotSprite Pickaxe Required.png: Sprite image for Pickaxe Required in Minecraft|class=pixel-image|This block can be broken with any tool, but a pickaxe is the quickest)</span>",
"label": "Tool"
},
{
"field": "0.7",
"label": "(link to Explosion#Blast resistance article, displayed as Blast resistance)"
},
{
"field": "0.7",
"label": "(link to Breaking#Blocks by hardness article, displayed as Hardness)"
},
{
"field": "No",
"label": "(link to Light article, displayed as Luminous)"
},
{
"field": "Yes",
"label": "(link to Opacity article, displayed as Transparent)"
},
{
"field": "Yes",
"label": "(link to Waterlogging article, displayed as Waterloggable)"
},
{
"field": "No",
"label": "(link to Flammable article, displayed as Flammable)"
},
{
"field": "No",
"label": "Catches fire<br>from (link to lava article, displayed as lava)"
},
{
"field": "<span style=\"white-space: nowrap;\"><span style=\"display: inline-block; background-color: rgb(); border: 1px solid #888; border-radius: 0.3em; color: transparent; width: 1em; height: 1em; vertical-align: -0.36em; margin-right: -0.1em\"><br></span> 0 NONE</span>",
"label": "(link to Map color article, displayed as Map color)"
},
{
"field": "Default (Harp)",
"label": "(link to Note Block#Instruments article, displayed as Note block instrument)"
}
],
"invimages": [
"Rail"
]
}
A rail is a non-solid block that provides a path along which minecarts can travel, and can be placed either flat on the ground, as a ramp, or curved.
A curved rail allows minecarts to turn corners, and can rotate to connect to a different rail line while powered.
The suitable tool to break a rail is a pickaxe. It will always drop itself when broken.
Rails can be found naturally running along the floor in mineshafts, both in the center of tunnels and under loot chest minecarts, and in the "pumpkin ring room" of woodland mansions.
| Item | Structure | Container | Quantity | Chance |
|---|---|---|---|---|
| Java Edition and Bedrock Edition | ||||
| π Image Rails |
π Image Mineshaft |
Chest not located in a sulfur cave | 4β8 | 78.4%{ "item": "Rails", "stacksize": "4β8", "chance": 0.784, "structure": "Mineshaft", "container": "Chest not located in a sulfur cave" }
|
| π Image Mineshaft |
Chest located in a sulfur cave | 4β8 | 70.4%{ "item": "Rails", "stacksize": "4β8", "chance": 0.7037037037037037, "structure": "Mineshaft", "container": "Chest located in a [[sulfur cave]]" }
| |
A rail can be used as a track for minecarts to move along.
To place a rail, use a rail item while pointing at a surface facing the space the rail should occupy. A rail can be placed on top of a block whose top face has a rim around the edge, such as any full block, hopper, top slab, upside-down stairs, or top trapdoor. A full list of these blocks is here. A rail can also be placed into a water source on any of these blocks and will be waterlogged after placement.
Rails visually float 1β16 blocks above the ground, with an outline 2β16 blocks high.
A rail cannot be attached to the side or bottom of any block, but attempting to make such an attachment may cause the rail to attach to the top of a block under the destination space. For example, if a fence is on the ground, attempting to attach a rail to the side of the fence causes the rail to be attached to the top of the ground next to the fence instead.
More information regarding placement on transparent blocks can be found at Opacity/Placement.
A placed rail configures itself to be straight or curved according to rail blocks around it.
Existing rail lines one block up and down are considered for adjacency in the same manner, and the new rail gets laid as a curve, but unless space is left for sloping rails, minecarts can continue past the curve only on level or one-block-down corners. In one-block-up corners, the cart ends up buried in the ground.
Some rail placements produce rail layouts that cause minecarts to collide and enter blocks.
Existing rails may get re-oriented, become sloping, or even change into curved rails when a new rail is placed adjacent to it:
A curved rail at a T-junction can be rotated by applying redstone power.
If a rail is not in its most preferred available state, it will change to that preferred state as its default when the rail is updated via redstone power.[1]
Separate rails are laid adjacent, but at the next level, lower or higher rails can sometimes cause rail reorientation.
A minecart travels straight through a T-junction when entering from the "back of" the curved rail. It follows the curve when entering from either of the other two legs.
A minecart passes straight through a 4-way junction constructed to have no curved rail. When entering the 4-way from east or west a cart turns according to the south-east rule.
At non-curve rail junctions, minecarts always travel downhill if they can, ignoring the south-east rule.
A block placed above a rail line at the downhill end of a ramp prevents minecarts from traveling down the slope, but not up. For a minecart to move down a diagonal tunnel, there must be clearance sufficient for a player to walk through it.
If a straight rail leads to a curved rail and does not connect to it, a minecart runs over the gap and continues to go straight over the curved rail. This is not applicable for other types of rails.
Notably, minecarts can exceed the normal 8 m/s speed limit while it jumps over the gap. For example, by placing curved rails on every other block of a straight rail, it is possible to travel at 10 m/s in a straight direction.
As with straight T-junctions and 4-way junctions, the practice of making a minecart jump between rails can be used to make one-way entries onto a rail line. For curved rails, the behavior is more intuitive as the cart simply proceeds in the direction it is already going, allowing designs that do not rely on the south-east rule.
To accelerate from a standstill to full speed, most minecarts need seven powered rails (a minecart with furnace has a lower top speed). After a certain number of rails, the minecart begins slowing down. This slowdown can be negated using a powered rail. A certain number of rails followed by a single powered rail can then be repeated indefinitely to maintain full speed with the minimum amount of powered rails.
| Minecart type | Initial maximum rails at full speed | Subsequent maximums |
|---|---|---|
| Empty minecart and minecart with TNT | 7 | 3 |
| Minecart with entity | 112 | Alternates between 38 and 26 |
| Minecart with chest and minecart with hopper | 85 | 20, then 29 onward |
For example, a minecart with an entity would require 112 rails, then 1 powered rail, then 38 rails, then 1 powered rail, then 26 rails, then 1 powered rail, then 38 rails, etc. Note that these rails can go in any direction: going 112 rails diagonally would still require a powered rail.
A minecart with no rider at full speed can climb 10 blocks on an unpowered rail. This suggests that a powered rail is needed at a height of only 10 blocks to keep a cart climbing. However, the cart slows so much that it can reach only another 5 blocks high with 2 lengths of powered rails starting at 9 blocks high. The minimum number of powered rails to keep the cart climbing constantly is 3 every 6 blocks.
Minecarts carrying entities, or minecarts with chests, have more momentum and so climb higher than empty minecarts. With a rider, a minecart can climb at most 24 blocks before stopping and needing powered rails to go higher.
In Java Edition, most mobs avoid walking on rails,[2] but they ignore rails when they are already on them. Jumping mobs like slimes, frogs[3], and goats can jump onto rails, but frogs and goats do not walk onto rails. Aquatic creatures like guardians, tadpoles, and fish that flop around on land can flop onto rails. Parrots can land on rails and endermen can teleport onto rails, although they do not walk onto them. In pursuit of their targets, zombies may push other mobs onto the rails. The only mobs that freely walk onto rails are spiders, cave spiders, and wardens.
A rail can be pushed by a piston, and can be pulled by a sticky piston. However, the rail breaks and drops as an item when it is unsupported due to being moved.
π BlockSprite block-of-gold.png: Sprite image for block-of-gold in Minecraftmetal sound type | ||||||||
|---|---|---|---|---|---|---|---|---|
| Sound | Closed captions | Source | Description | Identifier | Translation key | Volume | Pitch | Attenuation distance |
| βBlock broken | Blocks | Once the block has broken | block.metal.break | subtitles.block.generic.breakβ | 1.0 | 1.2 | 16 | |
| βBlock placed | Blocks | When the block is placed | block.metal.place | subtitles.block.generic.placeβ | 1.0 | 1.2 | 16 | |
| βBlock breaking | Blocks | While the block is in the process of being broken | block.metal.hit | subtitles.block.generic.hitβ | 0.25 | 0.75 | 16 | |
| βSomething falls on a block | Entity-Dependent | Falling on the block with fall damage | block.metal.fall | subtitles.block.generic.fallβ | 0.5 | 1.25 | 16 | |
| βFootsteps | Entity-Dependent | Walking on the block | block.metal.step | subtitles.block.generic.footstepsβ | 0.15 | 1.5 | 16 | |
π BlockSprite block-of-gold.png: Sprite image for block-of-gold in Minecraftmetal sound type | |||||||
|---|---|---|---|---|---|---|---|
| Sound | Closed captions | Source | Description | Identifier | Translation key | Volume | Pitch |
| βBlock broken | Blocks | Once the block has broken | dig.stone | subtitles.block.generic.breakβ | 1.0 | 1.1β1.2 | |
| βBlock placed | Blocks | When the block is placed | use.stone | subtitles.block.generic.placeβ | 1.0 | 1.2β1.25 | |
| βBlock breaking | Blocks | While the block is in the process of being broken | hit.stone | subtitles.block.generic.hitβ | 0.3 | 0.75 | |
| βFootsteps | Players | Falling on the block with fall damage | fall.stone | subtitles.block.generic.footstepsβ | 0.4 | 1.0 | |
| βFootsteps | Players | Walking on the block | step.stone | subtitles.block.generic.footstepsβ | 0.35 | 1.0 | |
| βFootsteps | Blocks | Jumping from the block | jump.stone | subtitles.block.generic.footstepsβ | 0.12 | 1.0 | |
| βFootsteps | Blocks | Falling on the block without fall damage | land.stone | subtitles.block.generic.footstepsβ | 0.22 | 1.0 | |
| Name | Identifier | Form | Block tags | Item tags | Translation key |
|---|---|---|---|---|---|
| π BlockSprite rail.png: Sprite image for rail in Minecraft Rail | rail | Block & Item | prevent_mob_spawning_insiderails | rails |
block.minecraft.rail |
| Name | Identifier | Numeric ID | Form | Item ID[i 1] | Translation key |
|---|---|---|---|---|---|
| π BlockSprite rail.png: Sprite image for rail in Minecraft Rail | rail | 66 | Block & Giveable Item[i 2] | Identical[i 3] | tile.rail.name |
| Name | Default value | Allowed values | Description |
|---|---|---|---|
| shape | north_south
| east_westnorth_eastnorth_southnorth_westsouth_eastsouth_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_eastascending_northascending_southascending_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. | ||
| waterlogged | false | truefalse | Whether or not there's water in the same place as this rail. |
| Name | Metadata Bits | Default value | Allowed values | Values for Metadata Bits |
Description |
|---|---|---|---|---|---|
| rail_direction | 0x10x20x40x8 | 0
| 0 | 0 | Straight rail connecting to the north and south. |
1 | 1 | Straight rail connecting to the east and west. | |||
2 | 2 | Sloped rail ascending to the east. | |||
3 | 3 | Sloped rail ascending to the west. | |||
4 | 4 | Sloped rail ascending to the north. | |||
5 | 5 | Sloped rail ascending to the south. | |||
6 | 6 | Curved rail connecting to the south and east. | |||
7 | 7 | Curved rail connecting to the south and west. | |||
8 | 8 | Curved rail connecting to the north and west. | |||
9 | 9 | Curved rail connecting to the north and east. |
| Icon | Achievement | In-game description | Actual requirements (if different) | Gamerscore earned | Trophy type (PS) | ||
|---|---|---|---|---|---|---|---|
| PS4 | Other | ||||||
| π Image | π Image | On A Rail | Travel by minecart to a point at least 500m in a single direction from where you started. | Travel by minecart 500 blocks in a straight line away from the player's starting point. | 40 | Gold | |
| Java Edition Infdev | |||||||
|---|---|---|---|---|---|---|---|
| 20100618 | π Image π Image π Image π Image π Image π Image π Image π Image π Image π Image Added rails in the first "Seecret Friday Update" to Infdev. | ||||||
| 20100624 | Sloped rails are currently being dropped if the block on the side was destroyed. | ||||||
| Java Edition Alpha | |||||||
| v1.2.0 | ? | π Image π Image π Image π Image π Image π Image π Image π Image π Image π Image The textures of rails and curved rails have been changed slightly. | |||||
| Java Edition Beta | |||||||
| 1.6 | Test Build 3 | Before this update, parallel rail lines would be used to create minecart boosters. | |||||
| 1.8 | Pre-release | Rails are now found in the new mineshaft chests. | |||||
| Java Edition | |||||||
| 1.0.0 | Beta 1.9 Prerelease | Rails are now destroyed by snowfall (bug). | |||||
| Beta 1.9 Prerelease 4 | Some rail behavior is now affected following the change of the south-west rule to south-east rule. | ||||||
| Beta 1.9 Prerelease 6 | Rails are now broken faster using a pickaxe. | ||||||
| 1.3.1 | 12w25a | Rails can now be placed on upside-down slabs and stairs. | |||||
| 1.5 | 13w04a | Mobs no longer walk over rails, if they are not currently standing on one. | |||||
| 1.8 | 14w04a | π Image π Image If a rail is set to render as the block inside of a minecart via commands or map editing, it now appears as this (previously it would be entirely invisible). | |||||
| 1.9 | 15w38a | All sloped rail types' hitbox heights have been decreased from 10 pixels of a block to about 2.5 pixels of a block. | |||||
| 15w44a | The average yield from chest minecarts in mineshafts has been increased by more than 20 times. | ||||||
| 15w46a | Mobs no longer spawn on rails. | ||||||
| 1.10 | 16w21a | All sloped rail types' hitbox heights have been increased from about 2.5 pixels of a block to a full block. | |||||
| 1.11 | 16w32b | All sloped rail types' hitbox heights have been decreased from a full block to a half block. | |||||
| 16w39a | Rails now generate in woodland mansions. | ||||||
| 1.14 | 18w43a | π Image π Image π Image π Image π Image π Image π Image π Image π Image π Image The texture of rails has been changed. | |||||
| 19w12b | Rails can now be placed on glass, ice, glowstone and sea lanterns. | ||||||
| 1.15 | 19w39a | Placing a new, unconnected section of rails now orients them in the direction the player is facing, rather than always north-south. | |||||
| October 22, 2020 | A leaked screenshot was accidentally posted in a bug report that said "waterlogged-rail", which was later removed. | ||||||
| 1.16 | 20w09a | π Image π Image π Image π Image Rails are affected by ambient occlusion. | |||||
| 1.17 | 20w45a | All rail types can now be waterlogged. | |||||
| Rails are no longer swept away by water. | |||||||
| 1.19 | 22w13a | Wardens can now pass over rails.[4] | |||||
| 1.21.6 | 25w15a | π Image π Image π Image π Image Rails are no longer affected by ambient occlusion. | |||||
| Pocket Edition Alpha | |||||||
|---|---|---|---|---|---|---|---|
| v0.8.0 | build 1 | π Image Added rails. | |||||
| build 2 | Rails are now craftable. | ||||||
| v0.9.0 | build 1 | Rails now generate in mineshafts. | |||||
| v0.14.0 | build 1 | Rails can now be found in mineshaft chests. | |||||
| Pocket Edition | |||||||
| 1.1.0 | alpha 1.1.0.0 | Rails now generate in woodland mansions. | |||||
| Bedrock Edition | |||||||
| 1.4.0 | beta 1.2.20.1 | Rails can now be placed underwater. | |||||
| 1.7.0 | beta 1.7.0.2 | Rails are once again broken by flowing water. Previously it flowed through the rails. | |||||
| 1.10.0 | beta 1.10.0.3 | π Image The texture of rails has been changed. | |||||
| 26.10 | Preview 26.10.21 | Zombie horses no longer avoid walking on rails, making mobs avoiding rails remaining a Java Edition exclusive. | |||||
| Legacy Console Edition | |||||||
|---|---|---|---|---|---|---|---|
| Xbox 360 | Xbox One | PS3 | PS4 | PS Vita | Wii U | Switch | |
| TU1 | CU1 | 1.00 | 1.00 | 1.00 | Patch 1 | 1.0.1 | π Image Added rails. |
| TU19 | CU7 | 1.12 | 1.12 | 1.12 | Mobs no longer walk over rails, if they are not currently standing on one.[is this the correct version?] | ||
| TU46 | CU36 | 1.38 | 1.38 | 1.38 | Patch 15 | Mobs no longer spawn on rails. | |
| All sloped rail types' hitbox heights have been increased from 10 pixels of a block to a full block. | |||||||
| TU54 | CU44 | 1.52 | 1.52 | 1.52 | Patch 24 | 1.0.4 | All sloped rail types' hitbox heights have been decreased from a full block to a half block. |
| Rails now generate in woodland mansions. | |||||||
| TU69 | 1.76 | 1.76 | 1.76 | Patch 38 | All types of rails can now be waterlogged and are no longer destroyed by flowing water. Instead it flows right through them. | ||
| 1.90 | π Image The texture of rails has been changed. | ||||||
| New Nintendo 3DS Edition | |||||||
|---|---|---|---|---|---|---|---|
| 0.1.0 | π Image Added rails. | ||||||
Issues relating to "Rail" are maintained on the bug tracker. Issues should be reported and viewed there.
| π Image Redstone | |||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||||||||
| |||||||||||||||||||||||||||
| π Image Blocks | |||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||||||||
| |||||||||||||||||||||||||||
| |||||||||||||||||||||||||||
| |||||||||||||||||||||||||||
| |||||||||||||||||||||||||||
| |||||||||||||||||||||||||||
| |||||||||||||||||||||||||||
| |||||||||||||||||||||||||||
| |||||||||||||||||||||||||||