-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?

  • 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. – ZachTalonGamesYT Aug 22 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. – Fabian Röling Aug 22 at 11:05
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.

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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