After a world upgrade, custom spawn eggs that once summoned a different type of entity no longer spawn a different type of entity
If you utilize a custom spawn egg that typically summons a different entity type, it ceases to function properly following a world upgrade to a 1.20.5 snapshot, likely due to changes in the item storage system. For instance, if you acquire a spawn egg using the command:
give @p husk_spawn_egg{EntityTag:{id:"minecraft:llama",Glowing:1b}} 1
The husk spawn egg initially spawns a llama with the "Glowing" NBT tag set to 1. However, after the world upgrade, it will instead spawn husks rather than llamas. Nevertheless, other custom data from the spawn egg, such as the "Glowing" NBT tag in this scenario, remains intact.
Steps to Reproduce
- Execute
/give @p husk_spawn_egg{EntityTag:{id:"minecraft:llama",Glowing:1b}} 1in version 1.20.4.
- Utilize the spawn egg to spawn glowing llamas as anticipated.
- Upgrade to the latest snapshot.
- Use the spawn egg again
Observed Results: The spawn egg no longer summons glowing llamas but rather glowing husks.
Expected Results: The item's data should convert to the new system, allowing the husk spawn egg to continue spawning llamas as intended.