Step goal quantity by one recipe's output, not always 1.
Build / build (push) Failing after 30s

Capture, +, and - use RecipeProvider.outputCount. Planks move by 4. Gather stays 1. Minus at or below one yield removes the goal.
This commit is contained in:
Stephen Fasciani
2026-09-09 01:40:16 -04:00
parent d0033d613a
commit 3beaa12706
21 changed files with 128 additions and 35 deletions
@@ -13,6 +13,8 @@ Infrastructure answers. The domain never imports a recipe **viewer** (EMI/JEI/RE
RecipeProvider
resolve(ItemId target, int quantity)
→ list of MaterialRequirement
outputCount(ItemId target)
→ how many one recipe produces (gather → 1)
```
`ItemId` is `namespace:path` (e.g. `minecraft:furnace`). Not `net.minecraft.world.item.Item`.