Confirmedusers, editor, Administrators
886
edits
No edit summary |
CreativeMD (talk | contribs) No edit summary |
||
Line 173: | Line 173: | ||
"*-south-*-closed-right": 180 | "*-south-*-closed-right": 180 | ||
} | } | ||
}, | |||
</syntaxhighlight> | |||
Since Vintagestory v1.8 it is also possible to use the variantgroup as a placeholder: | |||
<syntaxhighlight lang="json"> | |||
variantgroups: [ | |||
{ code: "metal", states: ["copper", "tinbronze", "bismuthbronze", "blackbronze", "gold", "silver", "iron" ] }, | |||
], | |||
textures: { | |||
"metal": { base: "block/metal/ingot/{metal}" }, | |||
"wood": { base: "item/tool/material/wood" } | |||
}, | }, | ||
</syntaxhighlight> | </syntaxhighlight> |