Skip to content

Improve Guidebook Item Resolver#1276

Merged
Bloo-dev merged 9 commits intoGamemode4Dev:update-26.1from
BPR02:guidebook-recipe-tags
Feb 28, 2026
Merged

Improve Guidebook Item Resolver#1276
Bloo-dev merged 9 commits intoGamemode4Dev:update-26.1from
BPR02:guidebook-recipe-tags

Conversation

@BPR02
Copy link
Member

@BPR02 BPR02 commented Feb 28, 2026

This PR adds the following changes to the guidebook item tag resolution (getting a single item from an item tag)

  • supports non-vanilla tags
  • supports {"id": "...", "required": false} entries in item tags (previously assumed strings)

Required for #1138 to build properly.

Copy link
Member

@Bloo-dev Bloo-dev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I found some potential issues. These should never occur, but it would be nice to catch them and raise custom ValueErrors instead.

Co-authored-by: Bloo <git@bloo.boo>
@BPR02
Copy link
Member Author

BPR02 commented Feb 28, 2026

Yeah, I agree the Guidebook script could use better error messages, but it might be better to do that in a separate PR that doesn't modify the actual result of a successful run

@Bloo-dev Bloo-dev merged commit a77c069 into Gamemode4Dev:update-26.1 Feb 28, 2026
2 checks passed
@Bloo-dev Bloo-dev mentioned this pull request Feb 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants