Bottle o Enchanting

Minecraft Enchant Command Generator

The /enchant command validates its input: it refuses levels above the vanilla maximum, enchantments the held item cannot take, and pairs that conflict. That makes it the safe choice for survival-legal gear, and the wrong tool for Sharpness 1000 — which is written with /give instead.

  • Target selector, enchantment id and level
  • Applies only to the item the target is holding
  • Clear guidance on when to switch to the Give generator for over-max levels

Read the matching guide

Example commands

Max legal Sharpness

/enchant @p minecraft:sharpness 5

Level V is the vanilla cap -- the highest /enchant accepts on a held sword.

Efficiency on the held tool

/enchant @p minecraft:efficiency 5

/enchant validates the target item -- it only applies to what the player is holding.

Mending for the whole team

/enchant @a minecraft:mending 1

Selectors work like any command: @a enchants every player holding a compatible item.

FAQ

Why can I not enchant Sharpness 1000 with /enchant?

/enchant validates its input and rejects any level above the vanilla maximum. For over-cap levels like Sharpness 1000 you must use /give with the enchantment written into the item instead — the generator points you to the Give tool for that.

Why does /enchant say the item cannot be enchanted?

/enchant only applies enchantments that are valid for the item the target is currently holding, and it refuses conflicting pairs (like Silk Touch with Fortune). Hold a compatible item, or use /give to force any combination.

Does /enchant apply to the held item or the whole inventory?

Only the item in the main hand of the target selector. Switch the held item first, then run the command; it will not touch armor or off-hand items.

What is the highest level /enchant allows?

The vanilla cap for that enchantment — for example Sharpness V, Efficiency V, Protection IV. Anything higher is over-cap and needs /give.