5

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.

3

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.

| improve this answer | |
  • 1
    That has nothing to do with the level cap. – Fabian Röling May 27 at 9:23
  • 1
    He was asking how to exceed the level cap for enchanted items. Anvils and enchanting tables can only get one so far. With the above these limitations can be worked around. – Jason_ May 27 at 21:23
  • I just noticed the sentence "I'd like to have higher levels of enchantment." in the question. So you're actually right. – Fabian Röling May 27 at 22:39
2

No, you cannot. The level cap is a set number in the code, so you would have to edit the code directly to take it out.

The best thing you could do would be to go into Creative mode, in which this limit does not exist, combine the items, remember the level cost, remove that amount of levels from yourself with a command like /xp add @s -100 levels and then go back into Survival mode. But this would also not prevent you from combining items if your XP level is too low, so you would need to be careful about that as well.
You could also completely re-implement the entire mechanic of combining items with commands, but that is a major project.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.