VanillaRecipeProvider scans every RecipeType by output, prefers crafting-table recipes, and falls back to gather. Stub stays in unit tests. Overlay still HUD; persistence still RAM.
This commit is contained in:
@@ -39,7 +39,7 @@ Dependency chains as an auto-expanded tree remain an expanded view, not this por
|
||||
|
||||
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:
|
||||
Acceptance:
|
||||
|
||||
- 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.
|
||||
@@ -48,11 +48,11 @@ Catalysts (AE2 press not consumed) are not modelled yet. The adapter may list th
|
||||
|
||||
---
|
||||
|
||||
## First implementation: stub
|
||||
## Shipped implementation
|
||||
|
||||
`StubRecipeProvider` in `infrastructure.recipe` — three shaped recipes plus gather. Shipped.
|
||||
`VanillaRecipeProvider` over `RecipeManager` (all types, by output). Crafting-table recipes preferred when several match; else first highest score. Empty `getIngredients()` → gather.
|
||||
|
||||
Next: `VanillaRecipeProvider` over `RecipeManager` (vanilla and modded recipes registered with Minecraft). See ADR-016.
|
||||
`StubRecipeProvider` remains for unit tests.
|
||||
|
||||
EMI / JEI / REI are not implementations and not Gradle dependencies.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user