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

No datafixer for item AttributeModifiers UUIDs

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Fixed
    • Affects Version/s: 20w12a
    • Fix Version/s: 20w13a
    • Labels:
      None
    • Confirmation Status:
      Confirmed
    • Category:
      Datafixer
    • Mojang Priority:
      Very Important

      Description

      The bug

      When upgrading from 1.15.2 or 20w11a to 20w12a, item attribute modifiers are not datafixed to the new UUID format, rendering them broken.

      To reproduce

      In 20w11a:

      /give @p stone_sword{AttributeModifiers:[{Name:"generic.attackDamage",Operation:0,Amount:50,Slot:"mainhand",UUIDMost:1L,UUIDLeast:2L}]}
      

      Upgrade to 20w12a and check the sword: it no longer has extra attack damage because the NBT wasn't upgraded

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                panda4994 [Mojang] Panda
                Reporter:
                tryashtar [Mod] tryashtar
              • Votes:
                7 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  CHK:

                  Potential Duplicates