Mojira Archive
MC-229365

Large amounts of goats causes performance issues

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.

Fixed

Iosiv Visokogorskiy

2021-06-17, 02:58 PM

2021-10-05, 07:29 PM

2021-10-05, 07:29 PM

6

3

Confirmed

Normal

Performance

1.17 - 21w39a1.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

21w40a