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

data modify doesn't append values to Items list of Inventories

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • None
    • Minecraft 1.14
    • None
    • Unconfirmed
    • (Unassigned)

      The Bug:

      When trying to append a NBT tag to the Items list of an Inventory, the NBT tag doesn't get appended and instead replaces the first element of the list

      Command I used:

      /data modify block ~ ~-0.5 ~ Items append value {id:"minecraft:apple",Count:13b}
      

      How to reproduce:

      -Stand ontop of inventory(chest,dropper,dispenser)
      -Execute Command multiple times

       

            Unassigned Unassigned
            JoeJoeTV JoeJoeTV
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: