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.
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 | Item • Entity • Entity Behaviors • Block • Block Behaviors • Block Classes • Block Entities • Block Entity Behaviors • Collectible Behaviors • World properties |
Workflows & Infrastructure | Modding Efficiency Tips • Mod-engine compatibility • Mod Extensibility • VS Engine |
Additional Resources | Community Resources • Modding API Updates • Programming Languages • List of server commands • List of client commands • Client startup parameters • Server startup parameters Example Mods • API Docs • GitHub Repository |