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".
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 |
Code Modding | Code Mods • Setting up your Development Environment |
Property Overview | Item • Entity • Block • Block Behaviors • Block Classes • Block Entities • Block Entity Behaviors • World properties |
Workflows & Infrastructure | Modding Efficiency Tips • Mod-engine compatibility • Mod Extensibility • VS Engine |
Additional Resources | Community Resources • List of server commands • List of client commands • Client startup parameters • Server startup parameters Example Mods • API Docs • GitHub Repository |