mojira.dev
MC-97527

Eating forever when blocking with shield

If the player is blocking with the shield and has food selected in their hotbar, when they get hit and the shield loses durability, they will start eating, but will never stop (and hunger will not be regenerated). Additionally, their shield will still be up and block attacks.

Steps to reproduce:
-Put a shield in your off-hand slot and have food in your hotbar. Make sure you're hungry and don't have the food selected.
-Start blocking, then switch your selected slot to food.
-Let a mob hit you (Note: the mob should be powerful enough to break the shield)

Linked issues

Attachments

Comments 4

Is this still an issue in the most recent versions (currently that is 1.10.2, or 16w42a) of Minecraft? If so, please update the affected versions and help us keeping this ticket updated from time to time.

issue seen in 1.13 pre-6

Fixed in 1.16.1 or earlier.

I also cannot reproduce the issue in the current version of Minecraft. Please comment if it's still occuring.

Austin Harman

(Unassigned)

Confirmed

(Unassigned)

Minecraft 1.9 Pre-Release 2, Minecraft 1.10.2, Minecraft 16w42a, Minecraft 1.11.2, Minecraft 1.13-pre6, Minecraft 1.13.1

Retrieved