mobs who have their generic.follow_range attribute modified seem to have their random wandering behavior affected as well, even when not following anything.
For example, use
/summon pig ~ ~ ~ {Attributes:[{Name:"generic.follow_range",Base:0.0}]}
and compare its passive behavior to that of a normal pig. It will not move from its place at all.
The base value for the attribute seems to determine the maximum distance a mob can wander in a single movement. If this is intended behavior, the attribute should be renamed 'generic.pathing_range' or similar.
Thank you for your report!
We're tracking this issue in MC-132804, so this ticket is being resolved and linked as a duplicate.
If you would like to add a vote and any extra information to the main ticket it would be appreciated.
If you haven't already, you might like to make use of the search feature in the future to see if the issue has already been reported.
Quick Links:
📓 Issue Guidelines – 💬 Community Support – 📧 Customer Support – ✍️ Feedback and Suggestions – 📖 Game Wiki