-
Bug
-
Resolution: Unresolved
-
None
-
1.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
-
Confirmed
-
Entities
The bug
While a mob is dying it still counts towards the mob cap.
To reproduce
- /gamerule doMobSpawning false
- Set difficulty to peaceful
- Set difficulty back to another difficulty
- Open F3 and observe the line starting with "SC"
- Summon a husk
→ The "M" value increases by 1, indicating that the mob cap for hostile mobs increased by 1 - Kill the husk
→ The "M" value doesn't decrease again until the death animation stops
- relates to
-
MC-271385 Mobs that die outside the simulation distance continue to count towards mob caps
- Open
-
MC-132608 Slimes and magma cubes split in method marking entity for removal (setDead)
- Reopened
-
MC-106291 Snow golem leaves snow trail while dying
- Resolved
-
MC-124871 killing an entity in a function and testing for that entity afterward will still execute commands
- Resolved