I was making custom items with commands when I realized certain attribute modifiers don't stack.
What I expected to happen was...:
I made two pieces of armor that should have each increased your max health by 1 additional heart (2 health), totaling to 2 additional hearts (4 health).
What actually happened was...:
I only received 1 addition heart (2 health) even while wearing both pieces.
Steps to Reproduce:
run the following commands to gain these items:
/give @p iron_leggings[attribute_modifiers=[{id:"max_health",type:"generic.max_health",amount:2,operation:"add_value",slot:"legs"}]] 1
/give @p iron_helmet[attribute_modifiers=[{id:"max_health",type:"generic.max_health",amount:2,operation:"add_value",slot:"head"}]] 1
wear both in survival or adventure mode.
Linked issues
Attachments
Comments 2
Thank you for your report!
We're tracking this issue in MC-16466, 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
-- I am a bot. This action was performed automatically! The ticket was resolved by one of our moderators, and I left this message to give more information to you.
⚠️ Please do not mark Unreleased Versions as affected. You don't have access to them yet.
-- I am a bot. This action was performed automatically! If you think it was incorrect, please notify us on Discord or Reddit