palladiumoptimizer-1.2.1
Curse Maven Snippet
What's new
1.2.1
- FPS – script HUDs only run when needed (client): HUDs made with KubeJS scripts (
PalladiumEvents.registerGuiOverlays) used to run in JavaScript every single frame, even when the player didn't have the power they draw. Now the exact same condition the script checks (ability enabled, superpower, power or scoreboard value) is evaluated in Java, and the script only runs when the player actually has that power/ability — the result on screen is identical.- 30 HUDs optimized: FSang18's Heroes (19), Into The Omniverse (3), Alien Evo (3), Omni Evo (4) and Satsu Iron Man Addon (1).
- Only HUDs that were proven to draw and change nothing when their conditions are false were optimized. HUDs with any other logic (e.g. color resets, Powerborne overlays) are left untouched.
- Each optimization only applies to the exact script version it was made for (checked by SHA-256 of the code KubeJS runs). If a mod updates its script, that HUD automatically goes back to working the original way.
- The log shows what was applied:
Script conferido(script matched),HUD otimizado(HUD optimized) orScript diferente do analisado(different version, left untouched).
- No files from other mods are modified.
All Relations
- All Relations
- Embedded Library
- Optional Dependency
- Required Dependency
- Tool
- Incompatible
- Include
This mod has no related projects

