Recursive AE2 Pattern Provider
? 概述
Recursive AE2 Pattern Provider 通过直接在您的网络中自动生成复杂配方的依赖模式,彻底革新了 Applied Energistics 2 的自动化流程。告别繁琐的手动模式创建,迎接轻松的多层级合成自动化!
✨ 功能特性
? 自动模式生成
- 智能依赖: 自动为缺失的合成原料创建模式。
- 递归逻辑: 为原料的原料生成模式,深度由您配置决定。
- 配方发现: 仅针对拥有有效合成配方的物品创建模式。
⚠️ 注意: 如果您将非合成模式设置为递归,必须将其放置在直接连接到 Molecular Assembler(分子组装器) 的 Pattern Provider 中。
?️ 终端 GUI 集成与单模式控制
- 终端内直接切换: 在 Pattern Encoding Terminal(模式编码终端)(合成模式选项卡)内的流体替代按钮旁,轻松开启/关闭递归功能。
- 工作台替代方案: 使用工作台配方转换模式 (
[AE2 Pattern] + [Recipe Item] → [Recursive Pattern])。 - 自动持久化: 在终端中重新编码现有的递归模式会自动保留其递归状态。
- 通用支持: 适用于所有 AE2 模式类型:
- Crafting Patterns(合成模式)
- Processing Patterns(加工模式)
- Smithing Table Patterns(锻造台模式)
- Stonecutting Patterns(切石机模式)
- 移除递归: 在工作台中单独制作递归模式(不含配方物品),可将其转换回普通模式。
? 视觉反馈
- 原生工具提示: 在合成模式的 "Encoded by" 行上方显示细微的绿色 Recursive 标签。
⚙️ 配置选项
- 终端 GUI 切换: 在 Pattern Encoding Terminal 中启用或禁用递归按钮 (
enableEncodingGuiToggle)。 - 递归深度: 控制模式生成的深度 (
-1= 无限制,0= 禁用,1+= 最大深度限制)。 - 配方物品: 自定义制作递归模式所需的物品(默认:
minecraft:iron_ingot)。 - 替代继承: 自动生成的模式会继承父模式的替代设置。
- 默认设置: 配置没有父上下文时的默认替代行为。
? 使用方法
方法 A:模式编码终端(推荐)
- 打开 Pattern Encoding Terminal。
- 选择 Crafting Pattern 模式。
- 将 Recursive Pattern 按钮切换为 ON(绿色对勾)。
- 插入您的配方并点击 Encode Pattern。
方法 B:工作台配方
[AE2 Pattern] + [Recipe Item] → [Recursive Pattern]
在任何工作台中使用配置的配方物品(默认:Iron Ingot)制作该模式。
移除递归
[Recursive Pattern] → [Normal Pattern]
单独制作递归模式(不含配方物品)即可使其恢复为普通模式。
? 自定义配方物品
要更改制作递归模式所需的物品,请编辑 config/recursiveae2patternprovider-common.toml:
[recursiveae2patternprovider-common.toml]
recipeItem = "minecraft:diamond" # 使用钻石代替铁锭
# 或使用其他任何物品:
# recipeItem = "minecraft:gold_ingot"
# recipeItem = "ae2:calculation_processor"
Recursive AE2 Pattern Provider
? Overview
Recursive AE2 Pattern Provider revolutionizes Applied Energistics 2 automation by automatically generating dependency patterns for complex recipes directly within your network. Say goodbye to tedious manual pattern creation and hello to effortless multi-tier crafting automation!
✨ Features
? Automatic Pattern Generation
- Smart Dependencies: Automatically creates patterns for missing crafting ingredients.
- Recursive Logic: Generates patterns for ingredients of ingredients, as deep as you configure.
- Recipe Discovery: Only creates patterns for items that have valid crafting recipes.
⚠️ Note: If you set a non-crafting pattern as Recursive, you must place it in a Pattern Provider directly attached to a Molecular Assembler.
?️ Terminal GUI Integration & Per-Pattern Control
- Direct Terminal Toggle: Easily toggle recursion ON/OFF directly inside the Pattern Encoding Terminal (Crafting Pattern tab) next to the fluid substitution buttons.
- Crafting Table Alternative: Convert patterns using a crafting table recipe (
[AE2 Pattern] + [Recipe Item] → [Recursive Pattern]). - Automatic Persistence: Re-encoding an existing recursive pattern in the terminal automatically preserves its recursive status.
- Universal Support: Works with ALL AE2 pattern types:
- Crafting Patterns
- Processing Patterns
- Smithing Table Patterns
- Stonecutting Patterns
- Remove Recursion: Craft a recursive pattern alone (without the recipe item) in a crafting table to convert it back to a normal pattern.
? Visual Feedback
- Clean Native Tooltips: Displays a subtle, green Recursive tag directly above the "Encoded by" line for Crafting Patterns.
⚙️ Configuration Options
- Terminal GUI Toggle: Enable or disable the recursive button in the Pattern Encoding Terminal (
enableEncodingGuiToggle). - Recursion Depth: Control how deep pattern generation goes (
-1= unlimited,0= disabled,1+= max depth limit). - Recipe Item: Customize which item is required to craft recursive patterns (default:
minecraft:iron_ingot). - Substitute Inheritance: Auto-generated patterns inherit substitute settings from parent patterns.
- Default Settings: Configure default substitute behavior for patterns without parent context.
? How to Use
Method A: Pattern Encoding Terminal (Recommended)
- Open the Pattern Encoding Terminal.
- Select the Crafting Pattern mode.
- Toggle the Recursive Pattern button to ON (green checkmark).
- Insert your recipe and click Encode Pattern.
Method B: Crafting Table Recipe
[AE2 Pattern] + [Recipe Item] → [Recursive Pattern]
Craft the pattern with the configured recipe item (default: Iron Ingot) in any crafting table.
Remove Recursion
[Recursive Pattern] → [Normal Pattern]
Craft the recursive pattern alone (without the recipe item) to make it normal again.
? Customizing the Recipe Item
To change which item is required for crafting recursive patterns, edit config/recursiveae2patternprovider-common.toml:
[recursiveae2patternprovider-common.toml]
recipeItem = "minecraft:diamond" # Use diamond instead of iron
# Or use any other item:
# recipeItem = "minecraft:gold_ingot"
# recipeItem = "ae2:calculation_processor"
下载 RecursiveAE2PatternProvider
下载 RecursiveAE2PatternProvider
下载 RecursiveAE2PatternProvider
下载 RecursiveAE2PatternProvider
下载 RecursiveAE2PatternProvider
下载 RecursiveAE2PatternProvider
下载 RecursiveAE2PatternProvider
下载 RecursiveAE2PatternProvider
下载 RecursiveAE2PatternProvider
下载 RecursiveAE2PatternProvider
使 maxAlternativesPerItem 生效,并将基于库存驱动的配方排在最后
- 在两种选择模式中应用 maxAlternativesPerItem(当 retainRecipeAlternatives=true 时,硬编码的 64 会绕过此限制),并统计不同的配方数量而非原料变体。默认值从 1 提升至 8。
- RecipeSelection.alternatives():发布那些仅因原料循环回配方图(层级精华)而被 rank() 拒绝的配方。排序顺序为:无环配方、有环配方、基于库存驱动的配方。
- 将层级拆解(一种物品进入,产出更多可逆配方的物品)视为方块拆解:排在最后,不计入上限,不进行展开。为每次拆解发布相应的压缩配方。
- 重新排序 CraftingService.getCraftingFor,使用户编码的模式优先,其次是生成的模式,最后是生成的基于库存驱动的模式;AE2 在 HashSet 中保留相同优先级的模式,因此生成顺序没有影响。
- 跳过为网格已报告可制作的物品生成模式。
- 静态选择为每个配方发布一个原料变体,因此标签(玻璃、木材)不再导致模式倍增。
- 添加 debugLogging 选项(默认关闭),用于控制每项物品的 [alternatives] 诊断信息,并在上限排除配方时输出一条 INFO 级别日志,以及在加载时添加构建标记。
- 添加缺失的配置翻译(defaultRecursiveMode, retainRecipeAlternatives, generatedIngredientAlternatives, debugLogging)。
配方增强
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
一个用于收集生物掉落物的多区块模组。
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
查看物品与配方
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
添加区块认领和玩家组队功能,并与 Xaero's Minimap 和 World Map 集成
评论 0
登录后参与评分
还没有评论,来抢沙发吧