Absloute maximum of enchantment levels using /give in Minecraft

//ads -- adsterra.com -- native banner
?>
So, what is the absolute maximum enchantment level possible in minecraft using /give or similar command. An enchantment table gives at best a level 5 enchantment for lots of levels. This will be a cool easter egg to put in resource packs.
Best Answer
The maximum enchantment level possible is 32,767, as this is the maximum value of the 16-bit integers.
Pictures about "Absloute maximum of enchantment levels using /give in Minecraft"



How do you get a level 255 Enchantment in Minecraft?
Steps to Reproduce:How do you enchant at level 1000 in Minecraft?
The standard syntax in Minecraft to create a 1000+ Sharpness weapon is "/give @p <item>{Enchantments:[{id:sharpness,lvl:<number>}]}" placed in the game's chat window. This command can also be applied to other items that can receive a Sharpness enchantment, such as an axe.How do you give enchantment levels?
If you just want to add levels instead, which is easier for enchanting, try \u201c/xp <amount>L [player]\u201d.How to get multiple *OP* enchants on an item!
Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.
Images: Mary Taylor, Ono Kosuki, Yan Krukov, RODNAE Productions