Json block behaviors horizontalattachable

From Vintage Story Wiki
Jump to: navigation, search

Purpose

Block can only be attached horizontally. Used for:

  • Painting
  • Toolrack

Requires abstract/horizontalorientation:

	variantgroups: [
		{ code:"side", loadFromProperties: "abstract/horizontalorientation" }
	],

Properties

  • HandleDrops (bool, default: true): Simply determines whether the drops for this block should be handled.


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