Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The Revitalizer won't Consume Energy #5

Open
RenZichang opened this issue Jan 11, 2023 · 1 comment
Open

The Revitalizer won't Consume Energy #5

RenZichang opened this issue Jan 11, 2023 · 1 comment

Comments

@RenZichang
Copy link

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.

@asantmier
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants