Tech Reborn

Tech Reborn

30M Downloads

[1.12+] Allow discharging IC2 items

OneEyeMaker opened this issue ยท 1 comments

commented

Hello.
Mostly, the title says it all. Energy containers (and other machines) of this mod allow charging IC2 items, but not allow discharging.
It can be done simply, because IC2 API (find it on Jenkins) provides such methods (check ic2.api.item.IElectricItemManager). Just by adding similar helper method:
https://github.com/TechReborn/TechReborn/blob/1.12/src/main/java/techreborn/utils/IC2ItemCharger.java#L34

If there are reasons, why this functionality isn't implemented, please mention ones.
And thank you for your mods!

commented

Yeah, that should be possible.