Mojira Archive
MC-126305

Execute Command Broken?

I wanna make a command which works when you hold a item and give to player a armor with a tag, but when I try to make it work, only the chestplate is not appearing on armor slot.

/execute @s[tag=Imp] ~ ~ ~ replaceitem entity @p slot.armor.chest minecraft:leather_chestplate 1 0 {Tags:["killitem"],Item:{id:"leather_chestplate",Count:1,tag:{jetpack:1b,display:

Resuming what I want to make: I want to make a command which add a armor to player when you hold a item, but this armor needs three tags: Imp, killitem and jetpack

Update: I tried this one, but it doesn't work anyway:
/execute @s[tag=Imp] ~ ~ ~ replaceitem entity @p slot.armor.chest minecraft:leather_chestplate 1 0 {tag:{jetpack:1b,display:,Item:{id:"leather_chestplate",Count:1}}}}

Invalid

Julio Arduini Neto

2018-02-24, 06:21 PM

2018-02-24, 06:59 PM

2018-02-24, 06:30 PM

0

0

Unconfirmed

Minecraft 1.12.2

-