Перейти к содержимому
Mineforgian

Rail Destinations

Mod port of the Civ Rail Switch plugin

Загрузки
1K
Подписчики
14
Обновлён
28 марта 2026 г.
Лицензия
MIT

Опубликован 26 июня 2024 г.

Исходный код

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 GitHub ko-fi

Ченджлог

1.0.4-fabric-26.1Релиз26.1, 26.1.1, 26.1.2 · 28 марта 2026 г.

Added:

  • Translation keys for all text
1.0.3-fabric-1.21Релиз1.21, 1.21.1 · 21 января 2026 г.
  • Setting any line on a sign to * will activate the detector rail if the player has any destination set
  • Using /dest with no arguments will clear the player's destination
  • [!destination] now works when a player's destination is not set
1.0.3-neoforge-1.21.11Релиз1.21.11 · 31 декабря 2025 г.

Ported to NeoForge

1.0.3-fabric-1.21.6Релиз1.21.9, 1.21.10, 1.21.11 · 30 декабря 2025 г.
  • Setting any line on a sign to * will activate the detector rail if the player has any destination set
  • Using /dest with no arguments will clear the player's destination
  • [!destination] now works when a player's destination is not set
1.0.3-forge-1.20.1Релиз1.20.1 · 29 декабря 2025 г.
  • Setting any line on a sign to * will activate the detector rail if the player has any destination set
  • Using /dest with no arguments will clear the player's destination
  • [!destination] now works when a player's destination is not set
1.0.1-fabric-1.20.1Релиз1.20.1 · 8 июля 2024 г.

Rail Destinations 1.0.1 for 1.20.1

1.0.1-fabric-1.21Релиз1.21, 1.21.1 · 26 июня 2024 г.

Initial release

Комментарии

Загружаем…