User Tools

Site Tools


documentation:fabric_mod_json

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Last revision Both sides next revision
documentation:fabric_mod_json [2019/06/09 09:08]
jamieswhiteshirt [fabric.mod.json] Add a short description
documentation:fabric_mod_json [2019/11/16 18:22]
fudge
Line 28: Line 28:
 ] ]
 </​code>​ </​code>​
-         * If you're using any other language, ​that is compatible with Java and has a Fabric ​adapter, then you should use following syntax: <code json> +   * If you're using any other language, ​consult the language ​adapter's documentation. The Kotlin one is located ​[[https://​github.com/​FabricMC/​fabric-language-kotlin/​blob/​master/​README.md|here]]. 
-"​main": ​[ +
-   { +
-      "​adapter"​"kotlin", +
-      "​value":​ "​package.ClassName"​ +
-   } +
-+
-</​code>​+
    * **jars** A list of nested JARs inside your mod's JAR to load. Before using the field, check out [[tutorial:​loader04x#​nested_jars|the guidelines on the usage of the nested JARs]]. Each entry is an object containing ''​file''​ key. That should be a path inside your mod's JAR to the nested JAR. For example: <code json>    * **jars** A list of nested JARs inside your mod's JAR to load. Before using the field, check out [[tutorial:​loader04x#​nested_jars|the guidelines on the usage of the nested JARs]]. Each entry is an object containing ''​file''​ key. That should be a path inside your mod's JAR to the nested JAR. For example: <code json>
 "​jars":​ [ "​jars":​ [
documentation/fabric_mod_json.txt · Last modified: 2019/11/16 19:00 by fudge