-
Bug
-
Resolution: Duplicate
-
None
-
1.20.6, 1.21 Pre-Release 1, 1.21 Pre-Release 2
-
None
-
Confirmed
-
(Unassigned)
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/or NoAI 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.
- duplicates
-
MC-98154 Spawn egg entity data gets ignored when creating a baby mob
- Open