Mojira Archive
MC-183240

Mobs still count towards the mob cap during their death animation

The bug

While a mob is dying it still counts towards the mob cap.

To reproduce

  1. /gamerule doMobSpawning false
  2. Set difficulty to peaceful
  3. Set difficulty back to another difficulty
  4. Open F3 and observe the line starting with "SC"
  5. Summon a husk
    → The "M" value increases by 1, indicating that the mob cap for hostile mobs increased by 1
  6. Kill the husk
    The "M" value doesn't decrease again until the death animation stops

Unresolved

Finnegan O'Donnell

2020-05-09, 05:35 PM

2024-05-03, 07:25 AM

11

8

Confirmed

Entities

mob-cap

1.15.2 - 1.20.61.15.2, 20w19a, 1.17, 1.17.1 Pre-release 1, 1.17.1, 21w38a, 1.18 Pre-release 5, 1.18.1, 24w09a, 1.20.6

-