COMMAND BUILDER
Minecraft /enchant Generator.
Enchants a held item of a player. Adjust settings below to instantly generate the correct syntax.
LIVE TERMINAL OUTPUT
Generated Minecraft Syntax
Copy and paste this output directly into your Minecraft game console (press T) or command blocks.
/give @s diamond 64
What this command does?
Enchants the currently held item of yourself (`@s`) with **sharpness**.
Documentation & Guide
About the /enchant Generator
The /enchant generator applies vanilla enchantments to the item currently held in a player's main hand.
How to Use This Generator
- Select the target player selector.
- Choose the enchantment from the autocomplete menu (e.g. sharpness, unbreaking).
- Select the enchantment level.
- Copy and run in chat with the item held in your main hand.
Parameters & Options Explained
Target
Player holding the item to enchant.
Enchantment ID
The namespaced enchantment (e.g. minecraft:sharpness).
Level
Level of the enchantment (bounded by vanilla survival limits).
Practical In-Game Example
Tested & Validated/enchant @p minecraft:sharpness 5Applies Sharpness V to the weapon currently held in the nearest player's main hand.
Java vs Bedrock Compatibility
Java Edition:Enforces vanilla enchantment rules; incompatible enchantments or levels above vanilla caps will be rejected.
Bedrock Edition:Works similarly, enforcing vanilla limits on held items.
Important Limitations & Rules
- The target must be actively holding the compatible item in their main hand.
- /enchant cannot exceed normal vanilla levels (e.g. Sharpness caps at 5; use /give for 32k items in Java).