← Back to Command Directory ← Back to Home

/enchant

Adds an enchantment to the item a player is holding.

Syntax

/enchant <target> <enchantment> [level]

Parameters

NameRequiredDescription
targetYesPlayer to enchant an item for.
enchantmentYesEnchantment identifier.
levelNoEnchantment level.

Examples

/enchant @p minecraft:sharpness 5

Notes

Version Differences

Available in both Java and Bedrock editions.

Related Commands