mojira.dev
MC-276024

"minecraft:post_attack" effect doesn't function properly when applied to any slot other than mainhand

I attempted to create a custom enchantment that functions like Fire Aspect but instead of it being for a Weapon, it's for a Chestplate. Instead of functioning like I expected it to, It does nothing. Changing the "slot" to "mainhand" causes it to work. I have the enchantment file attached

Linked issues

Attachments

Comments 2

Have you created any data packs with the enchantment? If so, please attach it to the report.

Thank you for your report!
We're tracking this issue in MC-274538, 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

Spencebe11

(Unassigned)

Unconfirmed

(Unassigned)

1.21.1, 24w34a

Retrieved