Support for FE energy storage and fluid tanks

Published by Hidan on
Issue description

So I saw in past (and occasionally now) that people were asking for Energy system like EU or RF unfortunately those energy systems requires specific API that MCreator will not gonna add due to compatibility issues and API updates but I have found while playing some mods that there is energy system which is already in Forge and its called Forge Energy "FE" which is an alternative to Redstone Flux "RF", we can found FE in Forge source by going to Code Editor, so I want to ask developers to consider implementation this to some mod elements like Procedures, block etc. It could really benefit MCreator :)

Also here is picture where this Energy System can be found:
Map

Issue comments

This is a nice catch. We will check what could be done. Are you aware of any mods that use this energy system so we can see if it is worth considering implementing this?

I did more research on FE and its actually supported by many mods like Thermal Expansion, Ender I/O and
Extreme Reactors, Its Compatible with RF so you can produce RF and power machines that uses FE and vice versa 
For testing I used TechReborn because is based on FE and its cables connects to machines from other mods.

Here is example:
Example

Thank you for this extensive report. I will definitely look up the possibilities of this and add new procedure blocks to support the FE in the future updates. Most likely not yet in 1.8.0 as we have quite a big todo list already, but I will definitely consider this addition.

I have done some research and the energy system you showed - forge energy packet - only supports global energy system - like a global variable of energy stored per world.

It could be a very helping hand, 'cause for now it's impossible automatizing processings and machines created with mccreator (i mean processings like Mekanism or Ender Io ones).

If it will be easier to install APIs on mcreator, we can use item transport for duct or fluid duct fluid or other APIs (which will be installed by mcreator in the mod folder of the forge folder testenvironmentmod for do not have java dependency problem or it will have to do it manually I know how to do it and config so far from tab code but beginners may not know it and I think you (developers) should add creates a API from Mcreator for example
You have two mod create on Mcreator:
I want to make a Ruby sword that uses the Ruby ores of another mod via API (for the craft)
but I found an external functional api with mcreator Connected Texture Mod created by chisel team to connect texture of the same type configured by an MCMETA file of the mod block that uses the API

But @Klemen when will this be added can you give me a rough timeframe?

This is a friendly reminder for importing apis that aren’t build into mcr yet. Do not do it. It’s either complicated or doesn’t work at all. I’ve tried multiple ways to make RF work but no luck. Bc of the lock of the main Java file I can’t make it work as intended. So until we either get RF/FE support (RF and FE is the same power, after forge was allowed to implement RF into forge) or we get access to lock main file from being written/rewritten, until that we can’t make it work correct or at all. When either of that is happening I will make a tutorial on how to code the RF into you’re mod. In the case of it’s not getting added by code blocks :)

Look in the Custom Code Editor. Go to 

Minecraft Forge Source/energy/EnergyStorage.java

And U C the "energy" var on the right side.

I understand that this topic is active, but it was posted almost a year and a half ago, im just wondering if it is still being worked on or will be coming out soon, by the way im am not trying to come across as rude or anything im just curious. Anyways keep up the good work @pylo

So i know this might be a bit evil to do but i've actually gotten my own mod (made with Shadowmater435 as co-owner of the mod) to have RF and RF Cables.
Here: This is 50% made in MCR. I do use my own API to get my code easier to read so people can easier use it in their own mod.

People will properly h8 me bc of this now. But to Klemen and everyone else reading this the progress ShadowMaster435 and I have made is insane. Today i made our first RF connectable block! We know about the dev texture but the point was to get it to work at first. Have a look:1

my system? yes as of RF and FE is basically the same by now. And make energy pipes in mcreator properly wont be easy. My API makes it easy as you don't have do the hard coding stuff. thats already done for you. With my API you have to add max 3 java classes with a max of 12 lines of the main part and 30 lines max on the common proxy. Easy as is.

Hi, having a mcreator RF or FE system would be nice to make it work with other mods but you do know that you can use NBT data for a energy system already.

Currently I'm developing a tec mod atm using this system and it has worked very well once I got it working.

Yeah that wont work as you will expect. Bc for you to be able to take energy from RF/FE cables you will need "public boolean hasCapability(Capability<?> capability, EnumFacing facing) {" and "public <T> T getCapability(Capability<T> capability, EnumFacing facing) {" to get FE compatability. 

I have a question, will this be a new element, block option, or procedure? Not exactly sure on how it will be made.

I can tell that 2020.4 is gonna be a really good  update, adding things that people wanted for years :)

Amazing, can't wait to see what will the community do with forge energy :D

We will see a lot of same kind of mods. So, surely almost only a block to generate the energy, a cable and few blocks to use the energy like a custom furnace or block like this.

We will see a lot of same kind of mods.

Why so pessimistic? :)

I see many mods that are already awesome that will not be able to add the compatibility layer for other mods.

Also with the number of procedures I added for energy (I literally covered the whole API), I see many interesting things that could be done, not only blocks that store energy but many other concepts of energy such as resistance, remote energy with combination with global variables or some loops and much more :D

We will see a lot of same kind of mods

Well, you won't see anything like that from me, as you would need to be a genius to know how to work it ;) 

We will see a lot of same kind of mods.

Well, we might see a lot of very similar mods, but to add FE compatibility you probably have to know MCreator procedure system quite well so I doubt they will just copy each other.

I already imagine many mods adding different ways of generating and consuming energy. The worst thing it can happen is that the mods get theoretically different while actually being very similar, sharing the same concepts (just think of Industrialcraft, Thermal Expansion, Ender IO, etc.: they are very different but actually share the same ideas).

Also, there already are many mods that create advanced energy system by just using procedures, imagine what could they do with forge energy!

(and no, if you were asking, I will stay faithful to Red Mana XD)

(and no, if you were asking, I will stay faithful to Red Mana XD)

You could add some kind of proxy or converter block for users wanting to power your elements with FE generators. It would be great for modpacks :D

I might create an add-on which adds a block that turns FE into Red Mana and vice versa, thank you for the idea :D

50% is done now we need to have FE option added for Items and Tools xD

There seem to be sync problems with them. Capabilities sync fix is being worked on based on Forge's GitHub.