Game files

Revision as of 07:48, 1 August 2018 by NathaanTFM (talk | contribs) (launchermeta is more important than s3)
Jump to navigation Jump to search


All available versions of the game itself are listed on (new link, which will remain into the future) (not updated and will get removed)

Warning.png All files are accessible via the version_manifest now. You should not use the s3 urls anymore. They are deprecated, and slated for removal by the end of 2018.

The location of the client jar file for a specific version is included in the version manifest above. Alternatively it can also be found at<version>/<version>.jar

The server jar file and its .exe equivalent for a specific version are located at<version>/minecraft_server.<version>.jar<version>/minecraft_server.<version>.exe

Some information on how to properly run said jar is included in the version manifest as an URL. It can also be found at<version>/<version>.json

Warning.png As the Minecraft launcher updates, the format of the JSON or the requirements to run the client may change. The minimumLauncherVersion in the <version>.json should be used to detect changes instead of just failing on updates.


The libraries which can be used for all minecraft versions and are downloaded by the launcher are located at

The json file downloaded above is used in order to determine which libraries to download. Inside the file is a key, libraries which contains information about each library required. Example:

  "name": "org.lwjgl.lwjgl:lwjgl-platform:2.9.1-nightly-20130708-debug3",
  "natives": {
    "linux": "natives-linux",
    "windows": "natives-windows",
    "osx": "natives-osx"
  "extract": {
    "exclude": [
  "rules": [
      "action": "allow",
      "os": {
        "name": "osx",
        "version": "^10\\.5\\.\\d$"

The name key is used to determine the url from which to download the library from. The format of this string is


The corresponding URL would look like this:<package>/<name>/<version>/<name>-<version>.jar

where path is the result of replacing all the periods in package with slashes.

It also download a hash, in sha1, the url is:<package>/<name>/<version>/<name>-<version>.jar.sha1

Warning.png will NOT work - you must use https

The natives key provides a string for each specific platform to be inserted between the .jar and the <version> of the filename, resulting in a filename with the format:


This is applied to any file with the natives key. The natives string may contain ${arch}, which should be replaced with 32 or 64.

The extract key provides rules for the extraction of the file.

The rules key is used to determine which platforms to download the file to. When the action is allow, the file will be downloaded to the platform stated in os. When the action is disallow, the file will not be downloaded to the platform stated in os. If there is no os key, the rule is default for non-specified platforms.

In the example above, on an OS X platform, the full download path would be

The file would be extracted but the META-INF file would not be. Additionally, the file would only be downloaded if the computer was running OS X 10.5.


The game itself downloads further resources from

The asset index for each version is linked in the <version>.json. An example url to the asset index could look like this

Each resource in the file has a name (the field name of the resource object), a SHA1 hash, and a file size. The client currently downloads all resources in the index from<first 2 hex letters of hash>/<whole hash>

and stores them in

.minecraft/assets/objects/<first 2 hex letters of hash>/<whole hash>

and a copy is stored in


in the old format for versions that don't support the new system (1.7.2 and below)