Configures the world border size and behavior.
/worldborder set <distance> [time] /worldborder add <distance> [time] /worldborder center <x> <z> /worldborder warning distance <distance> /worldborder warning time <time> /worldborder damage amount <damagePerBlock> /worldborder damage buffer <distance> /worldborder get
| Name | Required | Description |
|---|---|---|
| distance | Yes | Border diameter or warning distance. |
| time | No | Seconds to change size. |
| x z | No | Center coordinates. |
/worldborder set 1000 /worldborder center 0 0
Available in Java and Bedrock with different options.