Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-251397

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • None
    • 1.18.2, 1.19, 1.19.1, 1.19.2
    • None
    • Confirmed
    • Items

      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!

            Unassigned Unassigned
            Helmo2019 Helmo2019
            Votes:
            3 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: