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

No datafixer for item AttributeModifiers UUIDs

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • 20w13a
    • 20w12a
    • None
    • Confirmed
    • Datafixer
    • Very Important

      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

            panda4994 [Mojang] Panda
            tryashtar [Mod] tryashtar
            Votes:
            7 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: