Minecraft – Is it possible to disable the level cap for enchantment

minecraft-commandsminecraft-java-edition

I'd like to have higher levels of enchantment. Is it possible to turn of the level cap?

For example, if I put two Sharpness 5 books in an anvil, and get a Sharpness 6 book out.

Best Answer

I don't think you can completely disable the level cap, however I know you can exceed it.

If you don't want to go the whole “enchanted book” route you can use /give to get an item with almost any level of enchantment. The top limit is 32,767 before it has an overflow into negative numbers.

So if you are looking for a "command way" that can give you an enchanted item with a level you can do it like this:

In order to have a single enchantment on an item:

give yourname diamond_sword{Enchantments:[{id:fortune,lvl:10}]} 1

In order to have more than one enchantment on an item:

give yourname diamond_sword{Enchantments:[{id:knockback,lvl:10},{id:looting,lvl:10}]} 1

You can also find an expansive list of IDs on the Minecraft gamepedia.

Here’s a reference I used.