There should be a new component for changing the item model color. The custom_model_data component does not change the color/tint of the item, so the new custom_model_tint component should.
This component should not only change the item model, but any models related to it. For example, if you make an iron helmet tinted green, both the entity and item models should be tinted green. There should be a tint_strength syntax, which is in decimal form (minimum:0,maximum:1,default:0.5). All pixels in the texture will be tinted except for fully transparent pixels.
This will be good for minigames that want to add custom items, but don't want to use a texture pack or gaslight the player into thinking an item is something else.
Here are some examples:
/give @s iron_sword[custom_model_tint:4322180,custom_name:{text:"Emerald Sword",italic:false}]
/give @a iron_pickaxe[custom_model_tint:6684876,custom_name:{text:"Amethyst Pickaxe",italic:false}]
/give @r iron_chestplate[custom_model_tint:13722880,custom_name:{text:"Copper Chestplate",italic:false}]
/give @p iron_axe[custom_model_tint:13697076,custom_name:{text:"Redstone Axe",italic:false}]
/give @s diamond_shovel[custom_model_tint:{rgb:1459454,tint_strength:0.75},custom_name:{text:"Lapis Shovel",italic:false}]
Please sign in to leave a comment.
1 Comments