setSize

public abstract void setSize(double newSize)

Sets the border to square region with the specified side length in blocks.

Parameters

newSize

The new size of the border.


public abstract void setSize(double newSize, long seconds)

Sets the border to square region with the specified side length in blocks.

Parameters

newSize

The new side length of the border.

seconds

The time in seconds in which the border grows or shrinks from the previous size to that being set.