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.

[DocumentAsJson]
public class BlockBehaviorNWOrientable : BlockBehavior
Inheritance
BlockBehaviorNWOrientable

Examples

"behaviors": [
	{
		"name": "NWOrientable"
	}
]
"variantgroups": [
	{
		"code": "orientation",
		"states": [ "ns", "we" ]
	}
]