[Bug]: Both Model_Height and Hitbox_Height scale the Player Nameplate Causing it to Desync
EvionFox opened this issue ยท 0 comments
Minecraft version(s)
1.19.2
Minecraft version details
No response
Mod loader
Fabric
Mod loader version
0.14.12
Fabric API version
0.72.0+1.19.2
In what kind of world or server did the problem occur?
My singleplayer world
What went wrong? (Crash logs don't go here)
The player nameplate is being impacted by too many scales, causing it to change position far beyond what the player's scale is set to. For smaller players, the nameplate clips into them, and for large sizes, it disappears into the sky.
I've been trying to find a solution for the nameplate position problem for several months, and at least now I understand why it's happening. To demonstrate:
Image 1: https://i.imgur.com/vyZzu5E.jpg
Player model_height and model_width are set to .5. Hitbox and eye height are left alone.
Image 2: https://i.imgur.com/W38lOqY.jpg
Eye height is set to .5
Image 3: https://i.imgur.com/38hiFcg.jpg
Hitbox height is set to .5
And an example of player with scales set to 1.5: https://i.imgur.com/m7HF1mb.jpg
This also has the same results if Scale Base is used instead of separate scales.
This is an issue I encounter both on my multiplayer dedicated server, as well as singleplayer games.
My current test was run with a fresh install with:
Fabric API
Figura-0.1.0 rc.13 (for displaying own nameplate)
Origins 1.19.2 1.7.1
ExtraOrigins 1.19-2
Pehkui 3.6.3+1.14.4-1.19.3
I also ran the test without Origins and ExtraOrigins. And I ran another test removing Figura and using Name Pain and Mod Menu to display my nameplate instead. All had the same results.
I am hoping there is a way to change how hitboxes control the nameplate positioning. If it was just the model height that controlled the nameplate, it would be perfect.
Full list of installed mods and their version numbers
Fabric API 0.72.0
Figura-0.1.0 rc.13 (for displaying own nameplate)
Origins 1.19.2 1.7.1
ExtraOrigins 1.19-2
Pehkui 3.6.3+1.14.4-1.19.3
Did the problem cause the game to crash?
No.
Full crash report contents (if you experienced a crash)
No response