-
Bug
-
Resolution: Unresolved
-
None
-
Minecraft 1.9 Pre-Release 4, Minecraft 1.9, Minecraft 1.10, Minecraft 1.12.1, Minecraft 19w11a, 1.15.2, 1.16 Release Candidate 1, 1.16, 1.16.4, 20w45a, 1.16.5, 21w08a, 1.18.1, 1.18.2, 1.19, 1.19.1, 1.19.2, 1.19.4 Pre-release 3, 1.20.3 Release Candidate 1, 1.20.6, 1.21 Pre-Release 1, 1.21 Pre-Release 2, 1.21.1, 24w36a
-
Confirmed
-
Commands
-
Low
-
Platform
If you use a spawn egg that has custom minecraft:entity_data set, usually it will summon a mob with that entity data. However, if you use the spawn egg on an adult mob, it will just spawn the baby variant of that mob without any of the custom entity data.
To reproduce
- Give yourself a spawn egg with custom NBT:
/give @s minecraft:sheep_spawn_egg[minecraft:entity_data={id:"minecraft:sheep",CustomNameVisible:1b,CustomName:'{"text":"jeb_"}'}]
- Use the spawn egg on a block. This will summon a sheep named "jeb_"
- Use the spawn egg while looking at the sheep you just summoned
Observed behaviour
A new baby sheep is summoned. The baby sheep does not have a custom name.
Expected behaviour
A new baby sheep is summoned. The baby sheep is named "jeb_".
- is duplicated by
-
MC-208731 After obtaining a spawn egg for piglins that shouldn't zombify, placing the first piglin works as intended. But when placing the egg on another piglin to create a baby piglin, the piglin will become a zombie piglin if this happens in the overworld.
- Resolved
-
MC-251397 Spawn Eggs with custom NBT still spawn a normal baby if used on an adult mob
- Resolved
-
MC-260710 Spawn Egg with EntityTag can't summon mob with NBT correctly in some cases
- Resolved
-
MC-272659 Entity data is no longer applied to baby mobs spawned by using a spawn egg on an adult mob
- Resolved
-
MC-276521 Piglins and Hoglins that are unable to Zombify don't pass on the NBT tag to babies
- Resolved
- relates to
-
MC-124435 Custom Spawn egg: Providing NBT does not prevent entity equipment and randomization
- Open
-
MC-123289 EntityTag doesn't work on all items summoning entities
- Reopened