✔️ How To Use World Border Command In Minecraft ✔️ WorldBorder Command Tutorial

Video Summary
In this video, I walk through how the /worldborder command works in Minecraft and explain each of its main subcommands. I show how to set the border size with set, move its location with center, and expand or shrink it instantly or over time using add (including negative values). I also demonstrate how get, damage, buffer, and warning control border info, how much damage players take outside it, how far they can go before taking damage, and how the red screen warning appears as you approach the border.

Formatted Transcript

Hey everybody, it’s UnderMyCap, and welcome back to another video. Today I’m going to be talking about the /worldborder command. This is a really useful command because it lets you restrict players to a specific area, and it gives you several ways to control and manage the playable space in your world.

Before we start, let’s quickly go through the available subcommands. The /worldborder command has six main subcommands:

add, center, damage, get, set, and warning.

Each one plays an important role, and they’re all fairly simple to learn.

Using /worldborder set

The set command is used to set how wide (how big) the world border is. For example, if I want to set the world border to a small area, I can do:

/worldborder set 10

You might notice that the border doesn’t appear around you right away. That’s because the world border is centered at coordinate 0, 0 by default. The border always expands outward from the current center point, and if you’re far away from 0,0, you won’t see it where you’re standing.

To place the border around your current location, you’ll need the next command.

Using /worldborder center

The center command sets the center point of the world border. To do that, you type:

/worldborder center <x> <z>

In my case, I can simply use my current coordinates to set the world border’s center to where I’m standing right now.

How the World Border Works In-Game

Once the world border is in place, you can’t interact with blocks on the other side of it. You’ll be restricted from building or breaking outside the border.

Anything inside the border can be edited and interacted with normally. Anything outside it is effectively off-limits.

Mobs can move freely, though, and depending on distance and processing, you may not always see them behave consistently if they’re too far away.

Expanding or Shrinking the Border with /worldborder add

If you want to expand (or shrink) the border without constantly resetting it, you can use the add command.

Positive numbers increase the border size, and negative numbers decrease it. For example, to add 5 blocks:

/worldborder add 5

You can repeat this as much as you want to make the area larger.

Timed Expansion or Shrinking

You can also expand or shrink the border over time by including a second value (the time, in seconds). For example, to add 5 blocks over 5 seconds:

/worldborder add 5 5

The border will gradually move outward during those 5 seconds.

To shrink it over time, just use a negative number. For example, to remove 5 blocks over 5 seconds:

/worldborder add -5 5

The border will move inward during that time.

Leaving the Border (and Escaping It)

If you go outside the world border in Survival mode, you can still move out there, but you’ll start taking damage (depending on your settings).

There are also ways to get out of the border. For example, you can use an ender pearl to teleport beyond it.

Checking Border Size with /worldborder get

The get command simply tells you the current size of the world border. It’s useful if you want to confirm the border’s width without guessing.

Dealing Damage Outside the Border with /worldborder damage

The damage subcommand controls how much damage the world border deals to a player who is outside of it.

For example, to set the damage to 0.1:

/worldborder damage amount 0.1

With that setting, you’ll take small damage while you remain outside the border. The farther outside you go, the more dangerous it becomes.

You can make it much harsher, too. For example, setting it to 1 will deal damage much more quickly:

/worldborder damage amount 1

You can even set this high enough that it effectively kills the player almost immediately after they leave the safe zone.

Border Damage Buffer

The buffer sets how far a player can go beyond the border before they start taking damage. For example:

/worldborder damage buffer 10

With a buffer of 10, you can move 10 blocks beyond the border before damage begins.

Warning Players with /worldborder warning

The warning subcommand controls when Minecraft warns the player that they’re getting too close to the world border. It adds a visual effect (the screen tinting red) as you approach the border.

For example, to show a warning when you’re within 10 blocks:

/worldborder warning distance 10

If you set it to something like 100, your screen will stay red much more often because you’ll almost always be within 100 blocks of the border. If you set it to 1, the warning won’t really appear until you’re basically right on the border.

Final Notes

That’s pretty much it for the world border command. Hopefully this updated version helps.

If you enjoyed it, please leave a like, and don’t forget to subscribe and hit the bell. My socials are in the description, along with my website, where I post more command tutorials—like particle commands, playsound commands, and more.

Thanks for watching, and I’ll see you in the next video.

Video Thumbnail

Recommended Items Based On Post

Products not fetched from DB and/or API. Please check debug logs.

Advertisment

Leave a Reply

Scroll to Top