World Border (Legacy Fabric)
World Border (Legacy Fabric)
The World Border mod provides a minimalist solution for creating customizable world boundaries in Minecraft. This allows limiting the size of the game space, which is particularly useful for preventing excessive save file growth or for bringing a community of players together in a confined area.
Main Features
One of the key features of the mod is the ability to create an infinitely looping world. When the corresponding setting is enabled, upon reaching the positive world border, the player will be teleported to the negative coordinate and vice versa. This creates an endless loop effect while maintaining a limited world size.
Configuration Settings
The mod offers extensive customization options:
enableCustomOverworldBorder (default = true): Activates the use of overworldBorderCoords to set overworld boundaries.
enableCustomNetherBorder (default = false): Enables setting Nether boundaries through netherBorderCoords.
enableCustomEndBorder (default = true): Allows setting End boundaries using endBorderCoords.
shouldLoopToOppositeBorder (default = true): When activated, teleports the player from the positive border to the negative coordinate and back.
distanceTeleportedBack (default = 10, min 0, max 1000): The number of blocks the player is thrown back after hitting the border.
Player Messages
The mod notifies players when approaching boundaries:
nearBorderMessage (default = "You're getting close to the world border!"): Message when within 'distanceTeleportedBack' of the border.
hitBorderMessage (default = "You've hit the world border and were teleported inside!"): Notification upon border collision.
loopBorderMessage (default = "You've hit the world border and have looped around the world!"): Message when world looping occurs.
Border Coordinates
Individual boundaries can be set for each dimension:
Overworld:
overworldBorderPositiveX (default = 5000, min 0, max 100000)
overworldBorderNegativeX (default = -5000, min -100000, max 0)
overworldBorderPositiveZ (default = 5000, min 0, max 100000)
overworldBorderNegativeZ (default = -5000, min -100000, max 0)
Nether:
netherBorderPositiveX (default = 625, min 0, max 100000)
netherBorderNegativeX (default = -625, min -100000, max 0)
netherBorderPositiveZ (default = 625, min 0, max 100000)
netherBorderNegativeZ (default = -625, min -100000, max 0)
End:
endBorderPositiveX (default = 5000, min 0, max 100000)
endBorderNegativeX (default = -5000, min -100000, max 0)
endBorderPositiveZ (default = 5000, min 0, max 100000)
endBorderNegativeZ (default = -5000, min -100000, max 0)
Visual Examples
When approaching the border, players receive a warning message:

Message when hitting the border with looping enabled:

With looping disabled, the player is teleported 10 blocks inside the border:

Looping mechanism:

Looping in the Nether uses special code to prevent ending up in lava or on the Nether roof.
Requirements
The mod requires the Collective (Fabric) library mod and Fabric API.
This is the page for legacy Fabric versions 1.16 and 1.17. New files and updates have been moved to the main project page.