User Tools

Site Tools


format:modjson

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
format:modjson [2019/04/07 16:26]
asie
format:modjson [2019/04/07 16:45] (current)
asie fix / -> . in class spec
Line 40: Line 40:
   * "​adapter":​ Optional key denoting the language adapter to use. If empty, assume "​default"​.   * "​adapter":​ Optional key denoting the language adapter to use. If empty, assume "​default"​.
   * "​value":​ The default language adapter uses this specific key as a string value of any of the following formats:   * "​value":​ The default language adapter uses this specific key as a string value of any of the following formats:
-    * "my/package/MyClass",​ which points to a class to be instantiated,​ +    * "my.package.MyClass",​ which points to a class to be instantiated,​ 
-    * "my/package/MyClass::​thing",​ which points to a static field (contents returned) or method handle (for interface types, proxied automatically) named "​thing"​.+    * "my.package.MyClass::​thing",​ which points to a static field (contents returned) or method handle (for interface types, proxied automatically) named "​thing"​.
  
 Fabric, by default, will run all "​main"​ entrypoints (type ModInitializer),​ and all "​client"​ (type ClientModInitializer) or "​server"​ (type DedicatedServerModInitializer) entrypoints after that. Fabric, by default, will run all "​main"​ entrypoints (type ModInitializer),​ and all "​client"​ (type ClientModInitializer) or "​server"​ (type DedicatedServerModInitializer) entrypoints after that.
format/modjson.txt · Last modified: 2019/04/07 16:45 by asie