Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-270574

Experimental enchantment tooltip order appends vanilla order, leading to experimental enchantments appearing last in tooltips

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • None
    • 1.20.5 Pre-Release 1
    • None
    • Confirmed
    • Commands

      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.

            Unassigned Unassigned
            haykam haykam
            Votes:
            6 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: