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

Large amounts of goats causes performance issues

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Fixed
    • Affects Version/s: 1.17, 1.17.1 Pre-release 1, 1.17.1 Pre-release 2, 1.17.1 Pre-release 3, 1.17.1 Release Candidate 1, 1.17.1, 21w37a, 21w38a, 21w39a
    • Fix Version/s: 21w40a
    • Labels:
      None
    • Confirmation Status:
      Confirmed
    • Category:
      Performance
    • Mojang Priority:
      Normal

      Description

      The bug

      Large amounts of goats causes server performance issues. Most likely, this is because the goats are always looking for a target to ram it through. This is not done by other mobs. However, the goat do not pathfinding to water like turtles for example, which means pathfinding for target to ram is too resource-intensive.

      How to reproduce

      1. Create a world without any entities.
      2. Summon around 300 goats.
        Notice how ms increases significantly, compared to turtles/sheep/cats.

        Attachments

        1. 2021-06-17_14_42_12-Новый мир-1_17.zip
          54 kB
        2. 2021-06-17_14.32.56.png
          2021-06-17_14.32.56.png
          1.01 MB
        3. 2021-06-17_14.40.29.png
          2021-06-17_14.40.29.png
          1.23 MB
        4. 2021-06-17_14.41.56.png
          2021-06-17_14.41.56.png
          1.25 MB
        5. 2021-06-17_14.43.51.png
          2021-06-17_14.43.51.png
          1.35 MB
        6. 2021-06-17_14.45.26.png
          2021-06-17_14.45.26.png
          453 kB
        7. 2021-06-17_14.46.56.png
          2021-06-17_14.46.56.png
          1.19 MB

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              TPEHEP Iosiv Visokogorskiy
              Votes:
              6 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                CHK: