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

Thrown projectiles (snowballs/eggs) do not correctly use new "entity_data" data component

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Awaiting Response
    • None
    • 1.21.1
    • None
    • Unconfirmed
    • (Unassigned)

      entities with spawning items (such as armor stands) can no longer inherit NBT tags from the item, and instead use the "entity_data" component to specify NBT data explicitly. Thrown items, however, such as eggs and snowballs, do not benefit from this. 

      To confirm that armor stands etc use "entity_data" as intended: 
      1. /give @s armor_stand[entity_data=\{id:armor_stand,NoBasePlate:1b}]
      2. place the armor stand in the world.
      3. Note that the NoBasePlate tag has properly applied.

      To confirm that certain NBT tags, such as the "Item" tag, work with thrown projectiles:

      1. /summon egg ~ ~ ~ {Item:{id:diamond_sword,count:1}}
      2. Note that the Item tag has been properly applied.

      steps to reproduce:
      1. give the player a snowball/egg with the "entity_data" tag, i.e:
            /give @p egg[entity_data=\{id:egg,Item:{id:diamond_sword,count:1}}]
      2. use/throw the item. 
      3. note that the Item tag has NOT properly applied.

        1. image_2024-09-03_203956769.png
          218 kB
          Sky Shap
        2. image-2024-09-03-20-40-10-886.png
          192 kB
          Sky Shap
        3. image_2024-09-03_204034395.png
          53 kB
          Sky Shap
        4. 2024-09-05_15-02-52.mp4
          2.02 MB
          [Mod] Jiingy

            Unassigned Unassigned
            moonsky Sky Shap
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: