TransWikia.com

What is the max enchantment level using commands?

Arqade Asked by PikachuPopcorn on July 29, 2021

What is the highest level of enchantment that is possible to obtain?

Note that I am not talking about the maximum effective enchantment level, I am talking about the maximum number that can be displayed (or attempted to display) on the tooltip, regardless of whether said enchantment would function at that level.

If you are looking for the maximum effective enchantment level, please see this question.

5 Answers

1.13+ players, please see the other answer.

1.12−

Enchantment levels are saved as a Short, with a minimum of -32,768 and maximum of 32,767.

/give @p minecraft:stone 1 0 {ench:[{id:16s,lvl:32767s}]}

You can find further information on the NBT format here.

Correct answer by Skylinerw on July 29, 2021

Well it is basically (not?) infinite! You can make a weapon so powerful that it could kill it instantly (if you have sharpness)! Here is the command for an example /give @a minecraft:diamond_sword 1 0 {ench:[{id:16s,lvl:1000}]}

Answered by user144609 on July 29, 2021

The maximum enchantment level is actually 2177548418058. Try the following command:

/give @p diamond_sword{Enchantments:[{id:"sharpness",lvl:2147483647}]}

Answered by DeathCC on July 29, 2021

2177548418058

Try:

/give @s netherite_sword{Enchantments:[{id:"sharpness",lvl:2177548418058}]}

You can also add multiple enchantments:

/give @s netherite_sword{Enchantments:[{id:"sharpness",lvl:2177548418058},{id:knockback,lvl:2177548418058}]}

All you need to do is put a comma and put another enchantment, as shown above.

Answered by qwertyCTRL on July 29, 2021

Maximum displayable enchantment level

This answer shows the maximum enchantment level that can be displayed on the item tooltip. See this answer for the maximum effective enchantment levels.

1.17+ Update

From the Minecraft Wiki:

lvl: The level of the enchantment, where 1 is level 1. Values are clamped between 0 and 255 when reading.

This means that the maximum enchantment level is 255. Affix an s to the end of the number to mark it as a Short tag, to take up the least memory.

1.13+ Update

From the Minecraft Wiki:

lvl: The level of the enchantment, where 1 is level 1. Saved as short when created by enchanting tables or loot tables, but read as an int and supports full int range.

In layman's terms, the Survival means like loot tables, anvils, and enchanting tables save the number as a Short, but when they are actually applied to items, they are read as an Integer.

Therefore, you don't need to stick to the Short data type just because that is what the enchantment tables use. You are allowed to use the Integer data type because that is how the enchantment levels are read.

The maximum integer is 2,147,483,647.

/give @s netherite_sword{Enchantments:[{id:"minecraft:sharpness",lvl:2147483647}]}

Side notes...

  • Some users are suggesting that higher enchantment levels are possible, like 2,177,548,418,058. These numbers are from Phoenix SC's video, where the title is "Duplicating OP Enchantments in Minecraft". This shows that the big number was only obtained by stacking enchantments, and is not the maximum level of a single enchantment. You can do what they did and stack your enchantments to obtain higher levels.
  • Do note that attempting to exceed the maximum enchantment level using commands will not return an error, but note that the item you receive will have the enchantment level 0. This is because the invalid numbers become strings when inputted incorrectly, and because Minecraft is looking for an integer in the level, it does not register the number because it is a string!

Answered by ExpertCoder14 on July 29, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP