minecraft:tick_world

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

Properties

PropertyTypeDefaultWhat it does
radiusInteger2 to 62The area around the entity to tick.
distance_to_playersDecimalmin 128128The distance at which the closest player has to be before this entity despawns. This option will be ignored if never_despawn is true.
never_despawnBooleantrueIf 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.

Used by

No vanilla entity file in the official samples uses this component. It is still part of the schema, so add-ons can use it.

Related components