Entity Documentation - minecraft:tick_world

Defines if the entity ticks the world and the radius around it to tick.

Tick World Properties

Name Default Value Type Description Example Values
distance_to_players 128 Decimal number The distance at which the closest player has to be before this entity despawns. This option will be ignored if never_despawn is true. Min: 128 blocks.
never_despawn true Boolean true/false If true, this entity will not despawn even if players are far away. If false, distance_to_players will be used to determine when to despawn.
radius 2 Integer number The area around the entity to tick. Default: 2. Allowed range: 2-6.