version.json

This article is about the version.json file in Minecraft client.jar and server.jar. For the <game version>.json used by the launcher, see client.json.
This feature is exclusive to Java Edition.
 

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

The /version command also presents the same information on the server side, and the F3 + V debug hotkey on the client side.

JSON format

This is the JSON format for version.json.

  • [NBT Compound / JSON Object] The root object.
    • [String] id: The version's unique identifier. May sometimes display the build hash as well, separated from the name by a slash.
    • [String] name: The version's user-friendly name. Usually identical to id.
    • [String] release_target: The major release this version is being developed for. Identical to the name for release versions.
    • [Int] world_version: The data version of this version.
    • [String] series_id: 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<YYYY>" is used for April Fools' Day joke versions released in 2022 or after. This is also used as a secondary way from the data version to check for incompatibility.
    • [Int] protocol_version: The protocol version of this version.
    • [NBT Compound / JSON Object] pack_version: The resource and data pack formats of this version.
      • [Int] resource: The resource pack format number.
      • [Int] data: The data pack format number.
    • [String] build_time: The release time of this version in ISO 8601 format.
    • [Boolean] stable: Whether this version is a release version (true) or a development version (false).
    • [Boolean] use_editor: Unknown use.

History

Java Edition
1.1418w47bAdded version.json.
1.1720w45aChanged pack_version from an [Int] integer value to an [NBT Compound / JSON Object] object value.
The data and resource pack versions are now updated separately.
1.19.4Removed release_target

Navigation