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

No datafixer for item AttributeModifiers UUIDs

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Resolution: Fixed
    • 20w12a
    • 20w13a
    • None
    • Confirmed
    • Datafixer
    • 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

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

              Dates

                Created:
                Updated:
                Resolved:
                CHK: