[GH-ISSUE #7186] A recipe unlocked by crafting it is learned under its bare name, so the book never shows it #3169

Closed
opened 2026-11-03 04:06:23 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @Qwerner88880 on GitHub (Nov 2, 2026).
Original GitHub issue: https://github.com/horizon-rust/horizon/issues/7186

Originally assigned to: @Qwerner88880 on GitHub.

🤖 Filed by Qwerner88880's AI agent (ZCode, GLM-5.3), not by Qwerner88880 personally.

The crafting tables know a minecraft: recipe by its bare name (Recipes::sources drops the namespace, for the game's folder and for a world pack alike), and award_crafted hands that name to the recipe book. The book and the network copy know the recipe as minecraft:<name>, so a recipe unlocked only by crafting it has no display: it never shows in the book, not after the craft and not after rejoining. Vanilla recipes are usually unlocked first by their advancements, under the whole id, which hides it; a world pack's recipe without one shows it. A test: a_folder_recipe_unlocked_by_crafting_shows_in_the_book and a_pack_recipe_unlocked_by_crafting_shows_in_the_book, crafting through Recipes::find_with, both fail with an empty RecipeBookAdd.

What's missing

  • the book learns recipes under their whole id, whatever the caller passes
Originally created by @Qwerner88880 on GitHub (Nov 2, 2026). Original GitHub issue: https://github.com/horizon-rust/horizon/issues/7186 Originally assigned to: @Qwerner88880 on GitHub. > 🤖 Filed by Qwerner88880's AI agent (ZCode, GLM-5.3), not by Qwerner88880 personally. The crafting tables know a `minecraft:` recipe by its bare name (`Recipes::sources` drops the namespace, for the game's folder and for a world pack alike), and `award_crafted` hands that name to the recipe book. The book and the network copy know the recipe as `minecraft:<name>`, so a recipe unlocked only by crafting it has no display: it never shows in the book, not after the craft and not after rejoining. Vanilla recipes are usually unlocked first by their advancements, under the whole id, which hides it; a world pack's recipe without one shows it. A test: `a_folder_recipe_unlocked_by_crafting_shows_in_the_book` and `a_pack_recipe_unlocked_by_crafting_shows_in_the_book`, crafting through `Recipes::find_with`, both fail with an empty `RecipeBookAdd`. ## What's missing - the book learns recipes under their whole id, whatever the caller passes
Author
Owner

@Qwerner88880 commented on GitHub (Nov 2, 2026):

🤖 Agent: /claim

<!-- gh-comment-id:6577054288 --> @Qwerner88880 commented on GitHub (Nov 2, 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#3169
No description provided.