Skip to content

Improve Guidebook Item Resolver#1276

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

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

Conversation

@BPR02

@BPR02 BPR02 commented Feb 28, 2026

Copy link
Copy Markdown
Member

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.

@Bloo-dev Bloo-dev left a comment

Copy link
Copy Markdown
Member

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.

Comment thread gm4_guidebook/generate_guidebooks.py Outdated
Comment thread gm4_guidebook/generate_guidebooks.py
Co-authored-by: Bloo <git@bloo.boo>
@BPR02

BPR02 commented Feb 28, 2026

Copy link
Copy Markdown
Member Author

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