Modding:Content Mods: Difference between revisions

From Vintage Story Wiki
(Added brief description of content mods - Still in progress.)
(Finalized the code mod explanation page.)
Line 2: Line 2:
{{GameVersion|1.19.4}}
{{GameVersion|1.19.4}}
__TOC__
__TOC__
In progress.


'''Content Mods''' are mods that add or change existing JSON assets within the game, using the type <code>"content"</code>.
'''Content Mods''' are mods that add or change existing JSON assets within the game, using the type <code>"content"</code>.
Line 20: Line 18:
== First Steps ==
== First Steps ==


== What's Next? ==<!--T:6-->
=== Create your own Content Mod ===
For a content mod to work, it needs to be set up correctly. See [[Modding:Developing a Content Mod|Developing a Content Mod]] for information on how to create, navigate, and update a content mod.
 
=== Following the Wiki Tutorials ===
When you are familiar with how to create a content mod, consider taking a look at the basic tutorials. You can create a [[Modding:Basic Block|Basic Block]], [[Modding:Basic Item|Basic Item]], [[Modding:Creating Recipes|Recipes]], and many more.
 
In the '''Modding''' navigation box below, any non-highlighted links do not require C# code to achieve. Content mods can be quite complex at times, so it is recommended to start with one of the above tutorials.<!--T:6-->
 
{{Navbox/modding|Vintage Story}}
{{Navbox/modding|Vintage Story}}
</translate>
</translate>

Revision as of 12:05, 16 March 2024

Other languages:
  • English

This page was last verified for Vintage Story version 1.19.4.

Content Mods are mods that add or change existing JSON assets within the game, using the type "content".

Content Mod Usage

As stated in Getting Started, Vintage Story contains an extensive system to add and modify game content by just using JSON files.

If you plan on modifying game content, it is recommended to backup your assets folder before beginning.

Adding Content

Adding content to Vintage Story is easy, and nearly all of the game's assets are built using the modding system. By navigating the Asset System for the game, you can see thousands of examples that can be edited and expanded upon. New blocks, items, entities and more can be added by simply creating new files based on these existing JSON files.

Modifying Game Content

Although content can be modified by overwriting entire JSON files, it is highly recommended to use the patching system that is built in to the game. For an extensive look on how to do this, see the JSON Patching modding page.

First Steps

Create your own Content Mod

For a content mod to work, it needs to be set up correctly. See Developing a Content Mod for information on how to create, navigate, and update a content mod.

Following the Wiki Tutorials

When you are familiar with how to create a content mod, consider taking a look at the basic tutorials. You can create a Basic Block, Basic Item, Recipes, and many more.

In the Modding navigation box below, any non-highlighted links do not require C# code to achieve. Content mods can be quite complex at times, so it is recommended to start with one of the above tutorials.

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