VanillaRecipeProvider must consider every RecipeType, not only crafting.
9.6 KiB
🧭 Notes for the Wayfinder
Append-only journal for the future maintainer.
Do not rewrite history — add a new dated entry.
📜 2026-09-07
Greetings, Wayfinder.
Today the foundations were laid.
The project is now documented as a domain-driven goal-tracking and material-planning system rather than a crafting helper.
A home exists for:
- Vision
- Philosophy
- Language
- Architecture
- Planning
The kingdom has borders.
Its inhabitants do not yet exist.
Next destination:
Define the core domain entities.
Begin with Goal.
Avoid:
Implementation details.
The dragons of EMI, JEI, REI, and NeoForge GUIs remain beyond the mountains.
📜 2026-09-07 (architecture scaffold)
Greetings, Wayfinder.
An architecture scaffold was recorded. It is allowed to change as we iterate.
Guiding principle
Goals are the domain. Recipes are implementation details.
Layers
UI → Application → Domain. Infrastructure implements ports and depends inward.
The first diagram had Domain pointing at Infrastructure. That contradicted the golden rule. The map was corrected.
Ports named, not designed
RecipeProvider(EMI / JEI / REI; later vanilla)- Persistence (world save / server save / future cloud)
- Inventory (available quantities only)
Domain services (three, not one)
- Recipe Resolution
- Material Aggregation
- Progress Calculation
A combined “RecipeAggregationService” was rejected. Those are different questions.
Remember
- Ready To Craft is not completion
- Projects are organizational; aggregation is across active goals
- Inventory is a quantity; scanning is infrastructure
- UI is replaceable and must not contain domain logic
Next destination
Still not code.
Deepen Goal until it is boring. Then package layout, then the RecipeProvider port shape, then Create Goal.
📜 2026-09-07 (the vault)
Greetings, Wayfinder.
Design documentation now follows the Media Farm vault.
Template: C:\Users\Stephen\OneDrive\Documents\Media-Pipeline\docs
docs/
00-Vision/
01-Philosophy/
02-Domain/
03-Architecture/
04-Planning/
05-Experience/ # not opened
99-backlog/
The old flat files docs/domain.md and docs/architecture.md were the first draft. Their content lives on the shelves now.
Today's lesson
The goal is not to remember where things are.
The goal is to build a world where their location is obvious.
Avoid
- Opening the Experience shelf before the domain can describe a player day without mentioning EMI
- Writing an Implementation Plan for code that does not exist
- Inventing bounded contexts because other projects have several
- Treating the NeoForge example block as architecture
The map exists.
The territory is still empty — but the borders match the discovery.
📜 2026-09-07 (a player day)
Greetings, Wayfinder.
The domain can describe a player day without naming a recipe mod. The Experience shelf is open.
The walk
Golden day: the player is in the world. A play overlay shows missing materials. They gather. The list shrinks. Ready is not complete. They still do the work.
Interrupt: they are already looking at an item in inventory, the crafting bench craft pane, or the craft book. Hover. + Add to Crafting Goals. That is Create Goal. Then back to play.
There is no daily menu. Capture is in-place. We do not own those host views.
ADR-010 records this. Player copy "Crafting Goals" means Goal.
What we did not invent
- Target Quantity at capture
- Overlay pixel placement
- A full-screen planner
- Confirmations (no such rule here)
- Fake screens beyond those two
Next destination
Still not code.
Quantity at capture is now a live Goal question. Deepen Goal until it is boring. Then package layout, RecipeProvider, Create Goal.
Avoid:
- Treating inventory / bench / craft book as Satistaskory screens
- Opening an Implementation Plan
- Drawing a planner pane because other mods have one
📜 2026-09-07 (concept art → Screen 2)
Greetings, Wayfinder.
The player had already drawn the living overlay. We merged it with the domain instead of treating it as a second product.
The drawing
Title SATISTASKORY. Upper list: Furnace 3, Crafting Bench 5, Chest 8, each with [+] [-]. Lower list: Wooden Planks. Footer: X Clear Items.
The merge
| Art | Domain |
|---|---|
| Upper rows | 🎯 Goal + Target Quantity |
[+] / [-] |
Quantity on the living surface |
| Lower region | 📉 Missing Material, aggregated |
| Clear Items | Drop the tracked goals |
ADR-011 records this. It refines ADR-010: the overlay is not missing-materials-only. Both vision questions live on one play-screen panel.
Capture is unchanged: hover → add → new row in the upper list.
What we did not invent
- Initial quantity at hover-add
- Quantity reaching 0
- Row selection (lower list is not a per-goal recipe pane)
- Confirm-before-clear
- Pixel placement
- A third screen
Rule #3 still holds: the lower region is missing materials, not a recipe tree.
Next destination
Still not code.
Initial quantity at capture, and what [+] / [-] means at 0, are live Goal questions.
📜 2026-09-07 (the lower list was unfinished)
Greetings, Wayfinder.
The concept art’s lower region was a stub: “Wooden Planks,” no counts, empty space.
The player’s intent: aggregate the materials, and show how many of each are needed.
That is already in the domain. Screen 2 is now finished:
- One row per material
- Count = still needed (
Missing = Required - Available) - Same material from two goals is one row (benches and chests both need planks → one Wooden Planks line)
- Counts shrink as the player gathers
[+]/[-]on a goal recalculates the list
The numbers in the wireframe (Planks 84, Cobblestone 24) are an illustration of aggregation, not a recipe table. No “8 cobble per furnace” on this panel.
ADR-011 updated to match. Rule #3 still holds.
📜 2026-09-08 (the short sit)
Greetings, Wayfinder.
The first slice is settled in the vault. Not an Implementation Plan. Not code.
Goal
ItemId=namespace:path- One Goal per ItemId
- Quantity ≥ 1
- Create = 1, or +1 if present
[-]at 1 removes
Packages
domain / application / infrastructure.recipe / infrastructure.inventory / infrastructure.client
No Project, EMI, or persistence packages yet. Stub first.
Port
RecipeProvider.resolve(ItemId, quantity) → list of MaterialRequirement
One level. No recipe → gather (the item itself). First impl: StubRecipeProvider.
Progress: remaining = qty − owned(target), then resolve, then missing = required − available.
Create Goal
Application use case. Capture is a caller, not the use case. Overlay on the right.
ADRs 012–014.
Next destination
Write the Java for that slice. Remove the example block when domain types land.
Avoid:
- Starting EMI because the port exists
- Opening Implementation Plan as a fiction before a line of domain code
- Packaging Project “while we’re here”
📜 2026-09-08 (the first slice)
Greetings, Wayfinder.
The example block is gone. Domain types live under com.sufficient.satistaskory.domain. They do not import NeoForge.
What shipped:
ItemId,Goal, requirements, inventory snapshot, progressStubRecipeProvider(furnace / crafting table / chest + gather fallback)- In-memory
Planner(create / + / − / clear) - Player inventory adapter
- Play overlay on the right
/satistaskory add <item>and/satistaskory clear
Restarting the world forgets the plan. That is the freeze, not a bug.
Hover-add is still the experience target. The command is the first caller of Create Goal.
Unit tests cover increment, remove-at-1, plank aggregation (84 / 24), owned furnaces reducing cobble, gather diamonds.
Avoid: EMI next “because we can.”
📜 2026-09-08 (prose caught up)
Greetings, Wayfinder.
The walk is real. The vault had drifted.
What the code actually does:
- Capture: tooltip + rebindable Add key (
=). Inventory, craft pane, craft book. Not a click-off-the-slot chip. - Overlay: HUD, not a
Screen. Vanillawidget/buttonsprites +UI_BUTTON_CLICK. Cursor via chat. - Application: one
Planner, not five use-case classes. - Stub: three recipes. Oak planks as a goal is gather, not logs.
- Command add is debug. Unknown ids fail.
ADR-015 records capture-as-key and HUD-not-Screen.
Next: world save, then vanilla RecipeProvider. Not EMI. Not a Screen rewrite.
📜 2026-09-08 (no recipe-viewer dependency)
Greetings, Wayfinder.
EMI / JEI / REI were never in Gradle. They were named as RecipeProvider implementations without a domain reason.
ADR-016: lookup is RecipeManager. Modded recipes that register a RecipeType / serializer / JSON land there. Viewers only display them.
Next recipe impl: VanillaRecipeProvider. A viewer adapter only if a recipe exists solely in EMI and never in RecipeManager.
📜 2026-09-08 (CC turtle and AE2)
Greetings, Wayfinder.
VanillaRecipeProvider must scan all RecipeTypes by output item, not only minecraft:crafting.
- CC:Tweaked turtle: in
RecipeManageras 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 areae2:inscriber, still inRecipeManager. Presses as catalysts are not modelled yet.
Those two are the acceptance tests for “modded items work.”