Modding:Entity Json Properties: Difference between revisions
From Vintage Story Wiki
CreativeMD (talk | contribs) No edit summary |
CreativeMD (talk | contribs) No edit summary |
||
Line 30: | Line 30: | ||
A '''domain prefix''' will be added dynamically depending on the location of the file. Every mod and VintageStory itself have a unique prefix. | A '''domain prefix''' will be added dynamically depending on the location of the file. Every mod and VintageStory itself have a unique prefix. | ||
For example the code '''<code> | For example the code '''<code>rabbit</code>''' turns into '''<code>game:rabbit</code>'''. | ||
The code identifier has to be unique inside its domain. In theory there could be equal identifiers with different domain prefixes. | The code identifier has to be unique inside its domain. In theory there could be equal identifiers with different domain prefixes. |
Revision as of 10:11, 12 July 2018
Overview
A complete list of all available properties
Property | Type | Default | Usage |
---|---|---|---|
json |
|||
Core (no byType available) | |||
Code |
string | required | A unique identifier for the item. |
A domain prefix will be added dynamically depending on the location of the file. Every mod and VintageStory itself have a unique prefix. For example the code The code identifier has to be unique inside its domain. In theory there could be equal identifiers with different domain prefixes. Find out more about Domains. |
|||
Enabled |
boolean | true | If the item will be loaded or not. Can be used to temporarily remove the item. |
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 • 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 • 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 |