mojira.dev
MC-305025

Spear attack hitbox interferes with entity interactions

Steps to Reproduce:

  1. Stand right next to a Villager

  2. Right-click the Villager with a Spear in your mainhand

  3. Move slightly further away from the Villager and repeat Step 2

Observed Results:  

Right-click mob interactions only work when the player is far enough from the mob for the Spear to deal damage.

Expected Results:  

Right-click mob interactions use the same hitbox as when not holding a Spear and still work when the player is “too close” to attack with their held item.

Linked issues

Comments 2

This animation also incorrectly plays when a Spear ie being held and the player is throwing other items out of their inventory.

Hi!
Thank you for your report! 

We're already tracking this issue at MC-304551 , so I will resolve and link this ticket as a Duplicate

I suggest also to browse through the main issue for potential fixes. 

If you would like to add a vote and any extra information to the main ticket it would be appreciated. 

Quick Links
📓 Issue Guidelines – 💬 Mojang Support – 📧 Suggestions – 📖 Minecraft Wiki

Entityyy

(Unassigned)

Unconfirmed

(Unassigned)

1.21.11

Retrieved