Bektor Posted April 5, 2017 Posted April 5, 2017 Hi, I'm currently struggling with the hole energy system stuff. I've worked myself so far into the Capabilities that I can work with the Tesla Energy system and Forge Energy system and I know that mods who support both have some kind of internal energy. My problem now is that I've got no idea how I can combine all the pieces of Forge Energy and Tesla Energy together, so that my machines can work with boths. And I definitly don't want to have thousands of lines twice just because if-else cases for checking the which energy system is used and stuff like that, because that would be very inefficient. Before someone now says, look into EnderIO because it does those things: I know that EnderIO has exectly what I want, that machines can support both energy systems, but even after looking into the forge docs and into the source code 20 times... I just don't understand why it is done there in that way and for what some of those methods are.... So I hope there is someone who can help me with getting all those pieces together. Thx in advance. Bektor Quote Developer of Primeval Forest.
Bektor Posted April 5, 2017 Author Posted April 5, 2017 On 4/5/2017 at 6:43 PM, loordgek said: make a wrapper for it, look at invWrapper Expand Where can I find invWrapper? Quote Developer of Primeval Forest.
Bektor Posted April 7, 2017 Author Posted April 7, 2017 Hm, ok, after looking into the code... I've got no clue how this could work with energy systems. Quote Developer of Primeval Forest.
loordgek Posted April 7, 2017 Posted April 7, 2017 https://gist.github.com/loordgek/e9e2de565658dc15f8990342ebadb434 Quote
Bektor Posted April 7, 2017 Author Posted April 7, 2017 Ah, ok. Thx. When looking at your implementation, I'm wondering what makes EnderIO so much more complicated.. I mean, there has to be an advantage (and disadvantage). Would be nice if someone is able to explain how the EnderIO system works (as I'm totally lost when looking into it, even with just the bare minimum of energy system classes) with the advantages and disadvantages. So that I would be able to know more than one possible way of doing things and the differences to come up with the best implementation for what I am planning. Quote Developer of Primeval Forest.
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.