Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-183240

Mobs still count towards the mob cap during their death animation

XMLWordPrintable

    • Icon: Bug 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

      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

        1. 2020-05-09_10.34.05.png
          2020-05-09_10.34.05.png
          5.07 MB
        2. javaw_2020-05-25_00-56-47.png
          javaw_2020-05-25_00-56-47.png
          5.51 MB
        3. MC-183240.mp4
          4.70 MB
        4. MC-183240.png
          MC-183240.png
          767 kB

            Unassigned Unassigned
            finnodonnell Finnegan O'Donnell
            Votes:
            11 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              CHK: