Version.json

version.json is embedded within client.jar in .minecraft/versions/  or server.jar since 18w47b. It offers some basic information about the version's attributes.

JSON format
This is the JSON format for version.json.


 * The root object.
 * : The version's unique identifier. May sometimes display the build hash as well, separated from the name by a slash.
 * : The version's user-friendly name. Usually identical to.
 * : The major release this version is being developed for. Identical to the name for release versions.
 * : The data version of this version.
 * : Identifies which branch the version is from, the default value is "main" and other values are used when a version isn't from the main branch. "deep_dark_preview" was used for Deep Dark Experimental Snapshot 1 and "april" is used for april fool's versions. This is also used as a secondary way from the data version to check for incompatibility.
 * : The protocol version of this version.
 * : The resource and data pack format numbers of this version.
 * : The resource pack format number.
 * : The data pack format number.
 * : The release time of this version in ISO 8601 format.
 * : Whether this version is a release version or a development version.

History
version.json Version.json