Skip to content

🌎 Allows the creation of a configurable world border, limiting the world size.

License

Notifications You must be signed in to change notification settings

Serilum/World-Border

Repository files navigation

World Border

Download

You can download World Border on CurseForge and Modrinth:

  CurseForge:   https://curseforge.com/minecraft/mc-mods/world-border
  Modrinth:      https://modrinth.com/mod/world-border

Issue Tracker

To keep a better overview of all mods, the issue tracker is located in a separate repository.
  For issues, ideas, suggestions or anything else, please follow this link:

    -> Issue Tracker

Pull Requests

Because of the way mod loader files are bundled into one jar, some extra information is needed to do a PR.
  A wiki page entry about it is available here:

    -> Pull Request Information

Mod Description

Requires the library mod Collective.

World Border is a minimalistic configurable mod which allows the creation of a configurable world border, limiting the world size. This can prevent infinitely large file sizes or keep a community of players closer together. You can also loop around the world when hitting a world border, configurable in the config. This will teleport you to the negative coordinate if you hit the positive border and vice versa. Makes for infinitely looping worlds while still limiting the size.


Configurable: ( how do I configure? )
enableCustomOverworldBorder
 (default = true): When enabled, uses the overworldBorderCoords to set the border.
enableCustomNetherBorder (default = false): When enabled, uses the netherBorderCoords to set the border.
enableCustomEndBorder (default = true): When enabled, uses the endBorderCoords to set the border.

shouldLoopToOppositeBorder (default = true): When enabled, instead of teleporting the player inside near where they were, teleports them from the positive to the negative x/z coord and vice versa.
distanceTeleportedBack (default = 10, min 0, max 1000): The amount of blocks the player is teleported inside after hitting the border.

nearBorderMessage (default = "You're getting close to the world border!"): The message which will be sent to the player when they are within 'distanceTeleportedBack' to the world border.
hitBorderMessage (default = "You've hit the world border, and were teleported inside!"): The message which will be sent to the player when they hit the world border.
loopBorderMessage (default = "You've hit the world border, and have looped around the world!"): The message sent to the player when they hit the border and 'shouldLoopToOppositeBorder' is enabled.

overworldBorderPositiveX (default = 5000, min 0, max 100000): The overworld border located at the positive x coordinate.
overworldBorderNegativeX (default = -5000, min -100000, max 0): The overworld border located at the negative x coordinate.
overworldBorderPositiveZ (default = 5000, min 0, max 100000): The overworld border located at the positive z coordinate.
overworldBorderNegativeZ (default = -5000, min -100000, max 0): The overworld border located at the negative z coordinate.

netherBorderPositiveX (default = 625, min 0, max 100000): The nether border located at the positive x coordinate.
netherBorderNegativeX (default = -625, min -100000, max 0): The nether border located at the negative x coordinate.
netherBorderPositiveZ (default = 625, min 0, max 100000): The nether border located at the positive z coordinate.
netherBorderNegativeZ (default = -625, min -100000, max 0): The nether border located at the negative z coordinate.

endBorderPositiveX (default = 5000, min 0, max 100000): The end border located at the positive x coordinate.
endBorderNegativeX (default = -5000, min -100000, max 0): The end nether border located at the negative x coordinate.
endBorderPositiveZ (default = 5000, min 0, max 100000): The end nether border located at the positive z coordinate.
endBorderNegativeZ (default = -5000, min -100000, max 0): The end nether border located at the negative z coordinate.



When getting close to the border, players will receive the following message:

The message when hitting the world border and enableLoop enabled.


On hitting the border with enableLoop disabled, players will receive a message and be teleported 10 blocks inside the border.


Looping works like this:

Looping in the nether uses clever code to not end up in lava or on the nether roof.


------------------

You may freely use this mod in any modpack, as long as the download remains hosted within the CurseForge or Modrinth ecosystem.

Serilum.com contains an overview and more information on all mods available.

Comments are disabled as I'm unable to keep track of all the separate pages on each mod.
For issues, ideas, suggestions or anything else there is the Github repo. Thanks!