Minecraft wiki entry for Enchanting, associated text: Enchantments that have multiple levels are shown with their maximum level numbers. Mutually exclusive enchantments can be combined using commands (e.g., /give @s bow{Enchantments:[{id:infinity,lvl:1},{id:mending,lvl:1}]} 1). Also, a player can exceed the maximum levels of enchantments (e.g., /give @s netherite_sword{Enchantments:[{id:fire_aspect,lvl:10}]} 1).