setTrackingRange

public boolean setTrackingRange(Entity entity, int range)

Sets the tracking range getTrackingRange reads, so the server sends entity as far as range blocks whatever its type's configured range, and rechecks which players track it at once. A negative range restores the configured one. The range lasts as long as the entity's tracker: a chunk reload or a change of world gives it a new one at the configured range. Primary thread only. False when this version cannot change it or the entity is not tracked.