Setenchantmentlevel - RedWirePlatinumTwo/RedWiresMinecraftMod GitHub Wiki
Parameters
[lvl]
- The number to change the enchantment level(s) to.
Optional Parameters
[enchantid]
- The specific enchantment to modify. If not specified, will change all enchantment levels instead.
Description
- Modifies the enchantment level(s) of the item in your-mainhand to
[lvl]
.
- Requires cheats: yes.
Change History
- 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
.