Industrial-Revolution
Industrial-Revolution copied to clipboard
Slaughter / Chopper Tech reborn support
allows usage of energy based items Those items can't extract energy, so it should use SimpleBatteryItem.tryUseEnergy()
Well, it defines getEnergyMaxOutput as 0, so extract() does nothing... (or is there any other reason?)
It has already done with EnergyStorage.ITEM.find(itemStack, ContainerItemContext.withInitial(itemStack))
but it does not return null, it finds : but it can't extract and the only way to decrement its energy is with extract externally
Sounds like it would maybe make more sense to allow these items to extract energy? Instead of bypassing an implementation detail?
Yes, I'll try making pr in tech reborn side