setDamageAmount

public abstract void setDamageAmount(double damage)

Sets the amount of damage player takes when outside the border plus the border buffer.

Parameters

damage

The amount of damage. (The default is 0.2 damage per second per block.)