WAC World Altitude Control 世界高度控制
这个mod不能解决高度不能超过mc数据结构限制的问题,因为这会摧毁兼容性!
This mod doesn't solve the problem that the height can't exceed the mc data structure limit because it would destroy compatibility
这个Mod用于控制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.
它的原理是Minecraft在创建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 (note in Chinese):
参数 | 注释 |
---|---|
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
}
}
}
90% of ad revenue goes to creators
Support creators and Modrinth ad-free with Modrinth+