-
-
Notifications
You must be signed in to change notification settings - Fork 73
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
Powah Ender cell numeric clamping #642
Comments
hm fun, both of them should convert from long to double, not sure if this is powah's issue |
CC-Tweaked provides a The energy_storage equivalent is an int. Makes the following methods available:
|
Yeah that can be the problem |
I don't think there's a way I can call one specific implementation of it here. I can open an issue over with CC:Tweaked instead, but I'm not sure how they'd fix it without also directly supporting Powahs
|
in order to prevent the method conflict with CC:Tweaked's energy_storage generic peripheral resolve IntelligenceModding#642
Describe
The Powah mod makes it capable to store insane amounts of power, using
Ender Cells
The Powah manual states that an Energy Cell can hold up to 9E of power (Still not sure what the unit of measurement
E
is yet)However, the mod compatibility seems to clamp the read energy stored as an int.
As seen above though, the "MaxEnergy" is read correctly, at 2 trillion
I tested
type(cell.getMaxEnergy())
if it was actually being handled as a string, but it does saynumber
.Steps to reproduce
Ender Cell
and 2xEnergy Cell (Nitro)
(Capable of storing 2B power each)Multiplayer?
Yes
Version
1.20.1-0.7.40r (Latest 1.20.1)
Minecraft, Forge and maybe other related mods versions
NeoForge 47.1.101 Minecraft 1.20.1
Screenshots or Videos
No response
Crashlog/log
No response
The text was updated successfully, but these errors were encountered: