#Whats wrong with this command

1 messages · Page 1 of 1 (latest)

lean orioleBOT
#

/give Ad![r1](https://cdn.discordapp.com/emojis/1100839366005358692.webp?size=128 "r1")![r2](https://cdn.discordapp.com/emojis/1100839228792901752.webp?size=128 "r2")![r3](https://cdn.discordapp.com/emojis/1100839175361671309.webp?size=128 "r3") netherite_chestplate[item_name='"Double-stacked Netherite Chestplate"',rarity="epic",enchantments={levels:{"minecraft:protection":4,"minecraft:mending":1,"minecraft:unbreaking":3}},attribute_modifiers=[{id:"max_health",type:"generic.max_health",amount:4,operation:"add_value",slot:"chest"},{id:"armor",type:"generic.armor",amount:8,operation:"add_value",slot:"chest"},{id:"armor_toughness",type:"generic.armor_toughness",amount:3,operation:"add_value",slot:"chest"},{id:"knockback_resistance",type:"generic.knockback_resistance",amount:1,operation:"add_value",slot:"chest"}],trim={material:"minecraft:redstone",pattern:"minecraft:silence"}] 1

Im trying to give the player a netherite chestplate with regular attribs but with +4 max health but for some reason 1.21 is probably bugged or smth and is making it so that the regular attribs are wiped when adding a new one

Does anyone have an idea how this can be restored whilst adding +4 max health and having the custom name Double-stacked Netherite Chestplate, epic rarity and redstone silence trim

viscid finchBOT
#

<@&1201956957406109788>

Someone will come and help soon!

💬 While you wait, take this time to provide more context and details.

🙇 If nobody has answered you by <t:1721942416:t>, feel free to use the Summon Helpers button to ping our helper team.

✅ Once your question has been resolved (or you no longer need it), please click Resolve Question or run /resolve

#
⚠️ You already have a question open!

Don't forget to close or resolve your old questions once you're done with them. It makes our lives much easier! :D

Open question: #1265097354030219324

frosty palm
#

fyi i just closed the question in question

heady dagger
#

1.21 isn't bugged, for starters

#

So for clarity, right now it's not giving any attribute modifiers, yes?

frosty palm
#

yup

heady dagger
#

The IDs for the attribute modifiers need to be namespaced

frosty palm
#

ok

#

so how do i do that sorry

heady dagger
#

Instead of max_health do <namespace>:max_health, where <namespace> is your namespace

frosty palm
#

oh really

#

thanks

#

that didnt make any difference

#

for reference im using mcstacker

#

its giving me the health attrib but nothing else

frosty palm
#

can anyone help

heady dagger
frosty palm
heady dagger
#

That's what you're currently doing

#

That's what attribute modifiers are

frosty palm
heady dagger
#

You are adding to attributes

frosty palm
#

idk what you mean by that sory

heady dagger
#

Edited, somehow my words got switched up

frosty palm
#

ah ok thanks

frosty palm
heady dagger
#

No

frosty palm
#

hmm

#

is it possible if you can try making a command similar to see if it happens for you

heady dagger
#

Not anytime soon, I'm out of state

frosty palm
#

all good nw