ADR-016: RecipeManager is the lookup source. Viewers are optional only if a recipe never registers with Minecraft.
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
Port used by [[🧾 Recipe Resolution]].
|
||||
|
||||
The domain asks: *what materials produce this many of this item?*
|
||||
Infrastructure answers. The domain never imports a recipe mod.
|
||||
Infrastructure answers. The domain never imports a recipe **viewer** (EMI/JEI/REI). Lookup is Minecraft’s `RecipeManager`.
|
||||
|
||||
---
|
||||
|
||||
@@ -37,13 +37,11 @@ Not a recipe tree. Not a recipe browser. Dependency chains are an expanded view,
|
||||
|
||||
## First implementation: stub
|
||||
|
||||
`StubRecipeProvider` in `infrastructure.recipe`.
|
||||
`StubRecipeProvider` in `infrastructure.recipe` — three shaped recipes plus gather. Shipped.
|
||||
|
||||
In-memory table of a few shaped recipes plus the identity fallback. Enough to drive Furnace / Crafting Bench / Chest in the overlay. Not vanilla-complete. Not EMI.
|
||||
Next: `VanillaRecipeProvider` over `RecipeManager` (vanilla and modded recipes registered with Minecraft). See ADR-016.
|
||||
|
||||
Later implementations (not this slice): `EmiRecipeProvider`, `JeiRecipeProvider`, `ReiRecipeProvider`, `VanillaRecipeProvider`.
|
||||
|
||||
If a recipe mod disappears, only the adapter changes. See ADR-003, ADR-014.
|
||||
EMI / JEI / REI are not implementations and not Gradle dependencies.
|
||||
|
||||
---
|
||||
|
||||
|
||||
Reference in New Issue
Block a user