Require RecipeManager scan-by-output for CC turtles and AE2.
Build / build (push) Failing after 27s

VanillaRecipeProvider must consider every RecipeType, not only crafting.
This commit is contained in:
Stephen Fasciani
2026-09-08 05:21:15 -04:00
parent b56403388c
commit 83a5dc84ff
3 changed files with 25 additions and 1 deletions
+3 -1
View File
@@ -264,7 +264,9 @@ A button next to the slot vanishes when the cursor leaves the item. A `Screen` r
**Decision:** Satistaskory does **not** depend on EMI, JEI, or REI.
Recipe lookup for [[🔌 Recipe Provider]] is Minecraft’s `RecipeManager` (vanilla + every mod that registers recipes through that API). Next implementation after the stub: `VanillaRecipeProvider`.
Recipe lookup for [[🔌 Recipe Provider]] is Minecraft’s `RecipeManager` (vanilla + every mod that registers recipes through that API). Scan **by output** across **all** recipe types, not only `minecraft:crafting`. Next implementation after the stub: `VanillaRecipeProvider`.
Examples that must work without EMI: CC:Tweaked turtle, AE2 crafting and inscriber items.
EMI / JEI / REI are recipe **viewers**. They are not a lookup dependency. An adapter to a viewer is only justified if a real recipe exists *only* in that viewer and never in `RecipeManager`. That has not been observed.
@@ -33,6 +33,15 @@ RecipeProvider
Not a recipe tree. Not a recipe browser. Dependency chains are an expanded view, not this port.
Lookup is **by output item**, across **every** `RecipeType` in `RecipeManager`, not only `minecraft:crafting`. Custom types (`computercraft:…`, `ae2:inscriber`, …) still live in `RecipeManager` if the mod registered them. Prefer a crafting-table recipe when several types match; otherwise pick one (ADR-014).
Acceptance when `VanillaRecipeProvider` ships:
- A **CC:Tweaked turtle** resolves to its registered ingredients (computer, chest, ingots — one level, not the computer’s own recipe).
- An **AE2** item that has a `RecipeManager` entry (crafting *or* inscriber) resolves to those ingredients. Processors are inscriber recipes, still in `RecipeManager`, not in EMI.
Catalysts (AE2 press not consumed) are not modelled yet. The adapter may list them as requirements until the domain grows a “not consumed” flag. That is honesty, not a viewer dependency.
---
## First implementation: stub
@@ -328,6 +328,19 @@ Next recipe impl: `VanillaRecipeProvider`. A viewer adapter only if a recipe exi
---
## 📜 2026-09-08 (CC turtle and AE2)
Greetings, Wayfinder.
`VanillaRecipeProvider` must scan **all** `RecipeType`s by output item, not only `minecraft:crafting`.
- CC:Tweaked turtle: in `RecipeManager` as a custom CC type (not always shaped crafting). One level: computer + chest + ingots, not the computer’s recipe.
- AE2: crafting items are `minecraft:crafting`; processors are `ae2:inscriber`, still in `RecipeManager`. Presses as catalysts are not modelled yet.
Those two are the acceptance tests for “modded items work.”
---
## Related Documents
[[🌟 Project Vision]]