Minecraft Java · 1.16+
/enchant
Enchant the items held by players using the selected Java version.
What gets enchanted
The command acts on the selected target’s main-hand item.
Choose the level
Minecraft checks the maximum level and compatibility with the item.
Why an enchantment may fail
Check the held item, the version, and any conflicts with existing enchantments.
FAQ Frequently asked questions 30 questions
Essential questions 5
What does /enchant do?
It adds a compatible enchantment to a held item while respecting ordinary Minecraft enchantment restrictions.
How do I enchant an item in my hand?
Hold a compatible item in your main hand and execute /enchant @s with the required identifier and level.
Can I enchant any inventory item?
The ordinary command works with a held item rather than an arbitrary inventory slot.
Can every item receive any enchantment?
No. The target item must support the selected enchantment under normal game rules.
How is /enchant different from /give?
/enchant modifies an existing item, while /give creates a new one. /enchant enforces normal compatibility rules.
Syntax and arguments 5
What is the complete /enchant syntax?
Java Edition uses /enchant <targets> <enchantment> [level]. The level argument is optional.
What does the targets argument mean?
It specifies the entities whose held items will be inspected and enchanted.
How do I specify an enchantment name?
Use its registered identifier, such as minecraft:efficiency, rather than a translated display name.
What happens when the level is omitted?
The command defaults to level I when the item and other requirements are valid.
Can I exceed the normal maximum level?
No. /enchant enforces the specific enchantment's normal maximum and rejects excessive levels.
Practical examples 5
How do I add Efficiency III to a pickaxe?
Hold a compatible pickaxe and run /enchant @s minecraft:efficiency 3 when its requirements are satisfied.
How do I apply Sharpness V to a sword?
Hold a compatible sword and run /enchant @s minecraft:sharpness 5 if no conflicting enchantment is present.
How do I add Unbreaking III?
Run /enchant @s minecraft:unbreaking 3 while holding an item that can receive that enchantment.
How do I add Protection IV to armor?
Hold a compatible armor item in your main hand and run /enchant @s minecraft:protection 4.
How do I add Fortune III to a pickaxe?
Run /enchant @s minecraft:fortune 3 while holding a compatible pickaxe without conflicting Silk Touch.
Advanced usage 5
Can I add multiple enchantments?
Yes. Run separate commands for each compatible enchantment on the held item.
Why can Fortune not combine with Silk Touch?
These enchantments conflict under normal Minecraft rules, so /enchant rejects that combination.
Can Sharpness and Smite be combined?
The ordinary command does not allow these conflicting damage enchantments on the same item.
Can I enchant another player's item?
Yes, provided the player is available, holds a compatible item and the executor has sufficient permissions.
Can /enchant be used with /execute?
Yes. /execute establishes execution context, but the normal target and item requirements still apply.
Troubleshooting 4
Why is the enchantment incompatible?
The item may not support that enchantment under game rules. Check the item type and selected identifier.
Why does the command fail with an empty hand?
Normal enchanting requires a compatible held item. Place the intended item in your main hand.
Why is the enchantment level rejected?
The number may be below one or above the permitted maximum. Check the valid range for the enchantment.
Why is a second enchantment not added?
It may conflict with an existing enchantment or fail to improve the same enchantment's current level.
Minecraft versions 3
Can I use old numeric enchantment IDs?
Modern Java Edition uses textual enchantment identifiers. Legacy numeric IDs are not valid.
What changed after Java 1.20.5?
Items adopted a new component system relevant to /give. Ordinary /enchant still checks compatibility.
Are enchantments identical in Java and Bedrock?
Some enchantments and command behavior may differ between Minecraft editions and versions.
Permissions and safety 3
What permission level does /enchant require?
Java Edition normally requires permission level 2. Item modification access should be controlled on servers.
Can I accidentally alter a valuable item?
Yes. An unwanted enchantment can be applied. Check the intended item and command parameters first.
How can I test an enchantment safely?
Use a duplicate item in a test world. Avoid experimenting on your only valuable copy.
Rate this tool
Did this tool work for you? Tell us what went well or what could improve.
Sign in to leave a review