Skip to content
[/craft]
Shrink the World Border Over Time

Shrink the World Border Over Time

Make the world border close in gradually like a battle royale

✅ Verified for Java 26.2 · Bedrock 26.32 — checked June 2026

Animates the world border to a new size over a set number of seconds. This example shrinks (or grows) the border to 50 blocks across, easing to that size over 60 seconds — the classic battle-royale closing ring. Use a smaller target than the current size to shrink; use /worldborder add <distance> <time> to change relative to the current size.

/worldborder set 50 60
22 characters

How to use

  1. Open chat (T on Java).
  2. Optionally set the center first with /worldborder center <x> <z>.
  3. Paste /worldborder set 50 60 (target size, then seconds).
  4. Press Enter — the border slides to the new size over that time.

Related commands