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

Unpickable item spawns after using /give, while running /data merge repeatedly

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • None
    • 1.18.1
    • None
    • Unconfirmed
    • (Unassigned)

      Steps to reproduce:

      1. Run execute as @e[type=item] run data merge entity @s {Age:1} on repeating.
      2. Use /give @p stone 1.

       

      Results:

      Expected: Gain the item. That's it.

      Observed: Gain the item, but an extra unpickable item spawned. It moved in the same way as pressing Q.

       

      Commands used:

      /give @p stone 1

      execute as @e[type=item] run data merge entity @s {Age:1}

      /data get entity @e[type=item,limit=1]

      /summon item ~ ~ ~ {Item:{id:"minecraft:stone",Count:1}}

      execute as @e[type=item] run data merge entity @s {Age:-1}

      execute as @e[type=item] run data merge entity @s {Fire:2s}

      execute as @e[type=item] run data modify entity @s Age set value 1

       

      Other things tried:

      • Set to Age:-1 instead of Age:1. Result: Bug
      • Use /summon instead of /give. Result: No bug
      • Try other tags (such as Fire, Air and Health). Result: No bug
      • Use /data modify instead of /data merge. Result: Bug
      • Run /give with a command block. Result: No bug
      • Use /data get to check the data. Result: PickupDelay is stuck at 32767s, even if I didn't touch that tag.

            Unassigned Unassigned
            YMbrothers Joshua Chan
            Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: