
Making a mod that uses RF + compatibility
Quatroctus opened this issue ยท 5 comments
Issue Description:
Using the energy capability system provided in forge for Minecraft version 1.10.2 and forge version 1.10.2-12.18.3.2202. It seems that I can only insert energy and can't extract from any of them. I expected to be able to extract from generators and capacitors. Note this also is the case with the RF API. I can provide the code I am using to attempt this if necessary.
To reproduce
- Setup the forge workspace for a new mod or use an existing one.
- Create a block that accesses the Energy capability from an adjacent TE either a generator or capacitor.
- After accessing it try to extract from it.
- EnderIO: 1.10.2-3.1.156
- EnderCore: 1.10.2-0.4.1.62-beta
- Minecraft: 1.10.2
- Forge: 1.10.2-12.18.3.2202
It is push based - the generators and cap banks will push energy to your block.
What if my block is just supposed to interface with it to move the energy and not store it? I assume it is not possible.
The pull-based part in the RF API was always a cause for many bugs - it is good that this is now gone.