SetEnchantmentLevel - RedWirePlatinumTwo/RedWiresMinecraftMod GitHub Wiki
-
[lvl]
- The number to change the enchantment level(s) to.
-
[enchantid]
- The specific enchantment to modify. If not specified, will change all enchantment levels instead.
- Modifies the enchantment level(s) of the item in your-mainhand to
[lvl]
.
- Requires cheats: yes.
-
5.4.0: Introduced command.
-
5.4.9: Slightly changed
[enchantmentid]
so that the string id no longer needs to be quoted.
-
6.0.0: The namespace for an enchantment id is no longer required. For example,
minecraft:sharpness
can be written as just sharpness
.
⚠️ **GitHub.com Fallback** ⚠️