Json:block:behavior: Difference between revisions

From Vintage Story Wiki
No edit summary
(Moved to Modding:Json Block Behaviors (7 May 2020))
Tags: New redirect Mobile edit Mobile web edit
 
(10 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 
#REDIRECT [[Modding:Json Block Behaviors]]
 
== HorizontalAttachable ==
 
Block can only be attached horizontally. Used for:
* Painting
* Toolrack
Requires <code>abstract/horizontalorientation</code> as the last variantgroup. Example use:
<syntaxhighlight lang="json">
variantgroups: [
{ code:"painting", loadFromProperties: "block/painting" },
{ code:"side", loadFromProperties: "abstract/horizontalorientation" }
],
</syntaxhighlight>
 
----
 
== HorizontalOrientable ==
 
Block can be rotated horizontally. Used for:
* Workbench
* Ladder
* Echochamber
* Chest
* stove
* Altar
* Windmillrotor
* Bellows
Requires <code>abstract/horizontalorientation</code> as the last variantgroup. Example use:
<syntaxhighlight lang="json">
variantgroups: [
{ code:"side", loadFromProperties: "abstract/horizontalorientation" }
],
</syntaxhighlight>
----
 
NWOrientable
Pillar
Slab
HorizontalUpDownOrientable
FiniteSpreadingLiquid
OmniAttachable
Unplaceable
Unstable
Harvestable
NoParticles
Container
Ignitable
Falling
DropIfFloating
CanIgnite

Latest revision as of 01:15, 23 February 2022