When a spawn egg has custom entity data, using it on an adult mob no longer applies that data to the summoned baby mob.
To reproduce
Get a custom spawn egg
/give @s minecraft:husk_spawn_egg[minecraft:entity_data={id:"minecraft:husk",HasVisualFire:1,NoAI:1b}]
Spawn an adult husk
Use the spawn egg on the adult mob
Check if the baby mob has the
HasVisualFire
and/orNoAI
tags:/data get entity @n[type=minecraft:husk,nbt={IsBaby:1b}]
Expected behavior: The tags are applied to the baby as well.
Actual behavior: The custom tags are not applied to the baby.
Linked issues
Attachments
Comments 2
Thank you for your report!
We're tracking this issue in MC-98154, so this ticket is being resolved and linked as a duplicate.
If you would like to add a vote and any extra information to the main ticket it would be appreciated.
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 (Technical Issues) – 📧 Microsoft Support (Account Issues)
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki
Can confirm