Configurable Cobblegen
Configurable Cobblegen 让你能够控制岩浆与水生成器产出的内容。保留原版圆石生成的默认行为,或通过简单的服务器配置文件添加矿石、方块以及自定义的加权产出物。
本模组基于 NeoForge 1.21.1 构建,专为空岛整合包、进阶玩法整合包、自定义资源生成机制,以及任何希望圆石发电机提供超越普通圆石内容的场景而设计。
功能特性
- 将原版岩浆-水生成圆石和石头的逻辑替换为可配置的加权结果。
- 默认情况下保持原版行为,配置为
minecraft:cobblestone=100。
- 使用简单的相对权重,确保稀有方块保持稀有,常见方块保持常见。
- 支持任何已注册的方块 ID,包括其他模组中的方块(在对应模组安装时)。
- 包含可选的 Create 兼容性,适用于基于钻机的圆石生成装置。
- 不强制要求安装 Create。
- 如果配置项无效或为空,会安全回退到圆石生成。
配置说明
服务器配置文件包含一个 generation 部分:
启用开关
使用 enabled 选项来开启或关闭可配置生成。
加权方块
使用以下格式配置 generatedBlocks 条目:
namespace:block=weight
示例:
minecraft:cobblestone=100
minecraft:iron_ore=5
minecraft:gold_ore=2
权重是相对的。在上述示例中,圆石是最常见的产出,铁矿石是不太常见的产出,而金矿石比铁矿石更稀有。
Create 兼容性
Configurable Cobblegen 包含对 Create 优化的钻机圆石生成行为的可选支持。
当检测到 Create 模组时,本模组会挂钩至 Create 的圆石生成优化逻辑,使得基于钻机的发电机可以随机生成配置好的加权输出物,而不是始终返回相同的原版方块。Create 为可选依赖;即使未安装,本模组也能正常工作。
适用场景
- 空岛模组整合包
- 自定义进阶玩法整合包
- 矿石生成器设置
- 基于 Create 的圆石农场
- 希望实现配置驱动资源生成的服务器
Configurable Cobblegen
Configurable Cobblegen lets you control what lava and water generators produce. Keep the default vanilla cobblestone behavior, or add ores, blocks, and custom weighted outputs through a simple server config.
Built for NeoForge 1.21.1, this mod is designed for skyblock packs, progression packs, custom resource generation, and any setup where cobble generators should provide more than plain cobblestone.
Features
- Replaces vanilla lava-water cobblestone and stone generation with configurable weighted results.
- Keeps vanilla behavior by default with
minecraft:cobblestone=100.
- Uses simple relative weights, so rare blocks stay rare and common blocks stay common.
- Supports any registered block id, including blocks from other mods when they are installed.
- Includes optional Create compatibility for drill-based cobblegen setups.
- Does not require Create to be installed.
- Falls back safely to cobblestone if the configured entries are invalid or empty.
Configuration
The server config contains a generation section:
Enabled Toggle
Use enabled to turn configurable generation on or off.
Weighted Blocks
Use generatedBlocks entries in this format:
namespace:block=weight
Example:
minecraft:cobblestone=100
minecraft:iron_ore=5
minecraft:gold_ore=2
Weights are relative. With the example above, cobblestone is the most common result, iron ore is uncommon, and gold ore is rarer than iron ore.
Create Compatibility
Configurable Cobblegen includes optional support for Create's optimized drill cobblegen behavior.
When Create is present, the mod hooks into Create's cobblegen optimization so drill-based generators can roll the configured weighted output instead of always returning the same vanilla block. Create is optional; the mod works normally without it.
Recommended For
- Skyblock modpacks
- Custom progression packs
- Ore generator setups
- Create-based cobble farms
- Servers that want config-driven resource generation
评论 0
登录后参与评分
还没有评论,来抢沙发吧