mojira.dev

When you hit a mob while sprinting, you won't lose hunger until you stopped sprinting.

Linked issues

Comments

[MOD] Greymagic27

We do not have enough information to find the cause of this issue.

Please record a video of this happening and attach it to this report.
If you are on Windows, you can use Windows+Alt+R to open a built-in app for recording game footage.
If you are on Mac (Mojave or later), you can use Shift+Command+5 to open a built-in app for recording your screen.
In case you don't have a program to record videos, we recommend using the free recording software OBS.
In case the resulting video file is too large to be uploaded to the bug tracker directly, please upload it elsewhere (e.g. as unlisted video on YouTube) and link to it here.

This issue is being temporarily closed as Awaiting Response. Once the requested information has been delivered, the report will be reopened automatically.

Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki

migrated
Avoma

Hi there; thanks for the report. This ticket is a duplicate of MC-69459. Here's a little bit of context as to why this behavior is occurring.

Basically, when a player attacks an entity while sprinting, a desync occurs. Client-side the player continues to sprint, but server-side, the player stops sprinting and is instead registered as walking. Since walking doesn't cause food exhaustion, when the player hits an entity while sprinting, the server registers you as walking, therefore causing you to not lose hunger.

migrated

Here is some footage of the bug in action - This bug has existed since Minecraft version 1.7 all the way up to the latest version of Minecraft.

Footage is recorded on Minecraft version 1.19.2

 

 

Explanation of what is seen in the footage:

   - Hunger does not deplete if I hit an entity (in this case a mob) whilst sprinting with Sprint on "Toggle".

   - Bug is caused by the fact that the game thinks I am walking, and because of that, I can run and not lose hunger seemingly forever. It's only when I stop sprinting & start sprinting again that the hunger system recognizes that I am actually sprinting, & so it starts depleting my hunger accordingly.

 

Link to footage containing showing the issue:

https://www.youtube.com/watch?v=P0Bw9d9UtR8

 

  • as you can see at the end of the footage, my hunger only depletes after I start sprinting again. Bug is caused because the game thought I stopped sprinting after I hit the slime.

migrated

(Unassigned)

Unconfirmed

(Unassigned)

1.18.2, 22w14a, 22w15a, 22w16b, 22w17a, 22w18a

Retrieved