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

Wolf AI can cause extremely severe lag spikes when in combat with a distant mob

XMLWordPrintable

    • Unconfirmed
    • (Unassigned)

      I am playing multiplayer on a 1.14 server. I have a tamed wolf (sitting) at home in loaded spawn chunks, on a floating platform at high altitude, and I am several thousand blocks away from its location. Whenever I attack a new mob, there is a major server lag spike, up to 30 seconds or more. Debug profiling shows that this is due to minecraft:wolf/ai/newAi/targetSelector/goalUpdate/canSee.

       

      Attached is a debug log started before attacking the mob and stopped shortly after the lag spike concluded.

            Excited Maria Lemón
            Nalathni Nathan McCoy
            Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: