-
Notifications
You must be signed in to change notification settings - Fork 0
Setenchantmentlevel
RedWirePlatinumTwo edited this page May 10, 2026
·
4 revisions
-
[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:sharpnesscan be written as justsharpness. - 11.1.7: Performance-wise, /setenchantmentlevel with a specific enchantment ID will no longer loop through the entire enchantment registry for each applied enchantment on the item in main-hand as that was pretty redundant.