生物群系环
本模组旨在提供一个 JSON 文件,用于强制在世界中心指定范围内生成一个或多个特定的生物群系。
此模组不会改变地形,它仅强制设定生物群系属性,这会影响怪物生成、结构生成以及自然环境(树木、草地、花朵等)。
它仅对新生成的区块生效,此模组不会覆盖已存在的区块。
请注意,此模组仅在原版 1.21.1 中进行了测试,可能与其他自定义生物群系/地形生成模组的兼容性极低或完全没有。
我(作者)没有计划在此模组的基础上进行除 bug 修复、优化和/或配置文件便利性改进之外的任何更新。
如果您想添加功能或兼容性支持,强烈建议您 Fork/复制代码库并制作您自己的版本。
使用方法 / 它能做什么
配置文件位于 ~/config/biomerings.json
请注意,配置文件将自动生成,其中包含示例代码。
配置文件中的参数如下:
| 键 |
描述 |
默认值 |
| roundness |
环的变形程度,1.0 表示完美的圆形 |
0.7 |
| noise |
当同一范围内存在多个生物群系时,“条带”重复的程度,数值越大意味着“条带”越明显 |
0.4 |
| global_blacklist |
不应被覆盖的生物群系列表 |
[...] |
| rules |
生成规则列表 |
[...] |
您可以强制在距世界中心一定距离的范围内出现一组生物群系,设置最小和最大距离以及池权重。
例如,您可以设置从 0 到 300 的距离内生成平原,300 到 600 的距离内生成沙漠、恶地和白桦恶地的混合池,600 到 900 的距离内生成森林和黑森林的混合池。
配置文件示例
{
"roundness": 0.4,
"noise": 0.5,
"global_blacklist": [
"minecraft:ocean",
"minecraft:deep_ocean",
"minecraft:warm_ocean",
"minecraft:lukewarm_ocean",
"minecraft:cold_ocean",
"minecraft:deep_cold_ocean",
"minecraft:beach",
"minecraft:river",
"minecraft:mushroom_fields"
],
"rules": [
{
"biome_id": "minecraft:plains",
"min_distance": 0.0,
"max_distance": 300.0,
"probability": 1.0
},
{
"biome_id": "minecraft:desert",
"min_distance": 300.0,
"max_distance": 600.0,
"probability": 0.4
},
{
"biome_id": "minecraft:badlands",
"min_distance": 300.0,
"max_distance": 600.0,
"probability": 0.3
},
{
"biome_id": "minecraft:wooded_badlands",
"min_distance": 300.0,
"max_distance": 600.0,
"probability": 0.3
},
{
"biome_id": "minecraft:forest",
"min_distance": 600.0,
"max_distance": 900.0,
"probability": 0.7
},
{
"biome_id": "minecraft:dark_forest",
"min_distance": 600.0,
"max_distance": 900.0,
"probability": 0.3
}
]
}
您还可以通过将不需要的生物群系设置为白名单来覆盖它们,例如这里我用平原和草原来覆盖雪地生物群系。(同时将冻结河流覆盖为普通河流等)
| 应用规则前 |
应用规则后 |
 |
 |
Biome Rings
This mod aims to provide a json file to force the generation of a biome or a list of biomes in a specified range of the overworld center.
This mod DO NOT changes the terrain, it only forces the biome settings, what affects mob spawnings, structure generations and natural enviroment (trees, grass, flowers, etc).
It only works on new generations, this mod do not overwrites already existing chunks.
Note that this mod was only tested in vanilla 1.21.1, and probably has little to no compatiblity with any other custom biomes/terrain generation mods.
I (the author) have no plans of updating this mod any further than bugfixes, optimization and/or config file QoL.
If you want to add features or compatibilities you are strongly incentivated to fork/copy the repository and do your version.
How to use / What it can do
The config file is located in ~/config/biomerings.json
Note that the config file will be auto-generated with an example code in the config.
the parameters in the config are:
| Key |
Description |
Default |
| roundness |
The deformation of the rings, where 1.0 is perfectly circular |
0.7 |
| noise |
The repetition of the "stripes" of biome when there are many in the same range, a bigger number means more visible "stripes" |
0.4 |
| global_blacklist |
The list of biomes that are not meant to be overrided |
[...] |
| rules |
The list of rules for the generation |
[...] |
You can force a list of biomes to appear at certain range of the overworld center, settings minimum and maximum distances and pool weigth.
For example, you can set generation to be plains from 0 to 300, pool desert, badlands and wooded_badlands between 300 and 600, and pool forest and dark_forest between 600 and 900 blocks of distance of the world center.
Example of config file
{
"roundness": 0.4,
"noise": 0.5,
"global_blacklist": [
"minecraft:ocean",
"minecraft:deep_ocean",
"minecraft:warm_ocean",
"minecraft:lukewarm_ocean",
"minecraft:cold_ocean",
"minecraft:deep_cold_ocean",
"minecraft:beach",
"minecraft:river",
"minecraft:mushroom_fields"
],
"rules": [
{
"biome_id": "minecraft:plains",
"min_distance": 0.0,
"max_distance": 300.0,
"probability": 1.0
},
{
"biome_id": "minecraft:desert",
"min_distance": 300.0,
"max_distance": 600.0,
"probability": 0.4
},
{
"biome_id": "minecraft:badlands",
"min_distance": 300.0,
"max_distance": 600.0,
"probability": 0.3
},
{
"biome_id": "minecraft:wooded_badlands",
"min_distance": 300.0,
"max_distance": 600.0,
"probability": 0.3
},
{
"biome_id": "minecraft:forest",
"min_distance": 600.0,
"max_distance": 900.0,
"probability": 0.7
},
{
"biome_id": "minecraft:dark_forest",
"min_distance": 600.0,
"max_distance": 900.0,
"probability": 0.3
}
]
}
You can also overwrite unwanted biomes at range of the worldspawn by setting then as whitelist of whatever you feel like, for example here i overwrite snow biomes with plains and meadow. (also frozen rivers as rivers and etc)
| Before the rule |
After the rule |
 |
 |
评论 0
登录后参与评分
还没有评论,来抢沙发吧