Skip to main content

/enchant

Enchants the item held in a player's main hand. Only allows enchantments that are compatible with the held item and does not exceed the enchantment's maximum level.

Category
Player
Permission Level
Game Master
Version Added
1.0

Syntax

/enchant <targets> <enchantment> [<level>]

Parameters

NameTypeRequiredDescription
targetsentityRequiredThe player(s) whose held item to enchant.
enchantmentresourceRequiredThe enchantment to apply (e.g., sharpness, efficiency, protection).
levelintegerOptionalThe enchantment level. Cannot exceed the enchantment's max level. Defaults to 1.

Examples

/enchant @s sharpness 5

Enchants your held item with Sharpness V.

/enchant @p unbreaking 3

Enchants the nearest player's held item with Unbreaking III.

/enchant @s mending 1

Applies Mending to your held item.

Common Mistakes

Notes

This command respects enchantment compatibility rules. To bypass these restrictions, use /give with component syntax or /item modify to apply arbitrary enchantments.

Related Commands

Need a Minecraft server?

Try these commands on Astroworld or host your own server.

Try Astroworld Hosting