BlueGit

timfa minecart-trains

Files

minecart-trains / README.md

README.md

README.md 4.6 KiB Download Raw

API Badge [Dev State Badge]() [Latest Release]() [Maintenance Badge]() Issue Badge Discord Online Badge

Download Badge Modrinth

bStats Players bStats Server

Minecart Trains

Introducing Minecart Trains! Experience a whole new level of immersion as you connect minecarts together, transforming them into powerful and efficient trains.

Features:

  • linking minecarts to form a train
  • freezing furnace minecarts with non-powered booster rails (to stop trains)
  • minecarts at high velocity kill mobs on the track (configurable)
  • arrows can't destroy minecarts (configurable)
  • coal carts which the furnace cart will refuel from
  • fuel consumption of the furnace minecart is configurable
  • highspeed tracks inspired by hsrails (only on adapted railways)

How it works:

Coupling:

The standard coupling tool is the chain. With this you click on two minecarts one after the other. The second one will follow the first one. With a train you work your way through from front to back. (I am working on making the order irrelevant).

Coal Carts:

Furnace minecarts will, if already going, refuel from a coal cart nearby. Coal carts can be crafting with a minecart and a coal block. Coal carts will only interact with hoppers to refill but only coal and charcoal.

What is planned:

  • safe chunk unloading
  • auto. chunk loading
  • making the linking order irrelevant
  • some kind of fuel gauge

What is not (yet) possible:

  • trains that push backwards (w.i.p.)
  • trains going around 2x2 curves

Dependencies

Relevant Links

  • modrinth: https://modrinth.com/plugin/minecart-trains
  • bStats: https://bstats.org/plugin/bukkit/Minecart%20Trains/18918

How to Build

If you are looking to make changes, then you'll need to get both a JDK 17 and Maven installed on your computer. I recommend just using an IDE like Intellij IDEA or Eclipse.

Building Pudding API

If only want to make changes to main-branch of MinecartTrains you can just download the latest (PuddingAPI jar) from Modrith.

If you want to make changes to a dev-branch of MinecartTrains you might need to download the latest (PuddingAPI dev-build) from GitHub.

If you also want to make changes to the PuddingAPI you'll need to have the PuddingAPI source installed. On more information on how to build PuddingAPI look at it's GitHub.

Either way PuddingAPI has to be in the correct sister folder specified in the MinecartTrains pom.xml.

Building Minecart Trains

Once you have Pudding API built and the jar generated, update the puddingapi.jar property in the pom.xml file of the current project, to ensure it points to the jar generated in the 'Building PuddingAPI' section.

Once the pom.xml file has been updated, you can kick off the build:

mvn package

Results will be in the target folder, with base name MinecartTrains. Assuming the current marked release is 2.0.0 (see version value in pom.xml), you'll have the following file:

  • MinecartTrains-2.0.0.jar

Copy this file over to the plugins folder of your Minecraft server. Also, don't forget to have copied the PuddingAPI jar as well, to your server's plugins folder.

bStats

bStats

