HexLands 附加包:受诅咒的结构

HexLands 附加包:受诅咒的结构

新的结构类型和放置类型允许您强制自定义结构仅在HexLands世界的六边形中心生成。

HexLands 附加包:Hexed 结构

适用于你的 HexLands 世界的附加包,
用于让你仅在六边形中心放置自定义结构。

替代文本 截图来自用于测试该功能的 Compression 整合包。

使用方法

在数据包中,修改你的结构文件 structure/mystruct.json:

{
    "type": "hexed_structures:jigsaw", <----- 这一行
    "biomes": "#my:tags",
    "max_distance_from_center": 80,
    "project_start_to_heightmap": "WORLD_SURFACE_WG",
    "size": 7,
    "spawn_overrides": {},
    "start_height": {
        "absolute": 0
    },
    "start_pool": "my:pool",
    "step": "surface_structures",
    "terrain_adaptation": "beard_thin",
    "use_expansion_hack": false
}

以及 structure_set/myset.json:

{
    "structures": [
        {
            "structure": "my:structure",
            "weight": 1
        }
    ],
    "placement": {
        "type": "hexed_structures:center", <----- 这一行
        "spacing": 10,
        "separation": 6,
        "salt": 14347342873
    }
}

所有其他参数均与原生版本相同。放置选择的基础是普通的 RandomSpread。

注意

结构会被平移,使边界框中心与六边形中心对齐。