Json block behaviors pillar

From Vintage Story Wiki
Jump to navigation Jump to search

Purpose

Block can be rotated in three directions. Used for:

  • Wood log
  • Pillar
  • Axle

Requires "ud", "ns" and "we" states:

	variantgroups: [
		{ code:"orientation", states: ["ud", "ns", "we"] },
	],


Vintage Story: Modding
Basics Mod Types | Asset System | Textures | Items | Recipes | Blocks | Model Creator | Release
Advanced Setup(Windows,Linux) | Items (Code, JSON) | Blocks | Item-Block interactions | Block Behaviors | Block Entities | Particles | World Access
Worldgen Terrain | Ores | Trees | WorldGen API
Rendering Shaders and Renderers
Property Overview Item | Block | Block Behaviors | Block Classes | Block Entities | Block Entity Behaviors