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

Villager AI causes immense lag (adds up with large village populations) - does not happen in 1.14.4



    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.15.1, 1.17.1, 21w39a, 21w40a
    • Windows 10
      java version "1.8.0_45"
      Java(TM) SE Runtime Environment (build 1.8.0_45-b15)
      Java HotSpot(TM) 64-Bit Server VM (build 25.45-b02, mixed mode)
    • Confirmed
    • Performance
    • Important
    • Platform


      The server is crashing often - on the order of minutes.  It also is taking a very long time to execute some operations like eating, smelting, and brewing.


      This is happening in a chunk that has a great deal of redstone and a great many villagers and animals.  The server seems stable away from this chunk.


      This world was stable with very little lag in 1.14.4.  I have uploaded the world in its current state as well as its last state in 1.14.4.  Link provided below.  I have also uploaded a screenshot of the server system specs to the same location.


      I am currently running the client from the same machine as the server.


      Additional notes that may be useful:

      • Animals and villagers move in short steps with pauses instead of smoothly.
      • Golems in lava take a very long time to die, with each sound occurring with a long pause in between.
      • I reached an impasse trying to brew a potion.  The server crashes before the slow operation can complete.  Then, when the server restores, the blaze rod is used but the potion brewing starts over.
      • CPU utilization seems fine.  Uploaded screenshot.


      Link to worlds and specs:







            Unassigned Unassigned
            dananarama Dan Busenbarrick
            16 Vote for this issue
            7 Start watching this issue