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

Swords do not properly display attack damage when given an enchantment higher than the default max level.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • None
    • 1.21 Pre-Release 2
    • None
    • Java Edition, Windows 10
    • Unconfirmed
    • (Unassigned)

      Steps to reproduce

       

      1) Use command to obtain a diamond sword with an enchantment higher than a default max enchantment.

      /give @p minecraft:diamond_sword[enchantments={levels:{"minecraft:sharpness":20}}] 1 
      • The sword still does damage correctly but the "attack damage" text used to show how much damage a sword would do with custom enchantments. Now only shows the default damage on that weapon when enchanted with sharpness higher than the default max.

            Unassigned Unassigned
            WeswePengu WeswePengu
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: