●适用于1.20.1版本
●我们打开配置文件world.json5,这个可以设置初始地形,打开文件后搜索surfaceSettings,可以看到下面的配置
"surfaceSettings": {
"minecraft:overworld": "minecraft:bedrock,2*minecraft:dirt,minecraft:grass_block",
"minecraft:the_nether": "",
"minecraft:the_end": ""
}
其中overworld是主世界地形,the_nether下界,the_end是末地。
我们可以这样设置"minecraft:overworld": "4*minecraft:bedrock,300*minecraft:stone,4*minecraft:bedrock",这代表从-64开始4层基岩,往上有300层的石头层,再上面是4层基岩,以此类推可以设置多层。
如果是下界"minecraft:the_nether": "4*minecraft:bedrock,220*minecraft:netherrack,4*minecraft:bedrock",这代表从0开始4层基岩,往上有220层的下界岩层,再上面是4层基岩,以此类推可以设置多层,可以搭配出生点在下界。
如果是末地"minecraft:the_end": "4*minecraft:bedrock,220*minecraft:end_stone,4*minecraft:bedrock",这代表从0开始4层基岩,往上有220层的末地石层,再上面是4层基岩,以此类推可以设置多层,可以搭配出生点在末地。
但是需要自己设置初始岛屿,初始岛屿必须包括空气,不然进存档就会卡在方块里。
●下面我们来说一下如何将世界上的结构全都清除,我们打开配置文件structures.json5,第一段
// 所有应该生成的特征。
// 所有可能的结构列表可以在 config/skyblockbuilder/data/features.txt 中找到。
// 信息:默认的两个值是生成末地黑曜石塔所必需的。如果缺少这些值,黑曜石塔将在重生末影龙时首次生成。
// 警告:某些特征如树木需要特殊的地表!
// 警告:这仅适用于原版维度(主世界、下界、末地)。
"generationFeatures": {
"allow_list": true,
"elements": [
"minecraft:end_spike",
"minecraft:end_gateway_return"
]
}
这个是结构生成的特征,比如末地末影龙周围有黑曜石柱,这个就是特征,而下面那一段
// 所有应该生成的结构。
// 所有可能的结构列表可以在 config/skyblockbuilder/data/structures.txt 中找到。
// 警告:这仅适用于原版维度(主世界、下界、末地)。
"generationStructures": {
"allow_list": true,
"elements": [
"minecraft:fortress"
]
}}
把你需要生成的结构填写在elements的括号中,minecraft:fortress就是下界要塞,把这个删除后,下界就不会生成下界要塞,结构在同配置文件中的data文件夹structures.txt文件中
●如何设置初始岛屿的高度,在配置文件spawn.json5中,搜索"If you set the spawn height type to "set", the bottom value will be used for a set height. Otherwise, the height will be calculated."可以找到下面一段
"range": {
"bottom": 40,
"top": 319
}
其中"bottom"就是岛屿生成高度