Modding:HorizontalOrientable behavior

From Vintage Story Wiki
Revision as of 22:19, 25 March 2019 by Tatazaki (talk | contribs) (Created page with "== Purpose == Block can be rotated horizontally. Used for: * Workbench * Ladder * Echochamber * Chest * Stove * Altar * Windmillrotor * Bellows Requires <code>abstract/horizon...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Purpose

Block can be rotated horizontally. Used for:

  • Workbench
  • Ladder
  • Echochamber
  • Chest
  • Stove
  • Altar
  • Windmillrotor
  • Bellows

Requires abstract/horizontalorientation:

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

Properties

dropBlockFace: Determines which direction the block drop face is done. dropBlockFace: Determines which block to drop.

 

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 ItemEntityEntity BehaviorsBlockBlock BehaviorsBlock ClassesBlock EntitiesBlock Entity BehaviorsCollectible 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