World Altitude Control

模组

· 作者 KenRouKoro

控制 Minecraft 维度高度

0 本站下载 0 关注 更新于 3 年前

需要前置:HutoolCore

最新 1.2.1 · 1.20.1 · Bukkit / Fabric

一键开服(送7天)

WAC World Altitude Control 世界高度控制

此模组无法解决高度不能超过 Minecraft 数据结构限制的问题,因为这会破坏兼容性!
This mod doesn't solve the problem that the height can't exceed the mc data structure limit because it would destroy compatibility

此模组用于控制 Minecraft 维度的高度,可在配置文件中或通过 HutoolCore 的 Web 编辑器进行配置。
This mod is used to control the height of Minecraft dimensions and can be configured in the configuration file or in HutoolCore's web editor.

其原理是在创建 ServerLevel(ServerWorld)时修改 ServerLevel(ServerWorld)的高度配置。
It works by Minecraft modifying the height configuration of the ServerLevel (ServerWorld) when it is created.

以下为参数说明:
The following is an explanation of the parameters:

参数 注释
id 世界 ID
logical_height 玩家使用紫颂果或下界传送门可到达的总高度。不会影响已存在且超过此高度限制的传送门。取值范围为 0 到 4064 的闭区间,且不得大于 height。
min_y 该维度中可放置方块的最低高度。数值必须在 -2032 至 2031 之间,且必须是 16 的整数倍(即 -2032 为最小有效值,2016 为最大有效值)。
height 该维度中可放置方块的总高度。数值必须在 16 至 4064 之间,且必须是 16 的整数倍。该维度中可放置方块的最大高度值为 min_y 与 height 之和减 1,且不得超过 2031。

原版及使用 HutoolCoreWebConfig 的配置文件样式:
The original and the profile style using HutoolCoreWebConfig:

{
    "worldConfigs": {
        "minecraft:overworld": {
            "id": "minecraft:overworld",
            "height": 1024,
            "min_y": -64,
            "logical_height": 256
        },
        "minecraft:the_nether": {
            "id": "minecraft:the_nether",
            "height": 1024,
            "min_y": -64,
            "logical_height": 256
        },
        "minecraft:the_end": {
            "id": "minecraft:the_end",
            "height": 1024,
            "min_y": -64,
            "logical_height": 256
        }
    }
}

Image

你是这个资源的作者?登录后可认领此资源。

评论 0

0.0
暂无评分
5 星
0
4 星
0
3 星
0
2 星
0
1 星
0
我的评分

登录后参与评分

还没有评论,来抢沙发吧

评论配图

相似资源