Json block behaviors horizontalattachable: Difference between revisions

From Vintage Story Wiki
(Created page with "== Purpose == Block can only be attached horizontally. Used for: * Painting * Toolrack Requires <code>abstract/horizontalorientation</code>: <syntaxhighlight lang="json"> var...")
 
No edit summary
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 21: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.
Icon Sign.png

Wondering where some links have gone?
The modding navbox is going through some changes! Check out Navigation Box Updates for more info and help finding specific pages.

Modding
Modding Introduction Getting Started Theme Pack
Content Modding Content Mods Developing a Content Mod Basic Tutorials Intermediate Tutorials Advanced Tutorials Content Mod Concepts
Code Modding Code Mods Setting up your Development Environment
Property Overview ItemEntityBlockBlock BehaviorsBlock ClassesBlock EntitiesBlock Entity BehaviorsWorld properties
Workflows & Infrastructure Modding Efficiency TipsMod-engine compatibilityMod ExtensibilityVS Engine
Additional Resources Community Resources Modding API Updates Programming Languages List of server commandsList of client commandsClient startup parametersServer startup parameters
Example ModsAPI DocsGitHub Repository