Metadata and litemod.json

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
dev:litemod.json [2014/12/23 21:28]
mumfrey
dev:litemod.json [2014/12/23 21:31]
mumfrey
Line 20: Line 20:
 revision is the internal progression number of your mod (see version vs. revision for more info) and must be a valid float or int value revision is the internal progression number of your mod (see version vs. revision for more info) and must be a valid float or int value
  
-====Extra keys====+====Optional values====
  
 These values are not required but are used to provide additional information to the loader about your mod: These values are not required but are used to provide additional information to the loader about your mod:
  
 * **tweakClass** * **tweakClass**
 + 
 used to specify a [[info:​tweak]] class within your mod's container. This allows your mod to take full advantage of [[info:​tweak|Tweaker]] functionality by hooking into the tweak system directly. used to specify a [[info:​tweak]] class within your mod's container. This allows your mod to take full advantage of [[info:​tweak|Tweaker]] functionality by hooking into the tweak system directly.
  
 * **classTransformerClasses** * **classTransformerClasses**
 + 
 An array or comma-separated list of [[ClassTransformer]] class names which will be injected into the ClassLoader. An array or comma-separated list of [[ClassTransformer]] class names which will be injected into the ClassLoader.
  
 * **dependsOn** * **dependsOn**
 + 
 An array or comma-spearated list of mod **names** (as per the metadata "​name"​ entry above) which must also be present to allow your mod to load. If a dependency is missing then the mod will not be loaded but it will be shown in the mods list and will indicate the missing dependencies which caused it to fail to load. An array or comma-spearated list of mod **names** (as per the metadata "​name"​ entry above) which must also be present to allow your mod to load. If a dependency is missing then the mod will not be loaded but it will be shown in the mods list and will indicate the missing dependencies which caused it to fail to load.
  
 * **requiredAPIs** * **requiredAPIs**
 + 
 An array or comma-separated list of [[API]] ids. Used to declare that your mod requires one or more additional APIs in order to run. If a required API is missing then the mod will not be loaded but it will be shown in the mods list and will indicate the missing API which caused it to fail to load. An array or comma-separated list of [[API]] ids. Used to declare that your mod requires one or more additional APIs in order to run. If a required API is missing then the mod will not be loaded but it will be shown in the mods list and will indicate the missing API which caused it to fail to load.
  
 * **injectAt** * **injectAt**
 + 
 Alters the position in the classpath at which the mod will be injected. **Not currently working as at Minecraft 1.7.** Alters the position in the classpath at which the mod will be injected. **Not currently working as at Minecraft 1.7.**
  

Login