mojira.dev
MC-247888

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

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.

Comments 1

Thank you for your report!
We're tracking this issue as MC-99628, so this ticket is being resolved and linked as a duplicate.

That ticket has already been resolved as Won't Fix, which means this is considered a bug but won't be fixed. The description of that ticket or the comments might explain the rationale. Please do not leave a comment on the linked ticket.

If you haven't already, you might like to make use of the search feature to see if the issue has already been mentioned.

Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki
-- I am a bot. This action was performed automatically! The ticket was resolved by one of our moderators, and I left this message to give more information to you.

Joshua Chan

(Unassigned)

Unconfirmed

(Unassigned)

1.18.1

Retrieved