94
edits
(Added a tree view to visualize how the zip is structured.) |
(Tweaked the explanations of the different mod types.) |
||
Line 57: | Line 57: | ||
Besides <code>"type": "content"</code>, there is also <code>"type": "theme"</code> and <code>"type": "code"</code>. | Besides <code>"type": "content"</code>, there is also <code>"type": "theme"</code> and <code>"type": "code"</code>. | ||
* <code>"type": "content"</code>: Defines this mod as being a ''' | * <code>"type": "content"</code>: Defines this mod as being a '''Content Mod'''. Content Mods cannot contain any C# code (if it does they will be ignored). | ||
* <code>"type": "theme"</code>: Defines this mod as being a ''' | * <code>"type": "theme"</code>: Defines this mod as being a '''Theme Pack'''. Theme Packs cannot override gameplay affecting assets categories (such as blocktypes, itemtypes and so on) and no C# code will be loaded. | ||
* <code>"type": "code"</code>: Defines this mod as being a ''' | * <code>"type": "code"</code>: Defines this mod as being a '''Code Mod'''. Code Mods are the same as a Content Mods, except they can also load C# code to do things that are not possible with JSON. | ||
<syntaxhighlight lang=json> | <syntaxhighlight lang=json> |
edits