Difference between revisions of "Json block behaviors horizontalattachable"

From Vintage Story Wiki
Jump to navigation Jump to search
(Created page with "== Purpose == Block can only be attached horizontally. Used for: * Painting * Toolrack Requires <code>abstract/horizontalorientation</code>: <syntaxhighlight lang="json"> var...")
 
Line 11: Line 11:
 
== Properties ==
 
== Properties ==
 
* <code>HandleDrops</code>: Simply determines whether the drops for this block should be handled.
 
* <code>HandleDrops</code>: Simply determines whether the drops for this block should be handled.
 +
 +
{{Navbox/modding|Vintage Story}}

Revision as of 22:52, 25 March 2019

Purpose

Block can only be attached horizontally. Used for:

  • Painting
  • Toolrack

Requires abstract/horizontalorientation:

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

Properties

  • HandleDrops: 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