Table of Contents

Class BlockBehaviorPillar

Namespace
Vintagestory.GameContent
Assembly
VSSurvivalMod.dll

Used to rotate a block that has a 'top' face, such as a wooden log. Requires a "rotation" variant group with "ud", "ns", "we" states. Uses the "pillar" code.

[DocumentAsJson]
public class BlockBehaviorPillar : BlockBehavior
Inheritance
BlockBehaviorPillar

Examples

"behaviors": [
	{
		"name": "Pillar"
	}
]
"variantgroups": [
	{
		"code": "rotation",
		"states": [ "ud", "ns", "we" ]
	}
]

Fields

invertedPlacement (Optional) (Default: False)

Swaps placement between horizontal and vertical.

[DocumentAsJson("Optional", "False", false)]
private bool invertedPlacement

Field Value

bool