VOOZH about

URL: https://minecraft.wiki/w/World_border

⇱ World border – Minecraft Wiki


World border

From Minecraft Wiki
Jump to navigation Jump to search
👁 Image
This article is about the customizable border. For the command, see Commands/worldborder. For other uses, see Border (disambiguation).
See also: Distance effects
This feature is exclusive to Java Edition.
 
👁 Image
A world border
👁 Image
There is a related tutorial page for this topic!
 

The world border is the horizontal boundary of a dimension.

Features

[edit | edit source]
👁 Image
The world border as seen from the outside using the /tp command.

The world border consists of four rectangular faces, each 29,999,984 blocks away from the world origin of their dimensions by default. This means a diameter of 59,999,968, which is the default value set in the /worldborder command. They are animated with narrow, diagonal stripes that slowly shift up and to the right from the perspective of the inside.

The world border is tinted depending on if its size is changing and how. By default, when the border is not changing, the stripes are a translucent aqua color (
 #20a0ff
). If the border is expanding, the stripes appear green (
 #40ff80
), and if the border is shrinking, they appear red (
 #ff3030
).

The world border appears different depending on graphics settings. On the Fast and Fancy settings, it appears as light and translucent, but with the Improved Transparency option enabled, it appears considerably darker.[1]

The world border does not visually continue below altitude Y=-1024 nor above Y=1024, but it does continue to function as a boundary.

The world border is essentially a giant bounding box. By default, its center lies above Y=255.​[more information needed]

With commands, the center and width of the world border can be modified. The world border's physical barrier (as opposed to its appearance) always behaves in full-block increments from its origin. If the world border's width is set to a odd or non-whole number, the physical barrier's coordinates are rounded up to the next integer.

If the player uses an unlinked Nether portal at the world border in the Nether, the resulting portal will not be placed further than the world border in the Overworld, although part of the obsidian frame may generate past it.

Effects

[edit | edit source]

On entities

[edit | edit source]

All entities are unable to move through the world border.

If a dispenser or dropper is placed so that it directly faces the edge of the border, then items, projectiles, TNT, etc. can be fired outside of the edge of the border. Otherwise, if an item fired out of a dispenser hits the world border, it will float in midair. Items dropped from the player inventory will fall through normally.

If a mob is spawned from a dispenser via a spawn egg, the mob behaves normally. Spiders can climb the world border, endermen can teleport outside of it and pillagers can walk through it.

Any players on the outside of the world border (except those in Creative or Spectator mode) take constant damage as long as they are outside the border. The amount of damage depends on the distance to the border, with damage being inflicted when the player is outside an area that is 5 blocks past the world border on any side. Players typically cannot interact with blocks or entities outside the world border.

Additionally, while sneaking if they are less than one block outside the world border, some of the effects that occur while sneaking are changed or removed. These are:

  • Being prevented from walking off edges
  • Having movement slowed
  • Decreased eye level and third-person view (unless the player was already sneaking before entering this area)
  • Character model bending over slightly
  • Shorter hitbox
  • Fainter name tag in multiplayer[verify]
  • Moving through scaffolding: the player instead falls through it as if it were air

While players themselves cannot move through the world border, even if they manage to go ahead of chunk loading, they can reach the other side of the world border through other means, including:

  • Letting the world border pass them as it is shrinking
  • Throwing an ender pearl through the world border
  • Consuming chorus fruit near the world border and being teleported beyond it
  • Dying and respawning, if the spawn point is outside the world border

Oddly, while standing inside the world border while close to it and looking at it at a negative angle, trying to use item (such as throwing projectiles, eating food, or shooting a bow) results in nothing happening.

Entities cannot spawn naturally outside the world border. They persist without taking damage if they spawned before the world border gets shrunk by a command.

On blocks

[edit | edit source]

Players cannot normally place and destroy blocks, nor interact with objects outside of the world border, as there are no hitboxes. However, it is still possible to place blocks outside of the world border, either by placing the block against one that is inside the world border or by using commands.

Most blocks still function outside the world border, and most redstone contraptions still function as well. Exceptions include falling blocks (such as sand and gravel), which drop as an item, and pistons or hoppers, which simply don't function. Explosions from TNT and other sources also work normally, destroying terrain outside of the border. Light from torches and other sources also remain unaffected.

👁 Image
Liquids flow through the world border, so long as they are placed inside the border.

Liquids can flow through the border and continue flowing until reaching their flow limit. Liquids cannot be placed on the outside of the border.[2] Liquids placed via a dispenser flow as normal. Mixing water and lava with a dispenser results in the flow of each liquid abruptly ending, presumably because the stone, cobblestone, or obsidian that would normally generate does not.

