[Feature] Mekanism chemicals support
NewLordZeeCaptain opened this issue ยท 3 comments
Mekanism is one of the most popular mods now and presented in almost all tech modpacks. Are any hope to get support of it's chemicals in Tesseract?
I made a chems support for myself (neoforge 1.21) but I'll happily share it if needed. It's missing translations and WTHIT displays too much garbage, but well, it's a start.
https://github.com/emperor06/Tesseract/tree/neoforge-1.21_chemicals
This request seems to be a duplicate of #32 (although it was just gasses at the time that request was created).
The thoughts I put in that issue still mostly hold.
The three main things for me are:
- It is a pain to add optional integration. Since I wouldn't be able to reference Mekanism classes directly, everything Mekanism related has to be special cased. And making the ui change when Mekanism is installed is also a pain.
- Mekanism is not available for most versions and is only available for one modloader. This makes comparing differences and porting changes between branches a pain. Especially since adding an additional channel type would require quite a lot of additional code and changes in existing code compared to non-Mekanism integration branches.
- Mekanism does not update very often or very quickly. This makes it so I would have to remove or comment out Mekanism code every time Mekanism isn't available for a new Minecraft version. Then, when Mekanism updates, I would have to go back and put back in all the Mekanism code and update it to their new API.
I made a chems support for myself (neoforge 1.21) but I'll happily share it if needed. It's missing translations and WTHIT displays too much garbage, but well, it's a start.
As far as I can tell, you seem to reference Mekanism classes directly everywhere. This means it will crash without Mekanism installed as those classes won't exist. Still cool though ๐
I only reference the API. I tested without Mekanism and it works. I've put a conditional in the UI so the gases tab does not appear if Mekanism is not loaded. Of course, that's only true for neoforge 1.21 (the API may not even be available in older versions).
But I get and fully understand your point: such a specific mod support may be done within a plugin (you don't have to maintain and support it). If done for Mekanism's chemicals, then you may get requests for whatever other mods transport. And yeah, there's ten thousand versions to maintain ๐
That's why I didn't open a pull request. It's there if needed but I won't even ask you to add it :)