mojira.dev
MC-302262

Spawn eggs don't retain entity_data when used inside an existing mob

  1. Give yourself a spawn egg with the entity_data component, e.g:

    give @s happy_ghast_spawn_egg[entity_data={"id":"happy_ghast","Tags":["test"],"Age":0}]

(this spawn egg should always spawn an adult ghast (age=0) with the “test” tag)

  1. Use the spawn egg twice in the same spot quickly. What matters is that the second time you are aiming inside the existing mob.

  2. The first spawned mob will be ok, but the 2nd one won’t have any of the data specified by ``entity_data``. In the example above, it will be a ghastling without any tags.

Find attached a video showcasing this behavior.

Linked issues

Attachments

Comments 1

Seems to only be happening with happy ghasts, i think

daenvil

(Unassigned)

Unconfirmed

(Unassigned)

1.21.8

Retrieved