Confirmedusers, editor, Administrators
886
edits
CreativeMD (talk | contribs) (Undo revision 3841 by CreativeMD (talk)) |
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: "type", states: ["normal", "bamboo"] }, | |||
], | |||
textures: { | |||
horizontals: { base: "block/hay/{type}-side" }, | |||
verticals: { base: "block/hay/{type}-top" }, | |||
}, | }, | ||
</syntaxhighlight> | </syntaxhighlight> |