Updated:
Sweeping Edge: enchantment ID and commands
The enchantment ID for Sweeping Edge is minecraft:sweeping_edge. Increases the damage of sweep attacks in Java Edition. Up to Java 1.20.4 the ID was minecraft:sweeping. Use the old ID on older versions.
Basic data
| Name | Sweeping Edge |
|---|---|
| ID (Java Edition) | minecraft:sweeping_edge |
| Java versions | Java 1.20.5 and later |
| Bedrock 26.52 | This ID is not accepted as is |
| Max level (normal) | 3 |
| Example item | Diamond Sword |
Commands you can copy
Java Edition
Enchant the held item
/enchant @p minecraft:sweeping_edge 3Give an item with it (Java 1.21+)
/give @p minecraft:diamond_sword[enchantments={"minecraft:sweeping_edge":3}] 1Give the enchanted book (Java 1.21+)
/give @p minecraft:enchanted_book[stored_enchantments={"minecraft:sweeping_edge":3}] 1Make it level 255, above the normal limit (Java 1.21+)
/give @p minecraft:diamond_sword[enchantments={"minecraft:sweeping_edge":255}] 1Java 1.20.5 to 1.20.6 form
/give @p minecraft:diamond_sword[enchantments={levels:{"minecraft:sweeping_edge":3}}] 1Java 1.20.4 and earlier form
/give @p minecraft:diamond_sword{Enchantments:[{id:"minecraft:sweeping",lvl:3}]} 1Bedrock Edition
Bedrock does not accept this ID. Check the Bedrock form with the Java / Bedrock converter.
Version notes
Up to Java 1.20.4 the ID was minecraft:sweeping. Use the old ID on older versions.
The /give form for enchantments depends on the version. Java 1.20.5 and later use [enchantments={…}]; 1.20.4 and earlier use {Enchantments:[…]}.
Questions
What is the ID for Sweeping Edge?
It is minecraft:sweeping_edge. In commands you can also write sweeping_edge without minecraft:.
What is the max level of Sweeping Edge?
Normally 3. With /give you can set up to 255.
Why does /enchant fail?
/enchant only works when the held item supports the enchantment and the level is within the normal limit. Use /give for higher levels or for items that cannot normally take it.