Foxes path towards origin (0,0) during a thunderstorm
The bug
No matter the location of a fox, they try to path towards the origin during a thunderstorm.
Steps to reproduce
- Teleport around seventy blocks away from the center of the world:
/tp @s 0 100 70
- 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.
2020-04-22, 09:09 PM
2022-06-12, 07:48 PM
2022-03-24, 12:32 PM
24
16
1.14.4 - 1.18.2
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