setRemoveWhenFarAway

public abstract void setRemoveWhenFarAway(boolean remove)

Sets whether or not the living entity despawns when away from players or not.

Parameters

remove

the removal status