Translations:Modding:Content Tutorial Basics/9/en

From Vintage Story Wiki

If our shape only has a single texture, we can use the following property within our block/item/entity:

"texture": {
    "base": "item/simplewand"
}

Note that the above is texture, not textures. Also note that when using a single texture, the key is always "base", regardless of the texture name in the shape file. To change multiple textures in a block/item/entity, use the following:

"textures": {
    "head": { "base": "item/wand-blue" },
    "handle": { "base": "item/wand-handle" }
},

Note that as we are changing multiple textures, we use textures. Also note that "head" and "handle" match with the textures we are changing in the shape file.