- Tested Minecraft Versions:
- Source Code:
- bergerkiller, mg_1999
This plugin requires TrainCarts to be installed.
Since April 16, 2017 release version names will be in a MCVersion-pluginversion format.
Version 1.13.1-v1 works fine when used with Traincarts/BKCommonLib 1.14.4-v1!
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!
Since 1.12.2-v2 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.
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.
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:
Similarly, with a blockchanger sign:Code (Text):/train setblock cobblewall
/train blockoffset 48
Configuring custom rails block typesCode (Text):[train]
Since version 1.12.2-v2 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.
Example configuration where minecarts float above red wool (and not other colors wool), and move along torch blocks (inside) that are attached to the wall. 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
# The key of each block is ignored, and can be set to anything you like
# For each type the block and offset settings can be configured
# Block data can be specified using a colon (:), for example 'WOOL:RED'
# Omitting data means data of the block is ignored entirely
# The offset is up/down relative to the block. >0=above, <0=below
TC HangRail 1.13.1-v1
Add-on for TrainCarts