mojira.dev
MCPE-91436

Zombie villagers can spawn from zombie spawners

The bug

Occasionally, zombie spawners will spawn zombie villagers. Zombie villager spawners, conversely, never spawn regular zombies.

How to reproduce

1. Place a bunch of spawners

2. Use zombie spawn eggs in each of them
3. Set the time to midnight
4. Wait, and kill regular zombies as they spawn
5. Eventually, a zombie villager will spawn from the spawner

Notes

Java used to behave the same way, but it was fixed. Grum informed us that not spawning zombie villagers is the intended behavior now. See MC-106146 for more information.

Zombie spawn eggs do not have this problem. They always spawn regular zombies. In addition, zombie spawners also correctly never spawn husks, even in the desert.

Related issues

Comments

migrated

WAI, as zombie villagers are just a sub-class of zombies.

migrated

This affects in 1.16.1 and also 1.16.20.52 Beta.

GoldenHelmet

I believe this is working as intended, because the zombie.json spawn rules file in the vanilla behavior pack changes 5% of all zombie spawns into zombie villagers:

"minecraft:permute_type": [
          {
            "weight": 95
          },
          {
            "weight": 5,
            "entity_type": "minecraft:zombie_villager_v2"
          }
        ]

Moreover, it's always been this way in Bedrock Edition, and this has absolutely 0 negative impact on gameplay. Zombie villagers function just like zombies except that you can cure them. So this is really a positive feature, not a bug. The only thing that would be accomplished by changing this behavior, would be to alienate players who have built trading halls near zombie spawners to more easily make use of the the curing discount.

The reason Husks do not spawn from zombie spawners is that there is no coding to permute zombie spawns into husks in desert biomes. The ratio of husks to zombies in deserts is instead controlled by their overall spawn weights (husks have a very high weight, but only spawn in deserts).

The fact that zombie villager spawners do not spawn regular zombies is irrelevant to what zombie spawners do because zombie villager spawners do not naturally generate in Bedrock worlds. Zombie villager spawners only pertain to custom worlds/templates. If you are making a custom template and want separate spawners for regular zombies and zombie villagers, you can just add a behavior pack to the template that removes the coding cited above from the zombie.json. If you also want some zombie villagers to still spawn naturally, you could probably accomplish that with separate rules for cave and surface (since spawners generate surface spawns), or for different biomes or light levels.

tryashtar

@unknown That file only controls natural spawns; changing the zombie villager reference there to cows causes cows to spawn alongside zombies naturally, but doesn't prevent zombie villagers from spawning by regular zombie spawners

anachronist

Too bad this feature has disappeared. I worked hard to devise a way to separate out the zombie villagers from the zombies coming out of the spawner. Sadly, I’ll have to delete the tutorial I wrote: https://minecraft.wiki/w/Tutorial:Zombie_villager_farming

tryashtar

(Unassigned)

383192

Confirmed

Multiple

vanilla-parity

1.19.60.27 Preview, 1.17.40.23 Beta, 1.17.40.21 Beta, 1.17.20.20 Beta, 1.16.100.53 Beta, ..., 1.17.30, 1.17.32, 1.18.2 Hotfix, 1.19.51, 1.21.2 Hotfix

1.21.60.25 Preview, 1.21.60

Retrieved