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

Command blocks wont spawn items with attributes

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • None
    • 20w22a
    • None
    • provided in photos
    • Unconfirmed
    • Creative
    • (Unassigned)

      while experimenting with the /give command i was unable to give the player a item that had attributes attached to it, the first photo was the item generated in 1.15 and the second item has been generated in the latest snapshot 20w22a

      here is the line of text put into the command block generated by a website because its messy but quick.

      /give @p stone{AttributeModifiers:[{AttributeName:generic.maxHealth,Amount:20,Operation:0,UUIDLeast:151462100,UUIDMost:99,Name:generic.maxHealth},{AttributeName:generic.maxHealth,Amount:20,Operation:0,UUIDLeast:151462200,UUIDMost:99,Name:generic.maxHealth}]} 1
      

            Unassigned Unassigned
            OUTFORBLOOD Nick
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: