mojira.dev
MC-304193

entity interaction range attribut don't work on spear

When modifying the player’s entity_interaction_range attribute—either directly or through an item modifier—the interaction range is affected as expected, but the attack range (both jab and charge attacks) remains unchanged.

Steps to reproduce:

  1. Set the player’s interaction range:

    /attribute @s minecraft:entity_interaction_range base set 100
    

    or
    Give a spear with a modified attribute:

    /give @a minecraft:netherite_spear[attribute_modifiers=[{type:entity_interaction_range,amount:100,operation:add_value,id:"1762916564286"}]]
    
  2. Try interacting with entities or villagers — interaction works up to the extended distance (e.g., 10 blocks).

  3. Attempt to attack (jab or charge) — the attack range remains unchanged.

Expected behavior:
Increasing entity_interaction_range should also extend the attack range for melee actions such as jab or charge.

Actual behavior:
Only the interaction range (e.g., right-click interactions) is affected. Attack range remains limited to the default distance.

Linked issues

Attachments

Comments 1

Thank you for your report!
We're tracking this issue in MC-302900, so this ticket is being resolved and linked as a duplicate.

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

If you haven't already, you might like to make use of the search feature to see if the issue has already been mentioned.

Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support (Technical Issues) – 📧 Microsoft Support (Account Issues)
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki

me1prono2

(Unassigned)

Unconfirmed

(Unassigned)

25w46a

Retrieved