5zig-reborn / 5zig-reborn/The-5zig-Mod

HUDCaching compat issue

Open
#147 0 comments 0 reactions 0 assignees View on GitHub
Compatibility
Dominant language
Java
Stars
111
Forks
12
PR merge metrics
No merged PRs in 30d

Description

There is this mod called HUDCaching that limits the framerates of HUD elements from all mods to 20 frames so the game can focus more on rendering the game.
However, 5zig shows the frames of its HUD rather than the game itself
So 5zip shows 20 FPS instead of 120 FPS

**What mod is causing it?**
This issue is caused by HUDCaching
https://github.com/Moulberry/MCHUDCaching

**Does the mod load?**
Yes
**Does 5zig load?**
Yes
**Which features of the mod don't work?**
None
**Which features of 5zig don't work?**
FPS counter
**Screenshots**
https://i.imgur.com/8I9X5dL.png
https://i.imgur.com/Lti7mjE.png

**Desktop (please complete the following information):**
- OS: [Ubuntu 20.10]
- Version [5zig-Reborn-1.8.9-b251]

**Additional context**
N/A

Contributor guide

No contributing guide indexed for this repository

Research direction

The issue is about the FPS counter in the 5zig mod incorrectly showing the HUD framerate (20 FPS) instead of the game framerate (e.g., 120 FPS) when HUDCaching is active. Look for the HUD rendering code, especially the FPS counter component. Check how the mod retrieves the FPS value—it may be reading from the wrong source. Test by running the mod with HUDCaching installed and verify the FPS display. Done when the FPS counter shows the game's actual framerate even with HUDCaching enabled.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
game-dev, performance
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.