Source
1[![API Badge](https://img.shields.io/badge/MC%20version-Spigot%20v1.21.x-blue?style=flat-square)](https://www.spigotmc.org/)
2[![Dev State Badge](https://img.shields.io/badge/stage%20of%20development-beta-yellow?style=flat-square)]()
3[![Latest Release](https://img.shields.io/github/v/release/Fridtjof-DE/MinecartTrains?style=flat-square)]()
4[![Maintenance Badge](https://img.shields.io/maintenance/yes/2026?style=flat-square)]()
5[![Issue Badge](https://img.shields.io/github/issues/Fridtjof-DE/MinecartTrains?style=flat-square)](https://github.com/Fridtjof-DE/MinecartTrains/issues)
6[![Discord Online Badge](https://img.shields.io/discord/961799414647750717?label=Discord&style=flat-square)](https://discord.gg/fT6VJurHCT)
7
8[![Download Badge Modrinth](https://img.shields.io/modrinth/dt/plRff0I9?color=brightgreen&label=Modrinth%20downloads&style=flat-square)](https://modrinth.com/plugin/minecart-trains/versions)
9
10[![bStats Players](https://img.shields.io/bstats/players/18918?style=flat-square)](https://bstats.org/plugin/bukkit/Minecart%20Trains/18918)
11[![bStats Server](https://img.shields.io/bstats/servers/18918?style=flat-square)](https://bstats.org/plugin/bukkit/Minecart%20Trains/18918)
12
13# <img src="./docs/images/icon.png" data-canonical-src="./icon.png" width="32" height="32" /> Minecart Trains
14
15Introducing Minecart Trains! Experience a whole new level of immersion as you connect minecarts together, transforming them into powerful and efficient trains.
16
17![](./docs/images/preview-image.png)
18### Features:
19- linking minecarts to form a train
20- freezing furnace minecarts with non-powered booster rails (to stop trains)
21- minecarts at high velocity kill mobs on the track (configurable)
22- arrows can't destroy minecarts (configurable)
23- coal carts which the furnace cart will refuel from
24- fuel consumption of the furnace minecart is configurable
25- highspeed tracks inspired by hsrails (only on adapted railways)
26
27### How it works:
28**Coupling:**
29
30The standard coupling tool is the chain. With this you click on two minecarts one after the other. The second one will follow the first one. With a train you work your way through from front to back. (I am working on making the order irrelevant).
31
32**Coal Carts:**
33
34Furnace minecarts will, if already going, refuel from a coal cart nearby. Coal carts can be crafting with a minecart and a coal block. Coal carts will only interact with hoppers to refill but only coal and charcoal.
35
36### What is planned:
37- safe chunk unloading
38- auto. chunk loading
39- making the linking order irrelevant
40- some kind of fuel gauge
41
42### What is not (yet) possible:
43- trains that push backwards (w.i.p.)
44- trains going around 2x2 curves
45
46### Dependencies
47
48 - PuddingAPI ([plugin jar](https://modrinth.com/plugin/puddingapi)) ([source](https://github.com/Fridtjof-DE/PuddingAPI))
49
50### Relevant Links
51
52 - modrinth: https://modrinth.com/plugin/minecart-trains
53 - bStats: https://bstats.org/plugin/bukkit/Minecart%20Trains/18918
54
55## How to Build
56
57If you are looking to make changes, then you'll need to get both a JDK 17 and Maven installed on your computer. I recommend just using an IDE like Intellij IDEA or Eclipse.
58
59### Building Pudding API
60
61If only want to make changes to `main-branch` of MinecartTrains you can just download the latest ([PuddingAPI jar](https://modrinth.com/plugin/puddingapi)) from Modrith.
62
63If you want to make changes to a `dev-branch` of MinecartTrains you might need to download the latest ([PuddingAPI dev-build](https://github.com/Fridtjof-DE/PuddingAPI/tree/master/builds)) from GitHub.
64
65If you also want to make changes to the PuddingAPI you'll need to have the [PuddingAPI](https://github.com/Fridtjof-DE/PuddingAPI) source installed. On more information on how to build PuddingAPI look at it's GitHub.
66
67Either way PuddingAPI has to be in the correct sister folder specified in the MinecartTrains `pom.xml`.
68
69### Building Minecart Trains
70
71Once you have Pudding API built and the jar generated, update the
72`puddingapi.jar` property in the `pom.xml` file of the current
73project, to ensure it points to the jar generated in the 'Building
74PuddingAPI' section.
75
76Once the `pom.xml` file has been updated, you can kick off the build:
77
78```
79mvn package
80```
81
82Results will be in the `target` folder, with base name
83`MinecartTrains`. Assuming the current marked release is 2.0.0
84(see version value in pom.xml), you'll have the following file:
85
86 - `MinecartTrains-2.0.0.jar`
87
88Copy this file over to the plugins folder of your Minecraft server. Also, don't forget to have copied the PuddingAPI jar as well, to your
89server's plugins folder.
90
91## bStats
92![bStats](https://bstats.org/signatures/bukkit/Minecart%20Trains.svg)