Recursive AE2 Pattern Provider
🔄 Overview
Recursive AE2 Pattern Provider fundamentally transforms automation in Applied Energistics 2 by automatically generating dependency patterns for complex recipes. Say goodbye to tedious pattern creation and enjoy effortless multi-tier crafting automation!
✨ Features
🎯 Automatic Pattern Generation
- Smart Dependencies: Automatically generates patterns for missing crafting components
- Recursive Logic: Creates patterns for ingredients of ingredients to the configured depth
- Recipe Discovery: Only generates patterns for items with valid crafting recipes
- Note: For non-crafting recursive patterns, connection to a molecular assembler is required
🔧 Per-Pattern Control
- Add Recursion: Craft any AE2 pattern with the specified item (default: iron ingot) to activate recursive functionality
- Universal Support: Works with ALL AE2 pattern types:
- Crafting Patterns
- Processing Patterns
- Smithing Table Patterns
- Stonecutting Patterns
- Remove Recursion: Craft recursive pattern alone (without recipe item) to return to normal state
🎨 Visual Feedback
- Enhanced Tooltips: Clear indicators of recursive status and usage instructions
⚙️ Configuration Options
- Recursion Depth: Control pattern generation depth (-1 = unlimited, 0 = disabled, 1+ = limited depth)
- Recipe Item: Configure required item for creating recursive patterns (default:
minecraft:iron_ingot) - Substitute Inheritance: Auto-generated patterns inherit substitute settings from parent patterns
- Default Settings: Configure substitute behavior for patterns without parent context
🎮 How to Use
Step 1: Create Your Pattern
Create any AE2 pattern normally (e.g., Iron Pickaxe recipe)
Step 2: Activate Recursion
[AE2 Pattern] + [Recipe Item] → [Recursive Pattern]
Craft the pattern with the specified recipe item (default: iron ingot) in any crafting table
Step 2b: Disable Recursion
[Recursive Pattern] → [Normal Pattern] Craft recursive pattern alone (without recipe item) to return to normal state
💡 Customizing Recipe Item
To change the required item for creating recursive patterns, edit mod configuration:
[recursiveae2patternprovider-common.toml]
recipeItem = "minecraft:diamond" # Use diamond instead of iron
# Or any other item:
# recipeItem = "minecraft:gold_ingot"
# recipeItem = "minecraft:emerald"
# recipeItem = "ae2:calculation_processor"
Step 3: Install in Pattern Provider
Place the recursive pattern in your Pattern Provider
Step 4: Automatic Magic
The mod automatically generates patterns for:
- Sticks (if Iron Pickaxe requires them)
- Iron Ingots (if using raw iron)
- Any other missing intermediate components
Example Scenario
Traditional AE2: To autocraft Iron Pickaxes, you manually create:
- Iron Pickaxe pattern
- Stick pattern
- Iron Ingot smelting pattern (if using raw iron)
- Wood plank pattern (if making sticks from logs)
- And so on...
With This Mod: Create ONE recursive Iron Pickaxe pattern → All dependencies auto-generated!
📋 Configuration
The mod includes several configuration options in file config/recursiveae2patternprovider-common.toml:
# Enable/disable the entire mod
enableRecursiveAE2PatternProvider = true
# Maximum recursion depth (-1 = unlimited, 0 = disabled, 1+ = limited depth)
recursionDepth = -1
# Default substitute settings for auto-generated patterns
defaultAllowSubstitutes = false
defaultAllowFluidSubstitutes = false
🔧 Technical Details
Compatibility
- Minecraft: 1.21.1
- NeoForge: Latest version (21.1.205)
- Applied Energistics 2: Required
- Extended AE: compatible
- Advanced AE: not compatible
- Server/Client: Works on dedicated servers and single-player
Performance
- Smart Caching: Prevents duplicate pattern generation
- Efficient Processing: Only generates patterns when actually needed
- AE2 Integration: Uses AE2's existing pattern system for maximum compatibility
Transform your AE2 experience from tedious pattern management to effortless automation mastery!