mojira.dev
MC-182304

Zombie villagers that have been traded with don't despawn but count towards the mob cap

The bug

When a villager that has been traded with is zombified, it will not be able to despawn (see MC-159300). However, it still counts towards the mob cap.

To reproduce

  1. Summon a villager and give it a workstation

  2. Trade with the villager

  3. Open F3 screen, and observe the mob cap line (starting with "SC") from now on

  4. Summon a zombie to zombify the villager

  5. The "M" value ("monsters") increases by 1 when you spawn the zombie, indicating that the zombie counts towards the mob cap

  6. When the villager is zombified, the "M" value increases again
    → ❌ This means that the mob cap increased again

  7. /tp ~ ~200 ~

  8. Observe that the "M" value now decreased by one since the zombie despawned

  9. /tp ~ ~-200 ~
    → ❌ The zombie despawned, while the zombie villager did not, but the zombie villager still counts towards the mob cap

Credit

Found by @unknown in this video: https://youtu.be/uJVkdTpdI2o?t=559

Attachments

Comments 9

Btw Ray didnt find it (or at least not in that video) as ilmangos video about mobswitches (which talks about the zombie villager thing) came out in February and the video you linked came out in April

Confirmed in 1.16-pre2.

I was able to reproduce this in 1.16 pre-release 3.

Confirmed in 1.16-pre5.

At this point i would prefer this to be WAI, as it is a reasonable and interesting way for hostile mob switches.

It survived the snapshots, rc and 1.16.x versions, it could as well stay now.

Tt seems to be half fixed in 20w45a. Zombie villagers that player traded with and got killed by Zombie will count into mobcap ONLY if they aren't in boats/minecarts, is means that you can't keep them in boats/minecrts in order to make mobswitch.

[media][media]

Can confirm in 20w51a.

I consider this WAI, as it was part of the changelog of the first 1.16 snapshot and a useful but not overpowered mechanic.

Can confirm in 1.19.4 and 1.20-pre4

violine1101

(Unassigned)

Community Consensus

Gameplay

Low

Mob spawning

mob-cap, zombie_villager

20w18a, 1.16 Pre-release 3, 1.16 Pre-release 5, 1.16 Release Candidate 1, 1.16, 1.16.4, 20w51a

Retrieved