Difference between revisions of "Json block behaviors horizontalattachable"

From Vintage Story Wiki
Jump to navigation Jump to search
m
 
Line 10: Line 10:
 
</syntaxhighlight>
 
</syntaxhighlight>
 
== Properties ==
 
== Properties ==
* <code>HandleDrops</code>: Simply determines whether the drops for this block should be handled.
+
* <code>HandleDrops (bool, default: true)</code>: Simply determines whether the drops for this block should be handled.
  
 
{{Navbox/modding|Vintage Story}}
 
{{Navbox/modding|Vintage Story}}

Latest revision as of 00:23, 26 March 2019

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