
需要库模组 Collective (Fabric) 以及 Fabric API。
World Border 是一款极简的可配置模组,允许创建可自定义的世界边界,从而限制世界的大小。这可以防止文件体积无限增大,也能让玩家社区保持更紧密的距离。你也可以在配置中设置当触碰世界边界时进行循环传送。这意味着当你碰到正向边界时会被传送到负向坐标,反之亦然。这样可以在限制世界大小的同时实现无限循环的世界。
可配置项: ( 如何配置? )
enableCustomOverworldBorder (默认 = true):启用后,使用 overworldBorderCoords 来设置边界。
enableCustomNetherBorder (默认 = false):启用后,使用 netherBorderCoords 来设置边界。
enableCustomEndBorder (默认 = true):启用后,使用 endBorderCoords 来设置边界。
shouldLoopToOppositeBorder (默认 = true):启用后,不会将玩家传送到靠近原位置的内部,而是从正向 x/z 坐标传送到负向坐标,反之亦然。
distanceTeleportedBack (默认 = 10,最小值 0,最大值 1000):触碰边界后,玩家被向内传送的方块数量。
nearBorderMessage (默认 = "You're getting close to the world border!"):当玩家距离世界边界小于 'distanceTeleportedBack' 时发送给玩家的提示消息。
hitBorderMessage (默认 = "You've hit the world border, and were teleported inside!"):当玩家触碰世界边界时被发送的提示消息。
loopBorderMessage (默认 = "You've hit the world border, and have looped around the world!"):当玩家触碰边界且 'shouldLoopToOppositeBorder' 启用时发送给玩家的提示消息。
overworldBorderPositiveX (默认 = 5000,最小值 0,最大值 100000):位于正向 x 坐标的主世界边界。
overworldBorderNegativeX (默认 = -5000,最小值 -100000,最大值 0):位于负向 x 坐标的主世界边界。
overworldBorderPositiveZ (默认 = 5000,最小值 0,最大值 100000):位于正向 z 坐标的主世界边界。
overworldBorderNegativeZ (默认 = -5000,最小值 -100000,最大值 0):位于负向 z 坐标的主世界边界。
netherBorderPositiveX (默认 = 625,最小值 0,最大值 100000):位于正向 x 坐标的下界边界。
netherBorderNegativeX (默认 = -625,最小值 -100000,最大值 0):位于负向 x 坐标的下界边界。
netherBorderPositiveZ (默认 = 625,最小值 0,最大值 100000):位于正向 z 坐标的下界边界。
netherBorderNegativeZ (默认 = -625,最小值 -100000,最大值 0):位于负向 z 坐标的下界边界。
endBorderPositiveX (默认 = 5000,最小值 0,最大值 100000):位于正向 x 坐标的末地边界。
endBorderNegativeX (默认 = -5000,最小值 -100000,最大值 0):位于负向 x 坐标的末地边界。
endBorderPositiveZ (默认 = 5000,最小值 0,最大值 100000):位于正向 z 坐标的末地边界。
endBorderNegativeZ (默认 = -5000,最小值 -100000,最大值 0):位于负向 z 坐标的末地边界。
当接近边界时,玩家将收到以下消息:

触碰世界边界且 enableLoop 启用时的消息。

当触碰边界且 enableLoop 禁用时,玩家将收到一条消息并被向内传送 10 个方块。

循环机制的工作原理如下:

下界的循环使用了巧妙的代码逻辑,以避免掉入岩浆或出现在下界屋顶上。
------------------
只要下载内容仍托管在 CurseForge 生态内,您可以自由地将此模组用于任何整合包。
Serilum.com 提供了所有可用模组的概览及更多信息。
由于我无法追踪各个模组页面的独立评论,因此已关闭评论功能。
如有问题、想法、建议或其他反馈,请访问 Github 仓库。谢谢!

Requires the library mod Collective (Fabric) and the Fabric API.
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 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!
评论 0
登录后参与评分
还没有评论,来抢沙发吧