This plugin requires TrainCarts to be installed.
Generally this plugin will work on newer versions of Minecraft as well, so long you keep BKCommonLib and TrainCarts updated.
Introduction
The Hang Rail TrainCarts add-on allows trains to be suspended below iron bars, and move along them as if they are rails. Straight, curved and sloped rail logic are all working just like normal rails would. Create rides through the air, without ugly tracks below!
It is also possible to have the train move on top or below other block types, allowing trains to float above custom blocks such as different colors wool.
Installation
Install TrainCarts and then add the jar file of this add-on to the plugins folder as well. It will automatically register the new available rail type.
Usage
By placing iron bars in a horizontal line you can create tracks. To get a minecart on these tracks, place a normal track leading to it 2 blocks below it. When the minecart leaves the tracks it goes onto the hang rail and stays there. There are no commands or permissions you have to set up: just place the rails and you're done.
TrainCarts signs can be placed on top of the rail, that is, place a block (such as stone, grass, wood, etc.) on top of the rail and attach signs to it. All signs, including stations, spawners, etc, function. Path finding also supports hangrails.
How to show that suspension block above?
You can change the block displayed in the Minecart to be this block. In this case, use the two commands:
Code (Text):
/train setblock cobblewall
/train blockoffset 48
/train blockoffset 48
Code (Text):
[train]
blockchanger 48
cobblewall
blockchanger 48
cobblewall
It is possible to specify the block types that act as hang rails. This allows functionality beyond just iron bars. These things are configured in the config.yml of the plugin, which is automatically generated the first time TC-HangRail runs. In addition to hanging below blocks, you can also make trains hover above them.
Example configuration where minecarts float above red wool (and not other colors wool). The iron fence default is kept. Only integer values for the offsets are presently supported, so things like "2.6" are not possible here.
Code (Text):
# Define the block types and their applied offsets that will act as hang rails
# For each type the block and offset settings can be configured
# Legacy block data can be specified using a colon (:), for example 'WOOL:RED'
# Similarly, to specify all data variants of a legacy type, you can use 'WOOL:'
# Running on Minecraft 1.13 and later, new material names may replace legacy ones
# Omitting data means data of the block is ignored entirely
# The offset is up/down relative to the block. >0=above, <0=below
# The sign offset is up/down relative to the block trains see signs
# The sign direction specifies in what direction trains look for signs for this rails
# A sign direction of SELF (default) uses UP/DOWN based on the offset of the Minecart
types:
- block: IRON_FENCE
offset: -2
signOffset: 0
signDirection: SELF
- block: WOOL:RED
offset: 1
signOffset: 0
signDirection: DOWN
Quick facts
- Edition: Minecraft Java
- File type: .jar
- Minecraft versions listed: 1.8, 1.9, 1.10
- How to install: Install the matching mod loader (Forge, Fabric or NeoForge) for your Minecraft version. → Download the .jar. → Put it in the .minecraft/mods folder and launch that loader profile.
- Where to get it: Opens on Spigot — not every file is mirrored on our own servers.
Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.
TC HangRail is a free Minecraft Java mod. Compatible with Minecraft 1.8, 1.9, 1.10, 1.11 and newer. Downloaded 12,663 times (via Spigot). Download it and open it directly in the game.