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

Foxes path towards origin (0,0) during a thunderstorm

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Resolution: Fixed
    • 1.14.4, 19w42a, 1.15.2, 20w06a, 20w07a, 20w08a, 20w09a, 20w10a, 20w11a, 20w12a, 20w13a, 20w13b, 20w14a, 20w15a, 20w16a, 20w17a, 20w18a, 20w19a, 20w20a, 20w20b, 20w21a, 20w22a, 1.16 Pre-release 2, 1.16 Pre-release 3, 1.16 Pre-release 5, 1.16 Pre-release 6, 1.16 Pre-release 7, 1.16 Release Candidate 1, 1.16, 1.16.1, 20w27a, 20w30a, 1.16.2 Pre-release 1, 1.16.2 Pre-release 2, 1.16.2, 1.16.3 Release Candidate 1, 1.16.3, 1.16.4, 20w49a, 20w51a, 1.16.5, 21w10a, 1.17, 1.17.1, 21w39a, 21w40a, 21w42a, 1.18 Pre-release 8, 1.18.1, 1.18.2
    • 22w12a
    • None
    • Confirmed
    • Mob behaviour, Performance
    • Normal

    Description

      The bug

      No matter the location of a fox, they try to path towards the origin during a thunderstorm. 

      Steps to reproduce

      1. Teleport around seventy blocks away from the center of the world:
        /tp @s 0 100 70
      2. Summon some foxes and set the weather to "thunder":
        /weather thunder

      Observed behavior

      Foxes will always pathfind to the center of the world (0,0) during thunderstorms.

      Expected behavior

      Foxes would not pathfind to the center of the world during thunderstorms.

      Code analysis

      Code analysis can be found in this comment.

      Attachments

        Issue Links

          Activity

            People

              gegy1000 [Mojang] Gegy
              vivaldi1246 William Davis
              Votes:
              24 Vote for this issue
              Watchers:
              16 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                CHK: