Mojira Archive
MC-251397

Spawn Eggs with custom NBT still spawn a normal baby if used on an adult mob

If you use a spawn egg that has a custom EntityTag NBT tag on an adult mob, it will just spawn the baby variant and ignore the custom NBT.

How to replicate:
1. Give yourself a Spawn Egg with custom NBT, like this:

/give @s minecraft:villager_spawn_egg{EntityTag:{CustomNameVisible:1b,CustomName:'{"text":"I am a Villager"}'}}

2. Using the Spawn Egg on a block will result in a villager with the name tag 'I am a villager!'
3. But using the Spawn Egg on the villager will result in a baby villager with no name tag!

Duplicate

Helmo2019

2022-05-05, 04:08 PM

2022-11-20, 10:23 AM

2022-11-20, 10:23 AM

3

2

Confirmed

Items

1.18.2, 1.19, 1.19.1, 1.19.2

-