Feature Request: CC Tweaked Energy Capacity Integration
proferabg opened this issue ยท 0 comments
Version:
- Minecraft: 1.16.5
- Forge: 36.2.9
- Powah: 2.3.16
Issue description:
CC Tweaked getEnergy()
and getEnergyCapacity()
only return integer values. In this case it only returns Integer.MAX_VALUE
for capacities bigger than it.
Steps to reproduce:
CC Lua Code:
cell = peripheral.find("powah:ender_cell")
maxE = cell.getEnergyCapacity() or 1
curE = cell.getEnergy() or 1
print("Max: "..maxE)
print("Current: "..curE)
Is this a crash?
No.
Screenshot
Other Issue Possibly Referencing this - #123