Json block behaviors FiniteSpreadingLiquid

From Vintage Story Wiki

Purpose

Make a block flow as liquid. Used for:

  • Water
  • Lava

Requires all heights as states:

	variantgroups: [
		{ code: "height", states: ["1", "2", "3", "4", "5", "6", "7"] },
	],

Properties

liquidCollisionSound (path) the sound that is made when this liquid collides with another object.
sourceReplacementCode (block code) the block that this liquid's source block becomes when coming in contact with another liquid.
flowingReplacementCode (block code) the block that this liquid's flowing block becomes when coming in contact with another liquid.
collidesWith (other liquid) The liquid that this liquid can collide with.
spreadDelay (int, default: 150) This liquid's delay time when spreading.

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 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