Skip to content

Fix item and block-item tinting asset generation#1156

Merged
MaxNeedsSnacks merged 4 commits into
KubeJS-Mods:2601from
liopyu:2601
Jun 22, 2026
Merged

Fix item and block-item tinting asset generation#1156
MaxNeedsSnacks merged 4 commits into
KubeJS-Mods:2601from
liopyu:2601

Conversation

@liopyu

@liopyu liopyu commented Jun 18, 2026

Copy link
Copy Markdown
Contributor

This fixes ItemBuilder#color and block-item color() by generating the newly required tints sources in the item definition assets.
We also properly account for models with multiple tint overlays. This is done by computing the highest tint index used by the item or inherited block tint, then generating enough tint entries for the model.

@MaxNeedsSnacks MaxNeedsSnacks merged commit ae304ba into KubeJS-Mods:2601 Jun 22, 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