In 26.3 optimisations for persistent and passive mobs were made so that they would not path outside of a 32 block range of the player. This is a great optimisation for vanilla.
However, this means for datapacks, there is no way to increase this range.
I suggest that the follow_range (Mob Follow Range) attribute be used on passive mobs as well, and allow that number to be the distance from the player that the animal can path.
So setting follow_range: 64 would mean passive mobs within simulation distance would still path as normal if the player is within 64 blocks.
This solution would keep vanilla optimisations as-is, but alllow for datapack developers who need passive pathing active to do so.
0 Comments
Please sign in to leave a comment.
Post a new comment: