Add Enchantments to Selected Player Items
The /enchant command lets you add an enchantment directly to a player's currently selected item in Minecraft Bedrock Edition. You can pick the enchantment you want by typing its name or by entering its integer ID number.
Players use this command to quickly upgrade held items without finding an enchanting table or books. Since it is a Game Directors level command, you must turn on cheats in your world settings before it will work.
/enchant <player: target> <enchantmentName: Enchant> [level: int]Enchant player using enum
/enchant <player: target> <enchantmentId: int> [level: int]Enchant player using integer ID
| Argument | Type | What it means |
|---|---|---|
enchantmentId | int | An integer ID number for the enchantment that is applied to the selected item. |
enchantmentName | Enchant | The enum name for the specific enchantment that is applied to the selected item. |
level | int | An optional integer that sets the strength level of the enchantment. |
player | target | A player name string or target selector used to identify who gets the enchantment. |
/enchant @s sharpness 3Adds Sharpness level 3 to the item you are currently holding in your hand.
/enchant @p unbreaking 2Gives the nearest player's selected item the Unbreaking enchantment at level 2.
/enchant Steve mendingApplies Mending at its default level to the item held by a player named Steve.
/enchant @a efficiency 4Adds Efficiency level 4 to the currently selected item of every player in the world.
/enchant @r 0 1Enchants a random player's selected item using enchantment integer ID 0 at level 1.
/enchant Alex 15 5Applies the enchantment with integer ID 15 at level 5 to the item held by Alex.
In Minecraft Java Edition, the equivalent command is /enchant <targets> <enchantment> [<level>], which uses enchantment names rather than the integer ID form available in Bedrock Edition.
The /enchant command has a Game Directors permission level, which means Minecraft requires cheats to be turned on in the world before anyone can run it.
Yes, Bedrock Edition lets you use an integer ID in the enchantmentId argument instead of typing out the enchantment name.
No, the level argument is optional, so you can leave it out if you only want the basic level applied to the selected item.