I want to with every command add one enchantment level like this:
/replaceitem entity {player} slot.armor.head chainmail_helmet 1 0 {ench:[{id:0,lvl:+1}]
Level: +1
Or
If I have a helmet with protection: 1, after the command it should be protection: 2.
Can you help me?
Best Answer
you can do it, but it will need multiple command blocks, first of all, you will use testfor for example
that's if you want it for an item, but if you want it for a piece of armor try this
after using the testfor in a repeat command block that is always active and nonconditional then put in front of it a chain command block that is conditional and always active and then write inside of it
and if it had level 2 repeat the steps mentioned up, just replace the first command(for the armor) enchantment from 1 to X(the level you want) and the second command from 2 to X+1