Add to "minecraft:nearest_attackable_target" and "minecraft:nearest_prioritized_attackable_target" "max_path_to_target"
This defines the maximum number of blocks you can walk towards the target, This way the entity can find a path without getting stuck.
Default: 16
Please sign in to leave a comment.
0 Comments