- 此模组通过在地形生成中自然放置 Ars 植物/灌木丛,实现了 TerraFirmaCraft 与 Ars 之间的连接。
- 所有重要参数均可针对每种植物/配置文件进行自定义配置(每种植物一个文件)。非常适合希望自行定义生成位置和频率的服务器。
功能特性
- 按植物(配置文件)自定义世界生成
- 生物群系选择(ID 或标签)
- 生成频率 (
rarity_chance)
- 每个区块的植物簇数量 (
count_per_chunk)
- 每个簇的大小/尝试次数 (
tries_per_patch)
- 水平/垂直扩散范围 (
xz_spread, y_spread)
基于配置文件的设置:
- 每种植物对应一个 TOML 文件
- 可与标准数据包 JSON 共存,但在运行时从 TOML 读取配置值(无需重复的数据包)
- 面向服务器:每种植物清晰分离,易于维护
安装方法
-
将模组放入 mods 文件夹。
-
启动 Minecraft 或服务器。
配置说明
-
在世界生成的 JSON 文件中,每种植物通过其配置文件名称来引用(例如 "sourceberry")。
-
首次启动时,模组会自动创建对应的配置文件,例如:
-
config/tfc_ars_compat/sourceberry.toml
-
编辑该 TOML 文件以调整行为,例如:undefined
tries_per_patch = 32 xz_spread = 6 count_per_chunk = 1 rarity_chance = 24 biomes = ["#minecraft:is_overworld"] # 支持标签或特定生物群系
生物群系示例
- 特定生物群系:
"minecraft:plains", "tfc:plains"
- 标签:
"#minecraft:is_overworld", "#tfc:is_temperate_forest"
- 支持混合列表:
["tfc:plains", "#minecraft:is_forest"]
注意事项
- 配置更改仅影响新生成的区块。
- 建议重启游戏以确保新的世界生成参数安全生效。
- 此模组仅调整世界生成;平衡性、配方和机制由基础模组决定。
常见问题
模组是否在运行时读取 Forge 配置值?
是的。它在地形生成时读取 TOML 配置文件(按植物区分),因此 JSON 文件无需“硬编码”。
我能否完全通过配置文件来控制生物群系?
可以。服务器管理员可以直接在配置文件 TOML 中指定所需的 ID 或标签。
我需要为每种植物编辑多个文件吗?
不需要。只需编辑配置文件 TOML,即使处理大量植物,也能保持管理简洁明了。
- This mod connects TerraFirmaCraft and Ars by placing Ars plants/bushes as naturally generated patches in TFC biomes.
- All important parameters are configurable per plant/per profile (one file per plant). Ideal for servers that want to define spawn locations and frequency themselves.
Features
- Configurable worldgen per plant (profile)
- Biome selection (IDs or tags)
- Frequency (
rarity_chance)
- Number of patches per chunk (
count_per_chunk)
- Cluster size / tries per patch (
tries_per_patch)
- Horizontal/vertical spread (
xz_spread, y_spread)
Profile-based configuration:
- one TOML file per plant
- Works alongside standard datapack JSONs, but reads config values from TOML at runtime (no duplicate datapacks required)
- Server-focused: clear separation per plant, easy maintenance
Installation
-
Place the mod into the mods folder.
-
Start Minecraft/the server.
Configuration
-
Each plant is referenced by a profile name in the worldgen JSONs (e.g. "sourceberry").
-
On first launch, the mod automatically creates the matching profile file, e.g.:
-
config/tfc_ars_compat/sourceberry.toml
-
Edit the TOML to adjust behavior, for example:undefined
tries_per_patch = 32 xz_spread = 6 count_per_chunk = 1 rarity_chance = 24 biomes = ["#minecraft:is_overworld"] # Tags or specific biomes possible
Biome examples
- Specific biomes:
"minecraft:plains", "tfc:plains"
- Tags:
"#minecraft:is_overworld", "#tfc:is_temperate_forest"
- Mixed lists are possible:
["tfc:plains", "#minecraft:is_forest"]
Notes
- Config changes affect newly generated chunks.
- A restart is recommended to safely apply new worldgen parameters.
- The mod only adjusts worldgen; balance, recipes, and mechanics come from the base mods.
FAQ
Does the mod read Forge config values at runtime?
Yes. It reads TOML profiles at worldgen time (per plant), so JSONs don’t have to be “hard-coded.”
Can I control biomes entirely via profiles?
Yes. Server admins can specify the desired IDs/tags directly in the profile TOML.
Do I need to edit multiple files per plant?
No. Only the profile TOML, which keeps management clean and simple even with many plants.
评论 0
登录后参与评分
还没有评论,来抢沙发吧