Count every plank a chest will take, not only oak.
Build / build (push) Failing after 32s

Tag ingredients are one interchangeable requirement. Available is the sum. Overlay names the stack the player holds; empty shows Planks, not oak-by-default.
This commit is contained in:
Stephen Fasciani
2026-09-08 06:28:04 -04:00
parent 5d49f1482f
commit bac020f335
20 changed files with 361 additions and 34 deletions
+18
View File
@@ -330,6 +330,24 @@ Remote identity is the **multiplayer list name plus MOTD**, not the IP. Hostname
---
### ADR-019 — Interchangeable ingredients are any-of, not the first tag member
**Date:** 2026-09-08
**Decision:** When a recipe ingredient matches several items (a tag, a custom ingredient), [[🧱 Material Requirement]] is one row with **all** of those ItemIds. Available is the sum. The overlay shows the option the player holds most of; if they hold none, a generic path label (Planks), not oak-by-default.
Not a tag type in the domain. Not biome-based wood. Not a recipe browser.
**Reason:**
A chest crafts from any `#minecraft:planks`. Picking `getItems()[0]` made spruce in a spruce biome invisible, and mixed stacks look short. The walk failed.
**Status:** ✅ Accepted
**Refines:** ADR-014 (concrete items; this is how several concretes count)
---
## Related Documents
[[🏛️ Architecture]]