mojira.dev
MC-265274

Baby villagers can generate inside the walls of houses

The bug

I loaded up a village on the villager experimental datapack on seed -7425732921933100384 and heard baby villager taking damage and cats  immediately.

It was at the village in this area. /tp @s 16 ~ -1024

The cats may be caused by MC-253396?

How to reproduce

  1. Create a new world with cheats enabled using the following seed:

    -7425732921933100384
    -7425732921933100384
  2. Teleport to the village:

    /tp 7 72 -1018
    /tp 7 72 -1018

    → ❌ A baby villager is suffocating in a wall in front of you

Attachments

Comments 4

There's a baby villager that generates inside a wall in that village, but I can't find any suffocating cats. Perhaps that was the sound you heard?

Are you happy for this ticket to be about baby villagers instead? Note that for cats suffocating, there is MC-253396.

I heard the baby villager suffocate once, but I definitely also heard a cat taking damage and die. I assume the cats spawning inside trees refers to inside leaves, which shouldn't suffocate them

 

Actually, that issue does mention them dying. However, I think this could be referring to iron golems cause they have a big hitbox. I am ok with this being made about baby villagers.

If this issue persist once the bug you mention gets fixed, I will look into it and report it separately.

[media]

Attached another village with only baby villagers in it.

@unknown that appears to be a different issue, this issue is about the baby villager spawning in a wall, causing it to suffocate.

Brevort

(Unassigned)

Confirmed

Platform

Normal

Mob spawning

1.20.1, 1.20.2 Pre-release 1, 1.20.2 Pre-release 2

Retrieved