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

Zero-level enchantments doesn't show in tooltips

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Works As Intended
    • None
    • 1.21.1
    • None
    • Confirmed
    • Commands, UI

      Zero-level enchantments doesn't show in tooltips like "[Enchantment name] enchantment.level.0".

       

      How to reproduce:

      1. Use commands to get zero-level enchantments like this:

      /give @s netherite_sword[enchantments={levels:{sharpness:0}}] 

      2. Watch its tooltips in inventory.

        1. 2024-08-12_13.30.26.png
          425 kB
          rdp7jdzkusvkvzll
        2. 2024-08-12_13.30.28.png
          423 kB
          rdp7jdzkusvkvzll
        3. image-2024-08-12-19-21-34-599.png
          423 kB
          BugTracker

            Unassigned Unassigned
            rdp7jdzkusvkvzll rdp7jdzkusvkvzll
            Votes:
            2 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: