Minecraft /enchant command
Java EditionBedrock EditionSince 1.4.2
Quick answer: Enchants the item a player is holding. Syntax:
/enchant <target> <enchantment> [level]/enchant applies an enchantment to the item in the target player's main hand, respecting normal compatibility rules - you cannot add Silk Touch to a Fortune pick or Sharpness to a bow. It works beyond normal levels in Java only if the enchantment allows it.
Syntax
| Edition | Syntax |
|---|---|
| Java | /enchant <target> <enchantment> [level] |
| Bedrock | /enchant <player: target> <enchantmentName: Enchant> [level: int] |
Targets / arguments: players holding an enchantable item. Requires: Cheats enabled / operator level 2.
Examples
/enchant @s minecraft:sharpness 5Add Sharpness V to the sword in your hand
/enchant @p minecraft:unbreaking 3Unbreaking III on the held item
/enchant Steve minecraft:mendingMending on Steve's held item (level defaults to 1)
Tips
- The item must be in the main hand - offhand items are ignored.
- Fails silently when the enchantment is incompatible or the level is out of range; /give with NBT/components bypasses those rules in Java.