getRemoveWhenFarAway

public abstract boolean getRemoveWhenFarAway()

Returns if the living entity despawns when away from players or not.

By default, animals are not removed while other mobs are.

Return

true if the living entity is removed when away from players