All translations

From Vintage Story Wiki

Enter a message name below to show all available translations.

Message

Found one translation.

NameCurrent message text
 h English (en)If our shape only has a single texture, we can use the following property within our block/item/entity:<syntaxhighlight lang="json">
"texture": {
   "base": "item/simplewand"
}
</syntaxhighlight>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:<syntaxhighlight lang="json">
"textures": {
   "head": { "base": "item/wand-blue" },
   "handle": { "base": "item/wand-handle" }
},
</syntaxhighlight>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.