Mekanism Induction Matrix getEnergy() and getEnergyCapacity() truncated in high values.
Roukurai opened this issue ยท 3 comments
Descripe
Calling the peripheral's .getEnergy() or .getEnergyCapacity() return value a capped value of 2147483647 making it unable to determine current energy levels or capacity above this.
Steps to reproduce
Attach Computer to induction matrix size.
Have either more energy or more capacity than 2147483647 and call the respecting method.
Value will be capped at 2147483647.
Version
0.6.7b (Latest)
Minecraft, Forge and maybe other related mods versions
31.1.31 forge minecraft 1.16.5
Screenshots or Videos
No response
Crashlog/log
No response
How did you wrap the peripheral? You need to use a peripheral proxy. See https://docs.srendi.de/peripheralproxy/getstarted/
As tip, in 0.7 you don't need a peripheral proxy anymore. You can directly connect the computer to supported blocks.