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"
评论 0
登录后参与评分
还没有评论,来抢沙发吧