HBM Producer not outputting through cables #16

Open
opened 2024-06-25 20:29:59 +02:00 by tilera · 0 comments
Owner

While 1b905bb5c4 fixed #14 it introduces a new bug, that the energy produced by the HBM producer is not transfered through cables, but just directly to tiles implementing IEnergyHandlerMK2. This is caused, because the algorithm used for the energy conversion expects, that the energy already got transfered from the subBuffer after tryProvide was called, which is still true for tile entities implementing IEnergyHandlerMK2, but not for cables since the new energy system. This bug has the same cause as HBM#1555, since the HBM producer uses the same algorithm as the official RF to HE converter, just with an extra step to make sure, that no energy is duped, which results in different symptoms than that issue.

While 1b905bb5c472fbbf79bad2dd01d55e2a46cac9bd fixed #14 it introduces a new bug, that the energy produced by the HBM producer is not transfered through cables, but just directly to tiles implementing `IEnergyHandlerMK2`. This is caused, because the algorithm used for the energy conversion expects, that the energy already got transfered from the `subBuffer` after `tryProvide` was called, which is still true for tile entities implementing `IEnergyHandlerMK2`, but not for cables since the new energy system. This bug has the same cause as [HBM#1555](https://github.com/HbmMods/Hbm-s-Nuclear-Tech-GIT/issues/1555), since the HBM producer uses the same algorithm as the official RF to HE converter, just with an extra step to make sure, that no energy is duped, which results in different symptoms than that issue.
LordMZTE was assigned by tilera 2024-06-25 20:30:13 +02:00
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: Anvilcraft/pccompat#16
No description provided.