Json:block:behavior

From Vintage Story Wiki
Revision as of 10:31, 11 August 2017 by CreativeMD (talk | contribs)
HorizontalAttachable

Block can only be attached horizontally. Used for:

  • Painting
  • Toolrack

Requires abstract/horizontalorientation as the last variantgroup. Example use:

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

HorizontalOrientable

Block can be rotated horizontally. Used for:

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

Requires abstract/horizontalorientation as the last variantgroup. Example use:

	variantgroups: [
		{ code:"side", loadFromProperties: "abstract/horizontalorientation" }
	],
NWOrientable
Pillar
Slab
HorizontalUpDownOrientable
FiniteSpreadingLiquid
OmniAttachable
Unplaceable
Unstable
Harvestable
NoParticles
Container
Ignitable
Falling
DropIfFloating
CanIgnite