Minenash / CustomHUD

A highly customizable variable-based text HUD for Minecraft
MIT License
77 stars 23 forks source link

Gizmo variable does not render with mods like BadOptimizations #115

Open Pepsied-5229 opened 8 months ago

Pepsied-5229 commented 8 months ago

From the mod's description, BadOptimizations will not calculate data if the debug hud is not open/rendering in order to cut down on lag. So, I'm guessing that the {gizmo} variable is trying to retrieve data that isn't currently being calculated, as a result of the debug hud being closed.

Facing: |{gizmo}|

&2Facing&f | {gizmo -s1.5 -sh0,3} | &e({yaw},{pitch})
&a  {facing_towards_pn_sign}{facing_towards_xz}&f    |      | &a{facing -tc}

Using this profile I found in documentation, this is what I see. I can see part of the gizmo in the top left, however it is static and does not update when I look around. When I press F3 to view the debug hud, the debug gizmo works as intended. After I close the debug hud and the custom hud unhides, the gizmo did not update nor assume its last data (when in F3).

With BadOptimizations (mod): image

Minenash commented 3 months ago

Did you try this without the mod, I believe the bug is still there. This is fixed in the v4 betas which can be found in my discord server. Hoping to have it ready for a published release soon-ish though