Commands/worldborder

These commands control the world border.

Syntax

 * Increases or decreases the world border diameter.


 * Recenters the world boundary.


 * Sets the world border damage amount to the specified value. Any player outside the world border buffer takes this amount of damage per second per block past the world border buffer distance.


 * Sets the world border buffer distance to the specified value. Players won't take damage until they move past this distance from the world border.


 * Returns the current world border diameter.


 * Sets the world border diameter.


 * Sets the world border warning distance to the specified value.


 * Sets the world border warning time to the specified value.

Arguments
(in  mode)
 * Specifies the number of blocks to add to the world border diameter.

(in  and   mode)
 * Specifies the number of seconds it should take for the world border to move from its current diameter to the new diameter. If not specified, defaults to 0.


 * Specifies the horizontal coordinates of the world border's center.
 * And it's X and Z should be between ±29999984 (inclusive).


 * Specifies the damage a player takes per second per block past the world border buffer. For example, if  is 0.1, a player 5 blocks outside the world border buffer takes 0.5 damage per second (damage less than half a heart might not change the visual health display, but still accumulates). Initially set to 0.2.

(in  mode)
 * Specifies the distance outside the world buffer a player must be before they start taking damage. Initially set to 5.0.

(in  mode)
 * Specifies the new diameter for the world border.

(in  mode)
 * Specifies the distance from the world border at which players begins to see a visual warning of the world border's proximity. Initially set to 5.

(in  mode)
 * Specifies the number of seconds that a player begins to see a visual warning before a moving world border passes their position. Initially set to 15.

History
Befehl/worldborder コマンド/worldborder 命令/worldborder