Skip to content

Latest commit

 

History

History
52 lines (34 loc) · 1.48 KB

colored-models.md

File metadata and controls

52 lines (34 loc) · 1.48 KB

🎨 Colored models

{% hint style="info" %} If you want to make a colored element (for example a custom colored furniture) or a colored vehicle you don't have to make a separate model for each item with different color. {% endhint %}

How can I do this?

1. open your model with Blockbench

2. select the face you want to be colored

3. use a white/gray texture, for better coloring

4. enable the hidden "Tint" feature

5. enable the coloring for each face you want to be colored

6. set the specific color attribute in your .yml file.

In this example I used leather_horse_armorbut you can also use potion.

  orange_modern_lamp:
    display_name: "Orange Modern Lamp"
    specific_properties:
      leather_horse_armor:
        color: ORANGE
    resource:
      material: LEATHER_HORSE_ARMOR
      generate: false
      model_path: item/template_modern_lamp

{% hint style="info" %} If you want to use a specific color you can use this color picker.
Copy the decimal color (hex). {% endhint %}

7. now you can create as many as furnitures you want, just change the color and it will be automatically colored by the game