setDamageBuffer

public abstract void setDamageBuffer(double blocks)

Sets the amount of blocks player may safely be outside the border before taking damage.

Parameters

blocks

The amount of blocks. (The default is 5 blocks.)