Json block behaviors OmniAttachable: Difference between revisions

From Vintage Story Wiki
→‎Purpose: Update example
(Created page with "== Purpose == Can be attached on any block side. Used for: * Lantern Example use: <syntaxhighlight lang="json"> variantgroups: [ { code:"position", states: ["up", "down"],...")
 
(→‎Purpose: Update example)
Line 5: Line 5:
<syntaxhighlight lang="json">
<syntaxhighlight lang="json">
variantgroups: [
variantgroups: [
{ code:"position", states: ["up", "down"], combine: "additive" },
{ code:"position", states: ["up", "down"], loadFromProperties: "abstract/horizontalorientation" }
{ code:"wall", loadFromProperties: "abstract/horizontalorientation" }
],
],
</syntaxhighlight>
</syntaxhighlight>
Confirmedusers
261

edits