Enchants an item or a player while checking that the enchantment fits the item. Converts names to identifiers, respects anvil limits, and computes the levels, lapis and experience required.
The /enchant command enchants the item in a player's hand. An enchantment level cannot exceed its maximum — exceeding it makes the command fail.
Java Edition has a force parameter that lifts the cap, allowing things like Sharpness 10.
Argument order differs between Java and Bedrock, so picking the right edition matters.
Not every enchantment fits every item: a sword takes sharpness while an anvil takes durability, but never both on the same thing. The tool checks the compatible item list and warns when there is nothing to apply the enchantment to.
Choose the target and the enchantment.
Set the level — the tool won't let you exceed the maximum.
Enable force if you want to bypass the cap.
Copy the command.
That's how the enchantment system works: every enchantment has its own ceiling. Only the force parameter overrides it.
Check the edition selector. Bedrock takes the enchantment in a different position than Java, and mixing the order up causes an error.