Modding:Asset Type - WorldProperties: Difference between revisions

From Vintage Story Wiki
(Page creation.)
 
(Marked this version for translation)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<languages/>
<languages/>
<translate>
<translate>
== Usage ==
== Usage == <!--T:1-->
'''Item Type''' assets are used to register new types of items within the game. Item type assets are written in JSON.   
'''World Property''' assets are used to register sets of variants for blocks, items, and entities. Some world properties are also used within the game's code. World property assets are written in JSON.   


=== Asset Location ===
=== Asset Location === <!--T:2-->
New item type assets can be made by creating new JSON files in a folder called '''itemtypes''<nowiki/>' in your mod's domain.
New world property assets can be made by creating JSON files in a folder called '''worldproperties''<nowiki/>' in your mod's domain.


== See Also ==
== See Also == <!--T:3-->


* [https://github.com/anegostudios/vsessentialsmod/blob/2ad519acab8021ab3ffac4a031c8984a26944940/Loading/ItemType.cs#L14 ItemTypes on GitHub]
<!--T:4-->
* {{ll|Modding:Content Tutorial Simple Item|Content Tutorial Simple Item}}
* [https://github.com/anegostudios/vsapi/blob/cad83424ee89915ef206d0b23845af0a4ef72348/Common/Worldproperty/WorldProperty.cs#L15 WorldProperties on GitHub]
* [[Modding:Content Tutorial Item Variants|Content Tutorial Item Variants]]


</translate>
</translate>
{{Navbox/contentmodding}}
{{Navbox/contentmodding}}

Latest revision as of 12:43, 19 July 2024

Other languages:
  • English

Usage

World Property assets are used to register sets of variants for blocks, items, and entities. Some world properties are also used within the game's code. World property assets are written in JSON.

Asset Location

New world property assets can be made by creating JSON files in a folder called 'worldproperties' in your mod's domain.

See Also


Content Modding
Basics Content Mods Developing a Content Mod Packaging & Release
Tutorials
Concepts Modding Concepts Modinfo Variants Domains Patching Remapping World Properties
Moddable Assets
Uncategorized
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 ItemEntityBlockBlock BehaviorsBlock ClassesBlock EntitiesBlock Entity 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