setCenter

public abstract void setCenter(Location location)

Sets the new border center.

Parameters

location

The new location of the border center. (Only x/z used)


public abstract void setCenter(double x, double z)

Sets the new border center.

Parameters

x

The new center x-coordinate.

z

The new center z-coordinate.