Trains and stations
Link minecarts into trains that run 2.5 times faster than a vanilla cart, then build stations, launchers, destinations and switchers with signs.
Trains on Sunday Market are ordinary minecarts on ordinary rails, with three differences: carts you push together link into one train, a train runs up to 2.5 times faster than a vanilla cart, and signs under the track turn a line into a railway with stops, launches and route choices.
You do not need a command to ride. Place a cart on a rail, get in, and go. /train and /cart are there when you want to name a train, change its speed or send it somewhere.
Carts and linking
Place a minecart on a rail and it is yours. Push a second cart into the end of the first, on the same track, and the two link into one train that moves together. Keep adding carts at either end, up to 12 carts per train. Furnace minecarts and chest minecarts link the same way, so a train can carry cargo behind its passengers.
Only a cart's owners can change it or break it. To share a train with a friend, look at it and run /train edit, then /train owners add <player>.
Speed
A new train is limited to 1.0 blocks per tick, which is 20 blocks a second, against a vanilla cart's 0.4 (8 blocks a second). Powered rails and launcher signs push a train up to its limit, not past it. The server-wide ceiling is 1.6 blocks per tick, about 32 blocks a second.
To change your own train's limit, look at it and run /train edit, then /train maxspeed <speed>, for example /train maxspeed 1.6 for a fast trunk line or /train maxspeed 0.4 for a slow scenic run.
Long straight track suits a fast train. Tight corners and slopes still work at speed, but give a station room to stop in.
A moving train stops when it runs into a player and does them no harm, so a crowded platform is safe. A train only runs where the world around it is loaded by a nearby player; send one off alone and it waits at the edge of the loaded area until someone comes near.
Where signs go
Every train sign is an ordinary sign with a special first line, and it only works in one spot: on the side of the block under the rail. A standing sign one or two blocks below that block also counts. A sign beside the track, on any other block, does nothing.
The first line chooses when the sign acts:
[+train]is always on. Use it for anything that should work every time a train passes.[train]acts only while it has power from a lever, a redstone torch or redstone dust next to the sign. Flip the lever off and trains pass the sign as if it were not there.- Redstone blocks do not power train signs. Use a lever, a torch or dust.
The second line names the sign type. Write it in lowercase, exactly as shown below. When you finish a sign, chat confirms what you built and links back to this page.
If a station does nothing, check the placement first: almost every broken stop has its sign on the wrong block.
Station
A station stops a train, waits, and sends it on.
| Line | Write |
|---|---|
| 1 | [+train] |
| 2 | station |
| 3 | seconds to wait, for example 5 |
| 4 | direction to leave: north, east, south or west |
The train stops with its middle at the sign, waits the seconds on line 3, then leaves in the direction on line 4. Always fill in line 4.
Write [train] instead of [+train] and wire a lever beside the sign for a request stop: lever on, trains stop; lever off, they pass.
Launcher
A launcher sends a train off at a set speed.
| Line | Write |
|---|---|
| 1 | [+train] or [train] |
| 2 | launch |
| 3 | speed in blocks per tick, for example 0.6 or 1.0 |
| 4 | direction: north, east, south or west |
A [train] launcher with a lever beside it starts a parked train when you flip the lever. Speeds above the train's own limit are cut to that limit.
Destination
A destination sign gives a place on your line a name that trains can travel to.
| Line | Write |
|---|---|
| 1 | [+train] |
| 2 | destination |
| 3 | the name of this place, for example farm |
| 4 | optional: the next destination to give the train when it arrives |
Ride a train, run /train destination farm, and the train finds its own way to the sign named farm through any switchers on the network. Line 4 makes a shuttle: at farm write home on line 4, at home write farm, and a train bounces between the two.
Switcher
A switcher sits under the rail where a track splits and sets the junction as each train arrives.
| Line | Write |
|---|---|
| 1 | [+train] |
| 2 | switcher |
| 3 | leave empty |
| 4 | leave empty |
With lines 3 and 4 empty, a train that has a destination takes whichever branch leads there. Put one switcher under every junction rail on a network with destinations. A train with no destination takes the junction as vanilla rails would.
Wait
A wait sign holds a train until the track ahead is clear, so two trains on one line do not pile into each other.
| Line | Write |
|---|---|
| 1 | [+train] |
| 2 | wait and a distance, for example wait 30 |
| 3 | leave empty |
| 4 | leave empty |
A train that reaches the sign waits while another train is within that many blocks ahead, then carries on.
Blocker
A blocker holds trains at a signal you control.
| Line | Write |
|---|---|
| 1 | [train] |
| 2 | blocker |
| 3 | leave empty |
| 4 | leave empty |
Wire a lever beside it. While the lever is on, a train that reaches the sign stops and waits there. Flip the lever off and it goes. Use [train]: a [+train] blocker would hold every train for good.
Staff signs
Players build the six signs above. Every other train sign type, such as spawners, cart destroyers, property changers, teleporters, chest loaders and announcers, is for staff only. If you write one, chat tells you it is staff only, the sign is wiped, and trains ignore it.
Roller coasters are staff builds too; everyone can ride them. See Coasters.
Train commands
| Command | What it does |
|---|---|
/train edit | Select the train you are looking at, so the commands below act on it |
/train info | Show the selected train's name, speed and owners |
/train rename <name> | Name the train |
/train maxspeed <speed> | Set its speed limit, up to 1.6 blocks per tick |
/train destination <name> | Send it to a destination sign; /train destination none clears it |
/train owners add <player> | Let a friend change and break it too |
/train onlyownerscanenter true | Keep other players out of its seats |
/train playerenter false | Stop anyone from getting in |
/cart takes the same settings for one cart instead of the whole train, for example /cart destination farm.
Bedrock players
Trains are real minecarts, so Bedrock players can ride them, stop at stations and travel to destinations like everyone else. Two things work differently on Bedrock: a Bedrock player cannot push a cart by walking into it, so let a launcher sign roll one cart into the next to link them, or ask a Java player to push, and a fast train can look jerky on a Bedrock screen even though it runs at full speed. Coasters look best on Java; the coasters page says why.
See also
- Rails and ladders for zip rails and ladder lifts, which carry train carts too
- Coasters for the staff-built rides
- Travel overview for every way around the world
- Land & travel commands for the other travel commands
Last updated on