MineToolsminetools.cn · Minecraft Java Tools

All Enchantment Commands

Browse all 43 enchantments, their IDs, effects, maximum levels, compatible items, and incompatibilities. Generate /enchant commands or enchanted items with max-level or over-level enchantments (up to level 255) in one click.

Loading game data…

The enchantment command is /enchant <玩家> <附魔> [等级], for example, /enchant @s sharpness 5 applies Sharpness V to the sword in your hand. /enchant can only apply an enchantment to an item that supports it, and the level cannot exceed the maximum. To get over-level enchantments like Sharpness 10 or Protection 255, use the give command to create the item directly. This page lists the IDs, maximum levels, and applicable items for all enchantments.

Frequently Asked Questions

Why does the enchantment command say “Cannot enchant”?

`/enchant` requires that the item in your hand can have the enchantment, that it doesn't conflict with any existing enchantments (for example, Sharpness and Smite), and that the level doesn't exceed the maximum. If these conditions aren't met, use `/give` to add the enchantment directly to the item.

How do I get a weapon with max-level enchantments?

UseItem GeneratorChoose an item, select enchantments, and set them to the maximum level, or open an enchantment's page and copy the command for an “Item with max-level enchantment”.

What is the maximum enchantment level?

In vanilla Minecraft, the Enchanting Table and Anvil can only apply enchantments up to their maximum level (for example, Sharpness V). Commands can set enchantments up to level 255, but the effects of many enchantments stop increasing beyond a certain level.

How do I write a command for an Enchanted Book?

1.20.5 and later:/give @s enchanted_book[stored_enchantments={sharpness:5}]; 1.20.4 and earlier:/give @s enchanted_book{StoredEnchantments:[{id:"minecraft:sharpness",lvl:5s}]}。