The Revitalizer won't Consume Energy
RenZichang opened this issue ยท 1 comments
Minecraft-1.19.2
Fabric-0.14.12
Vitalizer-1.1.1
The machine named Revitalizer only needs energy to start working, but once started it won't consume any energy at all.
Having the same issue on Forge. From a quick glance, the cause seems to be that the revitalizer is an InsertOnlyEnergyContainer which means the extractEnergy in blockEntity.getEnergyStorage().extractEnergy(blockEntity.getEnergyCost(), false); should be an internalExtract, or the container type should be different (line 146 of common/src/main/java/earth/terrarium/vitalize/blocks/SoulRevitalizerBlockEntity.java).
I've got no experience with this so I could be entirely wrong, but it seems like the bug is really that simple.