Minecraft 1.20.5 pre-release 1 introduced a tooltip order tag for enchantments, which lists all enchantments in a specific order. The experimental datapack again lists all enchantments, with the experimental enchantments interweaved within the vanilla enchantments. However, the experimental datapack's tag does not replace the vanilla tag, leading to the tag containing all vanilla entries followed by the experimental entries.
The result is that experimental enchantments appear at the bottom of the tooltip, rather than mixed with vanilla enchantments as the tag would indicate.
To reproduce
1. Using a command block, give yourself a stick with all enchantments:
/give @p stick[minecraft:enchantments={aqua_affinity:1,bane_of_arthropods:1,binding_curse:1,blast_protection:1,breach:1,channeling:1,density:1,depth_strider:1,efficiency:1,feather_falling:1,fire_aspect:1,fire_protection:1,flame:1,fortune:1,frost_walker:1,impaling:1,infinity:1,knockback:1,looting:1,loyalty:1,luck_of_the_sea:1,lure:1,mending:1,multishot:1,piercing:1,power:1,projectile_protection:1,protection:1,punch:1,quick_charge:1,respiration:1,riptide:1,sharpness:1,silk_touch:1,smite:1,soul_speed:1,sweeping_edge:1,swift_sneak:1,thorns:1,unbreaking:1,vanishing_curse:1,wind_burst:1}]
2. Look at the stick's tooltip.
3. Observe that the wind burst, density, and breach enchantments appear last in the tooltip.
Thank you for your report!
After consideration, the issue is being closed as Won't Fix.
Please note that this is not the same as Working as Intended, as this bug report correctly describes behavior in the game that might not be the intended or desirable behavior, but it will not be fixed right now. Sometimes, this is because the issue reported is minor and/or impossible to change without large architectural changes to the code base.
Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support (Technical Issues) – 📧 Microsoft Support (Account Issues)
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki