Table of Contents

Class BlockBehaviorNWOrientable

Namespace
Vintagestory.GameContent
Assembly
VSSurvivalMod.dll

Automatically swaps between 'North/South' and 'West/East' variants based on placement rotation. Requires an "orientation" or "side" variant with the codes "ns" and "we". Uses the code "NWOrientable", and has no properties. Open in GitHub

[DocumentAsJson]
public class BlockBehaviorNWOrientable : BlockBehavior
Inheritance
BlockBehaviorNWOrientable

Examples

     <pre><code class="lang-csharp">"behaviors": [
     	{
     		"name": "NWOrientable"
     	}
     ]</code></pre>
"variantgroups": [
	{
		"code": "orientation",
		"states": [ "ns", "we" ]
	}
]