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

Large amounts of goats causes performance issues

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • 21w40a
    • 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
    • None
    • Confirmed
    • Performance
    • Normal

      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.

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

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

              Created:
              Updated:
              Resolved:
              CHK: