#TrainCarts compatibility layer

9 messages · Page 1 of 1 (latest)

glass lotus
#

This is a very specific (and niche) idea, but i'm leaving here if someone happens to be interested in trying that.

Basically, make a kind of "Compatibility Layer" for the Bukkit/Spigot/Paper plugin TrainCarts, a powerful plugin that add a lot of automation potential to minecarts allowing the player to create complex and 100% autonomous railroads, with automatic chunk loading when needed and a sign system to create stations where the trains stop and launch unattended, and other options that are more detailed in it's wiki.

Normally TrainCarts uses BKCommonLib to "interface" with Bukkit, but since that dependency is utilized to several other plugins, and it's heavily fit to Bukkit's internal shenenigans, it seems to be very difficult to """"port"""" that to anything outside the Bukkit ecosystem. So, i wonder if coding somekind like a "compatibility layer" that only "translate" the stuff needed to TrainCarts in specific to work would be more feasible to achieve instead of messing with the whole BKCommonLib.

modrinth https://modrinth.com/plugin/traincarts
github https://github.com/bergerhealer/TrainCarts

Disclaimer: I'm totally aware that there are similar mods that add some of the features of TrainCarts, i personally use Linkart, this thread is specific for any interested modders that want to make TrainCarts work on Fabric, mostly because i'm afraid even Linkart can't be considered a 100% drop-in for TrainCarts, specially on its automation features (like the sign system). I'm suggested once for Linkart dev to add features from this old 1.12 signals mod, but until today it wasn't implemented.

https://wiki.traincarts.net/images/7/70/TrainCarts_train_1.gif

GitHub

An extensive library used in bergerhealer's plugins - bergerhealer/BKCommonLib

GitHub

Minecarts redefined. Contribute to bergerhealer/TrainCarts development by creating an account on GitHub.

#

A rough sketch of how it would be organized (vs how it works natively on Bukkit)

delicate forge
#

likely just wont work

#

every other compatibility layer for bukkit plugins have ended in utter failure. unless the plugin is completely abstracted from bukkit design and concepts it will effectively have the same incompatibility problems

glass lotus
#

hm

#

bkcl heavily uses nms

#

that was the main problem to try to rewrite that for other loader

#

and it have far more things than needed to traincarts to work

#

so i thought focusing only in the stuff needed to TC would ease a little bit the things