Entity Documentation - minecraft:follow_range

minecraft:follow_range defines the range, in blocks, that a mob will pursue a target.

Parameters

Name Default Value Type Description
value not set Integer The radius of the area of blocks the entity will attempt to stay within around a target.
max not set Integer Maximum distance the mob will go from a target.

Example

"minecraft:follow_range": {
        "value": 48,
        "max": 48
      }

Vanilla entities examples

allay

"minecraft:follow_range": {
        "value": 1024
      }

Vanilla entities using minecraft:follow_range