Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Minecraft:World border

From SAS Gaming Wiki

Template:See also Template:Missing info Template:Exclusive

File:Worldborderanimation.gif
A world border

Template:Relevant tutorial The world border is the horizontal boundary of a Minecraft:dimension.

Features

File:Minecraft world border.png
The world border as seen from the outside using the Template:Cmd command.

The world border consists of four rectangular faces, each 29,999,984 blocks away from the world origin of their dimensions by default. 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 Minecraft: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. If the border is expanding, the stripes appear green, and if the border is shrinking, they appear red.

The world border appears different depending on Minecraft: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.<ref>Template:Bug</ref>

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

Size

The world border is essentially a giant bounding box. By default, its center lies above Y=255.Template: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 Minecraft:Nether portal at the world border in the Nether, the resulting portal will not be placed further than the world border in the Minecraft:Overworld, although part of the obsidian frame may generate past it.

Effects

On entities

All Minecraft:entities are unable to move through the world border.

If a Minecraft:dispenser or Minecraft:dropper is placed so that it directly faces the edge of the border, then Minecraft:items, Minecraft:projectiles, Minecraft: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 Minecraft:mob is spawned from a dispenser via a Minecraft:spawn egg, the mob behaves normally. Minecraft:Spiders can climb the world border, Minecraft:endermen can teleport outside of it and Minecraft:pillagers can walk through it.

Any Minecraft:players on the outside of the world border (except those in Minecraft:Creative or Minecraft: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 Minecraft: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 Template:Control (unless the player was already sneaking before entering this area)
  • Character model bending over slightly
  • Shorter hitbox
  • Fainter name tag in Minecraft:multiplayerTemplate:Verify
  • Moving through Minecraft: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 Minecraft: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 Template:Control (such as throwing Minecraft:projectiles, eating Minecraft:food, or shooting a Minecraft: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

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 Minecraft:redstone contraptions still function as well. Exceptions include falling blocks (such as Minecraft:sand and Minecraft:gravel), which drop as an item, and Minecraft:pistons or Minecraft:hoppers, which simply don't function. Minecraft:Explosions from Minecraft:TNT and other sources also work normally, destroying terrain outside of the border. Minecraft:Light from Minecraft:torches and other sources also remain unaffected.

File:Liquids flow through border.png
Liquids flow through the world border, so long as they are placed inside the border.

Minecraft:Liquids can flow through the border and continue flowing until reaching their flow limit. Liquids cannot be placed on the outside of the border.<ref>Due to Template:Bug, this appeared possible, but it did not actually take effect. The said bug was fixed on 1.18</ref> Liquids placed via a Minecraft:dispenser flow as normal. Mixing Minecraft:water and Minecraft:lava with a dispenser results in the flow of each liquid abruptly ending, presumably because the Minecraft:stone, Minecraft:cobblestone, or Minecraft:obsidian that would normally generate does not.

When set to invalid values

The world border size can be changed by manually editing the level.dat file. In any case, there remains a Minecraft: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

Template:Main The Template:Cmd command can modify the size, center, damage and buffer of the world border, and can also make it grow or shrink gradually.

Data values

World data

Template:Edition:

  • level.dat
    • Template:Nbt
      • Template:Nbt: Center of the world border (X-axis).
      • Template:Nbt: Center of the world border (Z-axis).
      • Template:Nbt: Damage taken per block moved outside the world border,
      • Template:Nbt: Distance in blocks of the buffer zone where damage is not taken when outside the world border.
      • Template:Nbt: World border diameter.
      • Template:Nbt: The border size after it has been changed. "Lerp" stands for Linear Interpolation, as the border changes its size in a linear fashion.
      • Template:Nbt: The time in milliseconds until the border size interpolation reaches the target size.
      • Template:Nbt: Maximum distance away from the border until the border warning overlay appears on the player's HUD.
      • Template:Nbt: Maximum time in seconds a contracting border is away from the player until the border warning overlay appears.

History

Java Edition

Template:HistoryTable

Issues

Template:Issue list

Trivia

  • 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.<ref>Template:Bug</ref>
  • Were a Minecraft world somehow wrapped around into a sphere, the resulting planet has a circumference of 60,000 kilometers or 9,549 kilometers in radius, twice as large as Earth.

Gallery

Screenshots

References

Template:Reflist

See also

Navigation

Template:Navbox environment

Minecraft:de:Weltbarriere Minecraft:es:Borde del mundo Minecraft:fr:Bordure du monde Minecraft:ja:ワールドボーダー Minecraft:ko:세계 경계 Minecraft:pl:Granica świata Minecraft:pt:Barreira do mundo Minecraft:ru:Граница мира Minecraft:zh:世界边界