mojira.dev
MC-197749

Inconsistency With Held Item's Attributes When Switching Between Mainhand/Offhand

When holding an item providing specific attributes, all attributes work as intended. When holding that item and pressing the key to switch to your offhand, all attributes stay and work as intended. However, only when switching the item from your offhand to your mainhand do the attributes not apply until the item is re-selected once again.

 

Recreation steps:

/give @s stone{AttributeModifiers:[{AttributeName:"generic.movement_speed",Amount:1,Operation:0,UUID:[I;-120711,2288,174939,-4576],Name:"generic.movement_speed"}]} 1

Hold item.

Press your "Swap Item With Offhand" key.

Notice that attributes are still applied.

Press your "Swap Item With Offhand" key once again.

Notice that attributes are no longer applied, until the item is re-selected.

 

Linked issues

Comments 1

Thank you for your report!
However, we are already tracking this issue, and this report is a Duplicate of MC-197632, which is a report that has not been resolved yet.

If you want, you can upvote the parent ticket, and enable watching to receive any updates about it - if you believe you have any information that may be important for this issue, please leave a comment on the parent. Please also use the search function in the future to prevent duplicate reports.

Quick Links:
📓 Issue Guidelines – 🛠 Community Support – 📧 Customer Support – ✍️ Feedback and Suggestions – 📖 Game Wiki
💬 Mojira Subreddit – 💬 Mojira Discord

b r

(Unassigned)

Unconfirmed

(Unassigned)

1.16.2

Retrieved