Rail Destinations

Rail Destinations

Mod port of the Civ Rail Switch plugin

1 613 downloads 14 followers

About

Rail Destinations is a mod port of the 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 and the interaction with a Detector Rail.


Command Usage

Type /dest <destination> where <destination> is the place where you want to go. You can also chain destinations, /dest <destination1> <destination2> etc. This can be useful for taking a route via specific junctions; players will be routed towards signs that contain either <destination1> or <destination2>.


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 an inverter (shown below) may need to be built.

Intersection

Top down view


Inverters

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

Redstone inverter


Curseforge Modrinth Codeberg

Version Minecraft Loader Download

v1.0.4 for Fabric 26.1

1.0.4-fabric-26.1

26.1, 26.1.1, 26.1.2
fabric
Download

v1.0.3 for Fabric 1.21

1.0.3-fabric-1.21

1.21, 1.21.1
fabric
Download

[NeoForge 1.21.1] v1.0.3

1.0.3-neoforge-1.21.11

1.21.11
neoforge
Download

[Fabric 1.21.6] v1.0.3

1.0.3-fabric-1.21.6

1.21.10, 1.21.11, 1.21.6, 1.21.7, 1.21.8, 1.21.9
fabric
Download

[Forge 1.20.1] v1.0.3

1.0.3-forge-1.20.1

1.20.1
forge
Download

[Fabric 1.20.1] v1.0.1

1.0.1-fabric-1.20.1

1.20.1
fabric
Download

[Fabric 1.21] v1.0.1

1.0.1-fabric-1.21

1.21, 1.21.1
fabric
Download