Create Nuclear Ore Gen Tweaks
一个用于 Create Nuclear 的小型 NeoForge 附加模组,使铀、铅和条纹矿脉的生成配置变得可定制。
它不会添加新的矿石,也不会替换 Create Nuclear 已配置的特性。相反,它会覆盖相应的放置特性(placed features),并在生成新区块时从 NeoForge 通用配置文件中读取放置设置。
功能
- 配置每个区块中铀矿石的放置尝试次数。
- 配置每个区块中铅矿石的放置尝试次数。
- 配置 Create Nuclear 的大型条纹矿脉的稀有度。
- 配置每种矿脉类型的最小和最大生成高度。
- 选择四种垂直分布模式之一:
uniform(均匀)
trapezoid(梯形)
biased_to_bottom(偏向底部)
very_biased_to_bottom(极度偏向底部)
- 通过 NeoForge Mods 菜单内置的配置界面。
- 保留 Create Nuclear/Create 原有的
config_filter,因此它们的矿石生成开关仍然有效。
要求
- Minecraft
1.21.1
- NeoForge
21.1.93 或更高版本(适用于 Minecraft 1.21.1)
- Create
- Create Nuclear
已在 Create Nuclear 1.3.2-beta.3 下测试。
在多人游戏中,需在服务器和客户端均安装此模组。
配置
打开:
Mods → Create Nuclear Ore Gen Tweaks → Config
或直接编辑:
config/cnoregen-common.toml
直接编辑文件后需重启游戏或服务器。更改仅对加载新设置后生成的区块生效。现有区块不会重新生成。
默认值
| 矿脉 |
频率 |
高度 |
分布 |
| 铀矿石 |
每区块 4 次尝试 |
Y -128 到 0 |
biased_to_bottom |
| 铅矿石 |
每区块 8 次尝试 |
Y -128 到 -64 |
uniform |
| 条纹矿脉 |
每 18 个区块 1 次尝试 |
Y -128 到 0 |
biased_to_bottom |
count 控制的是放置尝试次数,而非矿脉内部矿石块的数量。矿脉的形状和大小仍由 Create Nuclear 的已配置特性控制。
对于条纹矿脉,rarity = 18 表示大约每 18 个区块有一次放置尝试。数值越大,矿脉越稀有。
工作原理
该附加模组替换了以下 Create Nuclear 的放置特性数据文件:
createnuclear:uranium_ore
createnuclear:lead_ore
createnuclear:striated_ores_overworld
替换后的数据使用了本模组注册的三个轻量级放置修饰符:
cnoregen:config_count — 读取配置的每区块尝试次数。
cnoregen:config_rarity — 读取配置的 N 分之一的出现几率。
cnoregen:config_height — 读取配置的高度范围和分布模式。
原始的已配置特性、矿石方块、矿脉定义以及 Create 的配置过滤器均保持原样未作改动。
Create Nuclear Ore Gen Tweaks
A small NeoForge addon for Create Nuclear that makes uranium, lead, and striated ore-deposit generation configurable.
It does not add new ores and does not replace Create Nuclear's configured features. Instead, it overrides the corresponding placed features and reads placement settings from a NeoForge common config when new chunks are generated.
Features
- Configure uranium ore placement attempts per chunk.
- Configure lead ore placement attempts per chunk.
- Configure how rare Create Nuclear's large striated deposits are.
- Configure minimum and maximum generation height for each deposit type.
- Choose one of four vertical distributions:
uniform
trapezoid
biased_to_bottom
very_biased_to_bottom
- Built-in config screen through the NeoForge Mods menu.
- Keeps Create Nuclear/Create's own
config_filter, so their ore-generation toggle still applies.
Requirements
- Minecraft
1.21.1
- NeoForge
21.1.93 or newer for Minecraft 1.21.1
- Create
- Create Nuclear
Tested with Create Nuclear 1.3.2-beta.3.
Install the mod on both the server and clients in multiplayer.
Configuration
Open:
Mods → Create Nuclear Ore Gen Tweaks → Config
Or edit:
config/cnoregen-common.toml
Restart the game or server after editing the file directly. Changes affect only chunks generated after the new settings are loaded. Existing chunks are not regenerated.
Default values
| Deposit |
Frequency |
Height |
Distribution |
| Uranium ore |
4 attempts per chunk |
Y -128 to 0 |
biased_to_bottom |
| Lead ore |
8 attempts per chunk |
Y -128 to -64 |
uniform |
| Striated deposit |
1 attempt per 18 chunks |
Y -128 to 0 |
biased_to_bottom |
count controls placement attempts, not the number of ore blocks inside a vein. Vein shape and size remain controlled by Create Nuclear's configured features.
For striated deposits, rarity = 18 means one placement attempt for approximately every 18 chunks. Larger values make them rarer.
How it works
The addon replaces these Create Nuclear placed-feature data files:
createnuclear:uranium_ore
createnuclear:lead_ore
createnuclear:striated_ores_overworld
The replacement data uses three lightweight placement modifiers registered by this addon:
cnoregen:config_count — reads the configured attempts per chunk.
cnoregen:config_rarity — reads the configured one-in-N chance.
cnoregen:config_height — reads the configured height range and distribution.
The original configured features, ore blocks, vein definitions, and Create config filter are left intact.
评论 0
登录后参与评分
还没有评论,来抢沙发吧