mojira.dev
MC-86197

Shield blocking happens even while eating

The bug

Shield blocking happens even while eating in third person.

How to reproduce

  1. Put a shield in your off-hand, and food in your main hand

  2. When you are hungry, eat the food
    → ❌ You will eat the food, and your shield will come up to block

⚠️ This doesn't happen with inverse slot arrangement, mind you. Also appears to only be happening in third person, and it's more of a "partial block". Your arm doesn't go up all the way to block.

Code analysis

Code analysis by @unknown can be found in this comment.

Related issues

Attachments

Comments

migrated
[media]
SunCat

Confirmed for 16w06a

migrated

Is this still an issue in the latest snapshot 16w44a? If so please update the affected versions.

This is an automated comment on any open or reopened issue with out-of-date affected versions.

migrated

Confirmed for 1.13.1.

j_p_smith

Fixed in 1.16 Pre-release 8.

wobst.michael

Confirmed fixed.

migrated

(Unassigned)

Confirmed

(Unassigned)

Minecraft 15w33c, Minecraft 15w44b, Minecraft 16w06a, Minecraft 16w35a, Minecraft 1.11.2, ..., Minecraft 18w50a, 1.14.4, 1.15.1, 1.15.2 Pre-Release 1, 1.15.2

1.16 Release Candidate 1

Retrieved