Json:block:behavior: Difference between revisions
From Vintage Story Wiki
CreativeMD (talk | contribs) No edit summary |
CreativeMD (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
== HorizontalAttachable == | == HorizontalAttachable == | ||
Line 13: | Line 11: | ||
], | ], | ||
</syntaxhighlight> | </syntaxhighlight> | ||
== HorizontalOrientable == | == HorizontalOrientable == | ||
Line 33: | Line 29: | ||
], | ], | ||
</syntaxhighlight> | </syntaxhighlight> | ||
NWOrientable | == NWOrientable == | ||
Pillar | |||
Slab | == Pillar == | ||
HorizontalUpDownOrientable | |||
FiniteSpreadingLiquid | == Slab == | ||
OmniAttachable | |||
Unplaceable | == HorizontalUpDownOrientable == | ||
Unstable | |||
Harvestable | == FiniteSpreadingLiquid == | ||
NoParticles | |||
Container | == OmniAttachable == | ||
Ignitable | |||
Falling | == Unplaceable == | ||
DropIfFloating | |||
CanIgnite | == Unstable == | ||
== Harvestable == | |||
== NoParticles == | |||
== Container == | |||
== Ignitable == | |||
== Falling == | |||
== DropIfFloating == | |||
== CanIgnite == |
Revision as of 10:37, 11 August 2017
HorizontalAttachable
Block can only be attached horizontally. Used for:
- Painting
- Toolrack
Requires abstract/horizontalorientation
as the last variantgroup. Example use:
variantgroups: [
{ code:"painting", loadFromProperties: "block/painting" },
{ code:"side", loadFromProperties: "abstract/horizontalorientation" }
],
HorizontalOrientable
Block can be rotated horizontally. Used for:
- Workbench
- Ladder
- Echochamber
- Chest
- stove
- Altar
- Windmillrotor
- Bellows
Requires abstract/horizontalorientation
as the last variantgroup. Example use:
variantgroups: [
{ code:"side", loadFromProperties: "abstract/horizontalorientation" }
],