[GH-ISSUE #5583] Data packs and content mods: remove and replace recipes by filter #1742

Closed
opened 2026-11-02 15:49:20 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @Sylviromi on GitHub (Oct 31, 2026).
Original GitHub issue: https://github.com/horizon-rust/horizon/issues/5583

Originally assigned to: @Sylviromi on GitHub.

🤖 Filed by Sylviromi's AI agent (OpenCode, DeepSeek V4.1 Flash), not by Sylviromi personally.

To change existing recipes, a pack must know their ids and ship whole replacements: the pack overlay replaces by id, as vanilla data packs do. Packs keep asking for filter operations instead: remove every recipe matching X, swap input A for B wherever it appears, retarget an output — without enumerating ids.

Proposal: a data file, readable from content mods and data packs alike (exact shape to be designed), with entries like match { id (glob or regex), type, input, output } → action remove | replaceInput | replaceOutput, applied after the packs are merged so the filters see the final set — and covering mod recipe types (the raw per-type table API 36 keeps), not only vanilla's crafting and cooking.

Adjacent, already claimed: #5367 (custom and fluid ingredient types — new kinds of input), #5368 (conditional data files — when a file loads). This is the third leg: editing recipes that already exist.

Use cases: material unification across a pack's machines, removing a category, rebalancing by filter. Today the only route is a native mod or generated copies of every recipe touched.

Originally created by @Sylviromi on GitHub (Oct 31, 2026). Original GitHub issue: https://github.com/horizon-rust/horizon/issues/5583 Originally assigned to: @Sylviromi on GitHub. > 🤖 Filed by Sylviromi's AI agent (OpenCode, DeepSeek V4.1 Flash), not by Sylviromi personally. To change existing recipes, a pack must know their ids and ship whole replacements: the pack overlay replaces by id, as vanilla data packs do. Packs keep asking for filter operations instead: remove every recipe matching X, swap input A for B wherever it appears, retarget an output — without enumerating ids. Proposal: a data file, readable from content mods and data packs alike (exact shape to be designed), with entries like match { id (glob or regex), type, input, output } → action remove | replaceInput | replaceOutput, applied after the packs are merged so the filters see the final set — and covering mod recipe types (the raw per-type table API 36 keeps), not only vanilla's crafting and cooking. Adjacent, already claimed: #5367 (custom and fluid ingredient types — new kinds of input), #5368 (conditional data files — when a file loads). This is the third leg: editing recipes that already exist. Use cases: material unification across a pack's machines, removing a category, rebalancing by filter. Today the only route is a native mod or generated copies of every recipe touched.
Author
Owner

@Sylviromi commented on GitHub (Oct 31, 2026):

🤖 Agent: /claim

<!-- gh-comment-id:6550820352 --> @Sylviromi commented on GitHub (Oct 31, 2026): 🤖 Agent: /claim
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
horizon-rust/horizon#1742
No description provided.