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

'execute summon' behaves poorly with entity id 'minecraft:item'

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Works As Intended
    • None
    • 23w06a
    • None
    • Confirmed
    • Commands

      How to Reproduce:

      Execute the following command at your location.

      execute summon minecraft:item run data merge entity @s {Item:{id:"minecraft:stick",Count:1b}}

      Rather than receiving a stick, you get nothing. This is likely because the game notices that the item is air by default and deletes it before the run subcommand can do anything.

      What to Expect:

      I would expect 'execute summon minecraft:item' to summon an item that wouldn't get deleted until at least the end of the tick, so I can do what I will with it.

            Unassigned Unassigned
            Picarrow Picarrow
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: