Kipama / Modern_Minecarts

1 stars 0 forks source link

Compatibility with modded minecarts #19

Open traincrisis opened 4 months ago

traincrisis commented 4 months ago

It would be good if there was compatibility with the More Minecarts and Rails mod which has been backported to 1.20.1 just yesterday. That compatibility would be that minecarts from that mod can be linked together, not only just the vanilla types of minecarts.

Kipama commented 4 months ago

I would love to add compatibility to other Minecart-related mods, but unfortunately that would require a near complete rewrite of the mod. Currently, the mod simply overwrites the vanilla minecarts with the modified version, which works, but is far from best practice. To add compatibility I would need to use Mixins to modify the vanilla code instead of overwriting it, which I tried but haven't gotten to work yet. However, I will leave this issue open, as I will potentially add this in the future, provided I get the hang of Mixins.