Energy capacity display overflow in Integrated Dynamics batteries
James103 opened this issue ยท 1 comments
Issue type:
- ๐ Bug
Short description:
When many Integrated Dynamics batteries are crafted together then stacked, eventually, the energy capacity display in the tooltip may overflow as shown below:
Working (4 batteries, capacity 512 MFE each):
Broken (5 batteries, capacity 512 MFE each):
Steps to reproduce the problem:
- Get at least 2,560 (ideally: 4,096) Integrated Dynamics batteries of their base capacity.
- Craft them, 8 for 1, into at least 320 Integrated Dynamics batteries, each with a capacity of 8 MFE.
- Craft the batteries again, 8 for 1, into at least 40 Integrated Dynamics batteries, each with a capacity of 64 MFE.
- Craft the batteries again, 8 for 1, into at least 5 Integrated Dynamics batteries, each with a capacity of 512 MFE.
- Stack 4 of the resulting batteries in one stack. Notice in the tooltip that the capacity is the correct 2.048 GFE.
- Add the remaining battery to the stack, making 5 in total. Notice in the tooltip that the capacity has changed to -1.734 GFE instead of the expected 2.560 GFE.
Expected behaviour:
Having five or more of those big (512 MFE) batteries in a stack should show the correct energy capacity of 2.560 GFE (displayed as "2,560,000,000 RF" in the tooltip).
Versions:
- Integrated Dynamics: 1.18.2-1.10.18
- Common Capabilities: 1.18.2-2.8.2
- Cyclops Core: 1.18.2-1.13.6
- Minecraft: 1.18.2
- Forge: 40.1.31