BuildCraft|Core

BuildCraft|Core

7M Downloads

Add IBatteryObject to simplify third party integration with the energy API

SpaceToad opened this issue ยท 5 comments

commented

Following discussions with AlgorithmX2.

commented

I'm really ambivalent on this one. It's definitely a great candidate for @AEnterprise 's https://github.com/AEnterprise/Buildcraft-Additions - I'm not 100% sure for BC. I'm ready to be convinced though. How about opening a pool on the forum to gather feedback?

commented

@SpaceToad already have plants for MJ powered tools, not hard to make btw, just use some nbt tags for the power and a block to charge it

commented

SpaceToad what do you think about a BCBattery (Portable Version)?

https://www.dropbox.com/s/ebd94kmn1gs89xn/ItemBCBattery.java

commented

@SpaceToad what do you mean with IBatteryObject?
Maybe IBatteryProvider to existing machines?
Or split interface from MjAPI.BatteryObject to new IBatteryObject?

commented

@Prototik the last one, just provide an interface to MjAPI.BatteryObject