Skip to content

Commit

Permalink
🐛 Add default field to custom_model_data tint source
Browse files Browse the repository at this point in the history
  • Loading branch information
misode committed Nov 7, 2024
1 parent d19145d commit 2d86972
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions java/assets/item_definition.mcdoc
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,8 @@ dispatch minecraft:tint_source[map_color] to struct MapColorTint {
dispatch minecraft:tint_source[custom_model_data] to struct CustomModelDataTint {
/// The index of the `colors` list in the `custom_model_data` component. Defaults to 0.
index?: int @ 0..,
/// Tint to apply when the `custom_model_data` component is not present, or when it doesn't have a color in the specified index.
default: RGB,
}


Expand Down

0 comments on commit 2d86972

Please sign in to comment.