概览
minecraft:overworld_height 是一个生物群系组件:写在自定义生物群系的 components 对象中。 设置这个生物群系的地面有多高或多低,以及起伏有多大。
字段
| 字段 | 类型 | 默认值 | 说明 |
|---|---|---|---|
noise_type | Noise Type | 无 | 现成的高度预设,比如 "default"、"ocean"、"mountains" 或 "lowlands",用来代替 noise_params。 |
noise_params | number[] | 无 | 两个数字:第一个设置基础高度(负数表示在水下),第二个设置地形的起伏程度。 |
示例
写在 BP/biomes/<name>.biome.json 的 components 对象中(值为默认值或占位值):
BP/biomes/<name>.biome.json
{
"minecraft:overworld_height": {
"noise_type": {},
"noise_params": []
}
}