When set to invalid values

[edit | edit source]

The world border size can be changed by manually editing the level.dat file. In any case, there remains a world boundary at 30 million blocks on both the X and Z axes.

  • When set to 0 or a negative number, the entire world is treated as outside the world border, and the border warning overlay appears throughout the world. No blocks can be mined and entities take damage unless they are within the border safe zone.
  • When set to NaN (Not a Number), the entire world is treated as outside the world border, but no border warning appears. No blocks can be mined, even in Creative mode, although entities do not take damage.
  • When set to Infinity or a number greater than 30 million, the border occurs normally.

Commands

[edit | edit source]
Main article: Commands/worldborder

The /worldborder command can modify the size, center, damage and buffer of the world border, and can also make it grow or shrink gradually.

Data values

[edit | edit source]

World data

[edit | edit source]

Java Edition:

  • world_border.dat
    • [NBT Compound / JSON Object] data
      • [Double] center_x: Center of the world border (X-axis).
      • [Double] center_z: Center of the world border (Z-axis).
      • [Double] damage_per_block: Damage taken per block moved outside the world border.
      • [Double] lerp_target: The border size after it has been changed. "Lerp" stands for Linear Interpolation, as the border changes its size in a linear fashion.
      • [Long] lerp_time: The time in milliseconds until the border size interpolation reaches the target size.
      • [Double] safe_zone: Distance in blocks of the buffer zone where damage is not taken when outside the world border.
      • [Double] size: World border diameter.
      • [Int] warning_blocks: Maximum distance away from the border until the border warning overlay appears on the player's HUD.
      • [Int] warning_time: Maximum time in seconds a contracting border is away from the player until the border warning overlay appears.

History

[edit | edit source]
Java Edition
1.8April 24, 2014Dinnerbone tweets a previews of the "shimmery" world border textures, which were made by Ryan Holtz.
14w17aAdded the customizable world border.
14w18aPlayers cannot interact with blocks outside the world border anymore.
14w19a"Warning" and "damage" commands added.
A red-colored warning aura is seen when within a certain distance of the world border.
The border in the Nether is now the same size as that of the Overworld.
Traveling to the Nether no longer creates new portals outside the boundary.
14w20aIf the player is stuck outside the world border, they can freely fly/walk around, though they gradually lose hearts. Not possible to freely walk through the border from the inside.
14w26a"Add" command added.
14w29a"Get" command added, which shows the current size of the border.
Command blocks no longer work outside of the border. Unclear if this is a bug or intended.
14w30aHoppers outside of the world border no longer function.
14w31aThe time parameter of the world border size-changing can now be larger.
Only players take damage outside of the world border.
?The world border can be set to 60 million, but is visually and functionally clamped to a value below that.
1.1720w48aThe world border now follows the player vertically.[3]
?The world border no longer follows the player vertically, but is still correctly displayed outside of the world height bounds.
21w13aThe world border's faces are now all identically oriented, resulting in no V or ^ shapes forming at two corners.[4]
21w17aThe world border size is now stored as a double instead of a float.[5]
The max world border size has been shrunk to the value it would always maximally appear at, and cannot be set above that value with commands.
1.21.224w34aProjectiles such as arrows, tridents and fishing bobbers now bounce on the world border if hit.
1.21.925w36aThe world border is now dimension-specific.
This means that each dimension can have its own world border size, position, etc.
1.21.1125w43aThe world border interpolation is now dependent on game ticks instead of real time.
This means the world border will no longer move when the game is paused.
It will also respect any changes made by the /tick command.

Issues

[edit | edit source]

Issues relating to "World border" are maintained on the bug tracker. Issues should be reported and viewed there.

Trivia

[edit | edit source]
  • The reason the default world border is at X/Z ±29,999,984 is due to the fact that Dinnerbone put it 1 chunk (16 blocks) short of the edge so that there isn't a sudden "drop" off the edge of the world.[6]

Gallery

[edit | edit source]

Screenshots

[edit | edit source]

References

[edit | edit source]
  1. MC-187669
  2. Due to MC-54119, this appeared possible, but it did not actually take effect. The said bug was fixed on 1.18
  3. MC-198864
  4. MC-212736
  5. MC-187664
  6. MC-53390 (comment #155580)

See also

[edit | edit source]

Navigation

[edit | edit source]
Retrieved from "https://minecraft.wiki/w/World_border?oldid=3644380"

Navigation menu