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
- Summon a villager and give it a workstation
- Trade with the villager
- Open F3 screen, and observe the mob cap line (starting with "SC") from now on
- Summon a zombie to zombify the villager
- The "M" value ("monsters") increases by 1 when you spawn the zombie, indicating that the zombie counts towards the mob cap
- When the villager is zombified, the "M" value increases again
→
This means that the mob cap increased again - /tp ~ ~200 ~
- Observe that the "M" value now decreased by one since the zombie despawned
- /tp ~ ~-200 ~
→
The zombie despawned, while the zombie villager did not, but the zombie villager still counts towards the mob cap
Credit
Found by Ray in this video: https://youtu.be/uJVkdTpdI2o?t=559
2020-05-04, 01:11 AM
2023-10-26, 06:31 PM
11
9
-