bac020f335
Build / build (push) Failing after 32s
Tag ingredients are one interchangeable requirement. Available is the sum. Overlay names the stack the player holds; empty shows Planks, not oak-by-default.
809 B
809 B
➕ Material Aggregation
Combines requirements from multiple 🎯 Goal.
Input
- Active Goals
Output
- Aggregated Material List — one entry per material, with how many are needed
Same material from two goals is one entry. Goal A needs Diamond x4. Goal B needs Diamond x8. Aggregated: Diamond x12.
The same interchangeable set (every plank type) from two goals is one entry.
Rule
Aggregation is across active goals.
📁 Project do not form a calculation boundary.
📈 Progress Calculation turns each aggregated count into still-needed (Missing = Required - Available).