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

Actively editing the age data of dropped items and using /give will give two items

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • Minecraft 1.13, Minecraft 1.13.1, Minecraft 1.13.2-pre2, Minecraft 1.13.2, Minecraft 18w43b, Minecraft 18w43c, Minecraft 18w44a, Minecraft 18w45a, Minecraft 18w48a, Minecraft 18w48b, Minecraft 18w49a, Minecraft 18w50a, 20w51a, 1.16.5, 21w06a, 21w08b, 1.20.5 Pre-Release 4
    • None
    • Confirmed
    • Commands

      How to reproduce

      Paste the following command in an always active repeating command block:

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

      Now use the /give command to give yourself one of anything:

      /give @p minecraft:stone 1
      

      Expected behavior is that the player will be given one of that item. What really happens is that the player is given the item as specified in the /give command, but there is also plus one more dropped on the floor than what they asked for. In this case, the player was given two stone and not one.

            Unassigned Unassigned
            onepointzero OnePointZero
            Votes:
            3 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              CHK: