Json block behaviors OmniAttachable: Difference between revisions

From Vintage Story Wiki
(Created page with "== Purpose == Can be attached on any block side. Used for: * Lantern Example use: <syntaxhighlight lang="json"> variantgroups: [ { code:"position", states: ["up", "down"],...")
(No difference)

Revision as of 17:26, 27 March 2019

Purpose

Can be attached on any block side. Used for:

  • Lantern

Example use:

	variantgroups: [
		{ code:"position", states: ["up", "down"], combine: "additive" },
		{ code:"wall", loadFromProperties: "abstract/horizontalorientation" }
	],

Properties

facingPos (int, default: 1) The facing position for the dropped block and the pick block. 1 is "up".


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.