Metadata and litemod.json

From 1.6 onwards, LiteLoader now supports much more comprehensive metadata to be packaged with the mod, some of which are required and other metadata are optional. The metadata are packaged in a file called litemod.json in the root of the litemod file, and this file replaces the legacy version.txt used for versioning in previous releases.

Required values

Optional values

These values are not required but are used to provide additional information to the loader about your mod:

Extra values

Additionally, there are some extra metadata which are standardised for the purposes of providing information to the in-game mod list provided by third party add-ons such as VoxelMenu and the Minecraft Forge “mods” list. These additional keys are:

In addition to these required and standard values, you can also include and other string key/value pairs that you wish, these can then be retrieved by calling the getModMetadata() function on the LiteLoader instance.