Описание
### About
Rail Destinations is a mod port of the [RailSwitch](https://civwiki.org/wiki/RailSwitch) plugin used on the Civ servers.
The mod allows detector rails to emit a restone signal only if a player in a minecart chose the right destination. It works by using the mechanics of a [T-junction](https://minecraft.wiki/w/Rail#Placement) and the interaction with a [Detector Rail](https://minecraft.wiki/w/Detector_Rail).
***
### Command Usage
Type `/dest ` where `` is the place where you want to go. You can also chain destinations, `/dest ` etc. This can be useful for taking a route via specific junctions; players will be routed towards signs that contain either `` or ``.
***
### Junction Setup
1. Place a sign one block above a detector rail before the T-junction.
2. The first line must be `[destination]`. You may also use `[!destination]`, which will activate the rail if a player's destination is not on the signs.
3. The other three lines can be destination names. Setting any line to `*` will activate the detector rail if the player has any destination set (or the opposite when using `[!destination]`).
**Since T-junctions follow the [south-east rule](https://minecraft.wiki/w/Rail#South-east_rule) an inverter (shown below) may need to be built.**


***
### Inverters
An inverter can be used to change the default direction of the T-junction.

***
[](https://www.curseforge.com/minecraft/mc-mods/rail-destinations)
[](https://modrinth.com/mod/rail-destinations)
[](https://codeberg.org/IdentityTheft/rail-destinations)