-
Bug
-
Resolution: Invalid
-
None
-
1.16.5
-
None
-
Windows 10, Java version 8 Update 291
-
Unconfirmed
-
(Unassigned)
This issue happens when the hunger value of a food item is reduced to 0 for a player while not being 0 in the base code. (usually this happens when a mod changes food values for a specific player and not the server).
When a player eats a food item meeting the above conditions, the server properly registers that the food restored 0 hunger but the client instead shows that the normal unmodified hunger value was restored. The reason for this seems to be because the server doesn't know it needs to validate the client's food bar since from its end no hunger values were changed even though food was eaten. The client then only updates when either something else changes the player's food value server side (like exhaustion) or is dealt starvation damage.
This bug was discovered using Fabric Loader with the Origins Mod
Note that this is a synchronization issue with Minecraft server/client, not an issue from the mod. This bug happens when any situation meets the above criteria.
If you want to test with the specific Origins datapack that was tested and checked by both Origin Datapack developers and the Origins Mod developers to see how the bug works, please contact me.