Skip to main content
MC COMMANDS logoMC COMMANDS
Command Reference

Minecraft /worldborder Command

worldJava Only

Controls the boundaries of the world, allowing you to shrink, expand, center, and damage players outside of it.

Version Compatibility

Java Edition:1.21.4 (1.13+)

Command Syntax

Java Edition/worldborder set <size> [<time>] | /worldborder center <x> <z> | /worldborder damage <buffer|amount>

Arguments Explained

Practical Examples

/worldborder set 1000 60

Shrinks or grows the world border to a 1000x1000 diameter over a 60 second duration.

/worldborder center 0 0

Centers the world border at coordinates X=0, Z=0.

Advertisement

Important Notes

Exclusive to Java Edition. Bedrock does not support a visual world border system, relying instead on custom barrier blocks or invisible scripting limits.

Ready to build your command?

Use our interactive generator to create error-free /worldborder commands with a visual interface.

Open Command Generator
Advertisement