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 revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
documentation:fabric_mod_json [2019/05/26 12:22] – [Custom fields] falseresyncdocumentation:fabric_mod_json [2019/06/09 09:08] – [fabric.mod.json] Add a short description jamieswhiteshirt
Line 1: Line 1:
 ====== fabric.mod.json ====== ====== fabric.mod.json ======
  
 +The fabric.mod.json file is a mod metadata file used by Fabric Loader to load mods. In order to be loaded, a mod must have this file with the exact name placed in the root directory of the mod JAR.
 ===== Mandatory fields ===== ===== Mandatory fields =====
  
Line 16: Line 17:
       * **server** Runs on the server side.        * **server** Runs on the server side. 
    * **entrypoints** Defines main classes of your mod, that will be loaded.    * **entrypoints** Defines main classes of your mod, that will be loaded.
-      * There are 3 entry points for your mod:+      * There are 3 default entry points for your mod:
          * **main** Will be run first. For classes implementing ''ModInitializer''.          * **main** Will be run first. For classes implementing ''ModInitializer''.
          * **client** Will be run second and only on the client side. For classes implementing ''ClientModInitializer''.          * **client** Will be run second and only on the client side. For classes implementing ''ClientModInitializer''.
documentation/fabric_mod_json.txt · Last modified: 2023/12/27 12:53 by mineblock11