Ore Renewal
Ore Renewal 是一款适用于 Minecraft 1.21.1 的服务器端 NeoForge 模组,可将新增的模组矿石生成逻辑应用到已存在的区块中。
当在一个长期运行的整合包中添加含矿石生成的模组时,玩家通常需要前往未探索区域才能找到其资源。Ore Renewal 会检测新添加的矿石放置特性(placed features),并在加载现有区块时安全地应用这些特性。
功能特性
- 自动检测新添加的矿石放置特性 ID。
- 支持具有混合模组历史的已有世界。
- 为每个世界和维度单独记录已完成的迁移状态。
- 不会对已完成迁移的区块重复应用同一项迁移。
- 排除新生成的区块,因为正常的世界生成本身已经处理了它们。
- 保留每种矿石特性的正常高度、稀有度、生物群系、维度及替换规则。
- 识别标准矿石生成器以及 Mekanism 支持的自定义矿石生成器。
- 防止大型区块加载队列导致玩家加载区域饥饿。
- 限制处理速度以减少服务器卡顿。
- 连接至专用服务器时无需安装客户端版本。
已有世界安全性
Ore Renewal 不会重新运行区块生成器、地形噪声、地表层、雕刻器、结构或常规生物群系装饰。它仅调用已检测到的矿石生成特性。
现有的空气、隧道、容器、机器、方块实体以及未被矿石声明为可替换的方块均保持原样不受影响。
Minecraft 不会记录普通石头、深板岩、下界岩或类似方块是否由玩家放置。如果建筑使用了某种被矿石明确视为“可替换”的方块,则无法将其与自然地形完全区分开来。在执行任何世界迁移之前,请务必备份重要世界。
安装方法
- 备份世界。
- 在服务器或单人游戏实例中安装 Ore Renewal。
- 正常启动世界。
- 现有区块将在加载时进行处理。
新世界仅记录其初始基线数据。已有世界可对已安装的非常规矿石特性执行一次保守的一次性恢复操作。后续添加的模组通过精确持久化的特性修订版本进行检测。
命令
查看迁移和队列状态:
/ore_renewal status
应用特定的已检测特性:
/ore_renewal apply mysticalagriculture:inferium_ore
/ore_renewal apply mysticalagriculture:prosperity_ore
/ore_renewal apply draconicevolution:end_draconium_ore
输入 /ore_renewal apply 后,按 Tab 键可列出整合包中检测到的所有放置特性。
保守地应用所有检测到的非原版矿石特性:
/ore_renewal apply-all-modded
立即保存迁移进度:
/ore_renewal checkpoint
兼容性测试
Ore Renewal 已在 Minecraft 1.21.1 + NeoForge 环境下进行了测试,使用的整合包包含 Mekanism、Mekanism Extras、Mystical Agriculture、Draconic Evolution、Oritech、Extreme Reactors、Create 系列模组、Terralith 以及多个维度。
源代码与问题追踪器:
Ore Renewal
Ore Renewal is a server-side NeoForge mod for Minecraft 1.21.1 that applies newly added modded ore generation to already-existing chunks.
When an ore-producing mod is added to a long-running modpack, players normally have to travel far beyond explored territory to find its resources. Ore Renewal detects the new ore placed features and safely applies them as existing chunks are loaded.
Features
- Automatically detects newly added ore placed-feature IDs.
- Supports established worlds with a mixed mod history.
- Remembers completed migrations separately for every world and dimension.
- Never applies the same migration twice to a completed chunk.
- Excludes newly generated chunks because normal world generation already handled them.
- Preserves each ore feature's normal height, rarity, biome, dimension, and replacement rules.
- Recognizes standard ore generators and Mekanism's supported custom ore generator.
- Prevents large chunk-loader queues from starving player-loaded areas.
- Throttles processing to reduce server lag.
- No client-side installation is required when connecting to a dedicated server.
Existing-world safety
Ore Renewal does not rerun the chunk generator, terrain noise, surfaces, carvers, structures, or general biome decoration. It invokes only detected ore-generation features.
Existing air, tunnels, containers, machines, block entities, and blocks that the ore does not declare replaceable remain untouched.
Minecraft does not record whether an ordinary stone, deepslate, netherrack, or similar block was placed by a player. If a build uses a block that an ore explicitly considers replaceable, it cannot be distinguished perfectly from natural terrain. Always back up important worlds before running any world migration.
Installation
- Back up the world.
- Install Ore Renewal in the server or singleplayer instance.
- Start the world normally.
- Existing chunks are processed as they load.
A new world only records its initial baseline. An established world can perform a one-time conservative recovery for already-installed non-vanilla ore features. Mods added later are detected through exact persisted feature revisions.
Commands
Check migration and queue status:
/ore_renewal status
Apply a specific detected feature:
/ore_renewal apply mysticalagriculture:inferium_ore
/ore_renewal apply mysticalagriculture:prosperity_ore
/ore_renewal apply draconicevolution:end_draconium_ore
After typing /ore_renewal apply , press Tab to list the placed features detected in the installed modpack.
Apply all detected non-vanilla ore features conservatively:
/ore_renewal apply-all-modded
Save migration progress immediately:
/ore_renewal checkpoint
Tested compatibility
Ore Renewal has been tested on Minecraft 1.21.1 with NeoForge and a large existing modpack containing Mekanism, Mekanism Extras, Mystical Agriculture, Draconic Evolution, Oritech, Extreme Reactors, Create-family mods, Terralith, and multiple dimensions.
Source code and issue tracker:
评论 0
登录后参与评分
还没有评论,来抢沙发吧