-2

My initial idea was to detect when an Iron Chestplate is applied to the armor.chest inventory slot and to use /replaceitem to turn it to chainmail. I am not skilled enough with /execute /replaceitem /scoreboard /data or any higher level commands for any of this. Any ideas?

2
  • Your best bet here would probably just be to get a resource pack that makes iron armour look like chain mail, but you'd still have the same stats as iron at that point. I'm not at all skilled with complex commands, so I'm not sure I could help you there. Commented Aug 22, 2019 at 10:12
  • You can probably overwrite the recipe with a datapack. Interestingly, the wiki does not mention at all whether you can overwrite Vanilla recipes, but I assume you can. Commented Aug 22, 2019 at 11:05

1 Answer 1

1

Use this command in a repeat Command Block (1.13+):

/execute as @a[nbt={Inventory:[{Slot:102b,id:"minecraft:iron_chestplate"}]}] run replaceitem entity @s armor.chest minecraft:chainmail_chestplate 1

However, this will only work once the Iron Chestplate is placed in the player's armor slot.

2
  • Thank you very much! this was exactly what i needed Commented Aug 26, 2019 at 0:53
  • No Problem :) I Would appreciate if you marked it as Answer. Because I'm new and trying to get some reputation. Commented Aug 26, 2019 at 9:27

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.