Randomized Recipes
Randomized Recipes 是一款适用于 Minecraft Forge 1.20.1 的模组,它会为每个世界打乱配方输出。它支持原版配方以及兼容的模组数据驱动配方。
洗牌过程在世界加载时生成并激活,在玩家开始合成之前完成。每个世界都保持一个稳定的种子,因此相同的配方、设置和种子会产生相同的映射。
功能特性
- 支持原版及兼容的模组配方。
- 使用各配方原始命名空间中的真实数据包覆盖机制。
- 与 JEI 兼容,无需将 JEI 作为依赖项。
在新世界准备就绪前生成洗牌结果。
- 当配方、数据包、模组或设置发生变化时自动重建。
- 包含安全(Safe)、平衡(Balanced)和混乱(Chaos)预设。
- 支持物品、物品标签、配方、配方类型和模组的过滤。
- 可以保留输出数量,或将数量随物品一起打乱。
- 可以最小化保留原输出的配方。
- 禁用随机化时会恢复原始配方。
- 如果生成失败,会保留上一次可用的数据包。
安装方法
- 为 Minecraft 1.20.1 安装 Forge 47。
- 将
randomized_recipes-1.2.0.jar 放入 mods 文件夹。
- 创建或加载一个世界。
JEI 是可选的。如果你想浏览当前已打乱的配方,请安装它。
命令
| 命令 |
权限 |
描述 |
/rrhelp |
所有人 |
显示可用命令列表 |
/rrstatus |
所有人 |
显示数据包状态、预设、种子、覆盖率、错误及配置指纹 |
/rrfind <item> |
所有人 |
查找现在产出某物品的配方 |
/rrrecipe <recipe> |
所有人 |
显示某配方的当前输出 |
/rrreshuffle |
操作员 |
生成新的随机映射 |
/rrreshuffle <seed> |
操作员 |
根据指定种子生成映射 |
/rrdebug |
操作员 |
使用当前种子重新构建 |
/rrdryrun [seed] |
操作员 |
预览兼容性,不改变世界 |
/rrcheck |
操作员 |
验证过滤器并报告配方兼容性 |
/rrdump |
操作员 |
导出当前映射 |
旧版命令名称 /rsh... 和 /dkrsreload 在版本 1.2.0 中已不再使用。
配置
配置文件位于 config/randomized_recipes-common.toml。
| 选项 |
默认值 |
描述 |
randomize_recipes |
true |
启用或禁用随机化 |
shuffle_preset |
BALANCED |
选择 SAFE、BALANCED 或 CHAOS |
avoid_unchanged_outputs |
true |
最小化保留原输出的配方 |
shuffle_output_counts |
false |
将输出数量随打乱的物品一起移动 |
item_blacklist |
安全默认值 |
阻止特定的输出物品 |
recipe_blacklist |
空 |
保持特定配方不变 |
recipe_type_allowlist |
空 |
仅打乱列出的配方序列化器 |
recipe_type_blacklist |
空 |
阻止列出的配方序列化器 |
item_tag_allowlist |
空 |
仅使用来自列出物品标签的输出 |
item_tag_blacklist |
空 |
阻止来自列出物品标签的输出 |
mod_blacklist |
空 |
排除整个模组命名空间 |
show_welcome_message |
true |
每位玩家在每个世界中显示一次命令提示 |
reset_welcome_message |
false |
下次有新玩家加入时再次显示欢迎信息 |
safe_mode |
false |
安全模式的遗留覆盖选项 |
chaos_mode |
false |
混乱模式的遗留覆盖选项 |
安全模式保护早期游戏的关键输出,如木板、木棍、工作台、熔炉、基本镐子、火把和箱子。平衡模式尊重所有配置的过滤器。混乱模式忽略过滤器,并从所有注册的非空物品中进行选择。
兼容性
由于该模组会更改实际的服务器配方数据,JEI 能够读取当前已打乱的配方。配方重载会更新 JEI 接收到的集合。无需额外的 JEI 集成插件。
当模组数据驱动配方使用认可的输出结构(如 result、output、outputs、result_item 或 output_item)时,可获得支持。动态的、程序生成的或无法识别的配方将保持不变,以防止损坏。
使用 /rrdryrun、/rrcheck 或 /rrstatus 可查看整合包的确切兼容性结果。
构建项目
./gradlew build
发布版的 JAR 文件将写入 build/libs。
项目信息
- 版本:
1.2.0
- 模组 ID:
randomized_recipes
- 加载器:Forge
- Minecraft:1.20.1
- 许可证:请参阅 LICENSE
Randomized Recipes
Randomized Recipes is a Minecraft Forge 1.20.1 mod that shuffles recipe outputs for each world. It supports vanilla recipes and compatible modded data-driven recipes.
The shuffle is generated and activated while the world starts, before players can begin crafting. Each world keeps a stable seed, so the same recipes, settings, and seed produce the same mapping.
Features
- Supports vanilla and compatible modded recipes.
- Uses real datapack overrides in each recipe's original namespace.
- Works with JEI without requiring JEI as a dependency.
- Generates the shuffle before a new world is ready.
- Rebuilds when recipes, datapacks, mods, or settings change.
- Includes Safe, Balanced, and Chaos presets.
- Supports item, item-tag, recipe, recipe-type, and mod filters.
- Can preserve output counts or shuffle counts with items.
- Can minimize recipes that retain their original output.
- Restores original recipes when randomization is disabled.
- Preserves the previous working pack if generation fails.
Installation
- Install Forge 47 for Minecraft 1.20.1.
- Put
randomized_recipes-1.2.0.jar in the mods folder.
- Create or load a world.
JEI is optional. Install it if you want to browse the active shuffled recipes.
Commands
| Command |
Permission |
Description |
/rrhelp |
Everyone |
Show available commands |
/rrstatus |
Everyone |
Show the pack state, preset, seed, coverage, failures, and configuration fingerprints |
/rrfind <item> |
Everyone |
Find recipes that now produce an item |
/rrrecipe <recipe> |
Everyone |
Show the current output of a recipe |
/rrreshuffle |
Operator |
Generate a new random mapping |
/rrreshuffle <seed> |
Operator |
Generate a mapping from a specific seed |
/rrdebug |
Operator |
Rebuild using the current seed |
/rrdryrun [seed] |
Operator |
Preview compatibility without changing the world |
/rrcheck |
Operator |
Validate filters and report recipe compatibility |
/rrdump |
Operator |
Export the active mapping |
The old /rsh... and /dkrsreload command names are not used in version 1.2.0.
Configuration
The configuration file is config/randomized_recipes-common.toml.
| Option |
Default |
Description |
randomize_recipes |
true |
Enable or disable randomization |
shuffle_preset |
BALANCED |
Select SAFE, BALANCED, or CHAOS |
avoid_unchanged_outputs |
true |
Minimize recipes that keep their original output |
shuffle_output_counts |
false |
Move output quantities with shuffled items |
item_blacklist |
Safety defaults |
Block specific output items |
recipe_blacklist |
Empty |
Leave specific recipes unchanged |
recipe_type_allowlist |
Empty |
Shuffle only listed recipe serializers |
recipe_type_blacklist |
Empty |
Block listed recipe serializers |
item_tag_allowlist |
Empty |
Use outputs only from listed item tags |
item_tag_blacklist |
Empty |
Block outputs from listed item tags |
mod_blacklist |
Empty |
Exclude entire mod namespaces |
show_welcome_message |
true |
Show the command hint once per player per world |
reset_welcome_message |
false |
Show the welcome to the next joining player again |
safe_mode |
false |
Legacy override for Safe behavior |
chaos_mode |
false |
Legacy override for Chaos behavior |
Safe protects essential early-game outputs such as planks, sticks, crafting tables, furnaces, basic pickaxes, torches, and chests. Balanced respects all configured filters. Chaos ignores filters and selects from every registered non-empty item.
Compatibility
JEI reads the active shuffled recipes because the mod changes the actual server recipe data. A recipe reload updates the collection JEI receives. No separate JEI integration add-on is required.
Modded data-driven recipes are supported when they use recognized result structures such as result, output, outputs, result_item, or output_item. Dynamic, programmatic, or unrecognized recipes remain unchanged to prevent corruption.
Use /rrdryrun, /rrcheck, or /rrstatus to see exact compatibility results for a modpack.
Building
./gradlew build
The release JAR is written to build/libs.
Project information
- Version:
1.2.0
- Mod ID:
randomized_recipes
- Loader: Forge
- Minecraft: 1.20.1
- License: See LICENSE
评论 0
登录后参与评分
还没有评论,来抢沙发吧