Electrical Locomotive - Electrical Age Interop
jrddunbr opened this issue ยท 2 comments
Describe the suggestion
I'd like to propose interoperability with Electrical Age (for Minecraft 1.7.10).
The end implementation of this could be a new API endpoint to provide locomotives with raw input of tractive effort, or something more abstract like watts/tick with electric tractive effort being calculated in IR. I'm mostly indifferent to how this is implemented.
I realize that Electrical Age is effectively for only 1.7.10 right now, so I figure that a fallback could be RF or EU or some other form of power transfer if that's desired for other versions or other mods. I'd like to be able to provide power from catenary poles that are in Electrical Age itself (for several reasons); it would simply target the IR locomotive entities in the vicinity of the pole system in loaded chunks. Obviously, other mods (or IR) could add RF/EU based power via their own catenary.
I'm also wondering if it would be possible to add 3rd rail capabilities to the Track API, but I can make a separate issue there if desired.
Applications of the suggestion
Electrical locomotives, of the type commonly found in the Northeast Corridor of the United States, as well as many other countries worldwide. Fuel and water commonly found in IR would not be required for this class of locomotive (although dual diesel-electric systems could also work, and instead, electrical or RF/EU/etc. power would be required for operation.
I did make a prototype with some code that allowed for electric minecarts and that works well, except for the fact that I wasn't able to figure out how to make the minecarts themselves survive world reloads and/or create a UI for them - so I didn't release them into the mod yet.
https://github.com/age-series/ElectricalAge/tree/feature/electric-minecarts
Mentioning another great train mod for 1.7.10, it would be incredibly cool to see this in Zora no Densha