Skip to content

feat: Add itemModel support for 1.21.4+ to recipe results#194

Merged
Thorinwasher merged 3 commits into
BreweryTeam:masterfrom
Invictable:master
Jun 4, 2026
Merged

feat: Add itemModel support for 1.21.4+ to recipe results#194
Thorinwasher merged 3 commits into
BreweryTeam:masterfrom
Invictable:master

Conversation

@Invictable

Copy link
Copy Markdown
Contributor

Adds support for setting an itemmodel to brew results. Added in the recipes.yml config under itemModel. requires full path ex. namespace:path/to/model, up to three models per recipe delimited by ';' to match custommodeldata.

@Thorinwasher Thorinwasher left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Looks good to me, I have one question on using ; instead of / to separate quality.

Generally, for consistency, / would be prefereable to use. You could alternatively check initially if any ; character is present and separate based on that, otherwise go with /

Comment thread src/main/java/com/dre/brewery/recipe/BRecipe.java
Comment thread src/main/java/com/dre/brewery/Brew.java
# Conflicts:
#	src/main/java/com/dre/brewery/utility/MinecraftVersion.java

@Thorinwasher Thorinwasher left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Looks good to me, I think I forgot about this one, sorry 😅

@Thorinwasher Thorinwasher merged commit 4071d91 into BreweryTeam:master Jun 4, 2026
1 check passed
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