User:Skylord wars/Run Minecraft with only .jar file

This is a tutorial on how to run any mods or Minecraft versions if there is only the client.jar file but no .json file.


 * The version main folder
 * The client.jar file. IT should be renamed to their version name respectively.
 * The json file that you do not have currently
 * The name of the 
 * The time when this version was released
 * The type of the version. Examples:old_alpha (Pre-classic, Classic, Indev, Infdev, and Alpha), old_beta (Beta), release (1.0), snapshot (Development versions)
 * Authentication player name, authentication session, game directory, and game assets.
 * Game libraries

Create a folder named, the name should be the same with the .jar file. Place your .jar into that folder. Create a .json in the same folder. The .json file should contain the following:

{ "id": " 1.12.2 ", "time": " Apr 18, 2013 23:17:30 PM ", "type": " release ", "minecraftArguments": "${auth_player_name} ${auth_session} --gameDir ${game_directory} --assetsDir ${game_assets}", "libraries": [ {     "name": "net.sf.jopt-simple:jopt-simple:4.4" },   {      "name": "com.paulscode:codecjorbis:20101023" },   {      "name": "com.paulscode:codecwav:20101023" },   {      "name": "com.paulscode:libraryjavasound:20101123" },   {      "name": "com.paulscode:librarylwjglopenal:20100824" },   {      "name": "com.paulscode:soundsystem:20120107" },   {      "name": "org.lwjgl.lwjgl:lwjgl:2.9.0" },   {      "name": "org.lwjgl.lwjgl:lwjgl_util:2.8.5" },   {      "name": "argo:argo:2.25_fixed" },   {      "name": "org.bouncycastle:bcprov-jdk15on:1.47" },   {      "name": "com.google.guava:guava:14.0" },   {      "name": "org.apache.commons:commons-lang3:3.1" },   {      "name": "commons-io:commons-io:2.4" },   {      "name": "net.java.jinput:jinput:2.0.5" },   {      "name": "net.java.jutils:jutils:1.0.0" },   {      "name": "org.lwjgl.lwjgl:lwjgl-platform:2.9.0", "natives": { "linux": "natives-linux", "windows": "natives-windows", "osx": "natives-osx" },     "extract": { "exclude": ["META-INF/"] }   },    {      "name": "net.java.jinput:jinput-platform:2.0.5", "natives": { "linux": "natives-linux", "windows": "natives-windows", "osx": "natives-osx" },     "extract": { "exclude": ["META-INF/"] }   }  ],  "mainClass": "net.minecraft.client.Minecraft" }
 * 1.12.2.json

Note: Remember to change the red colored words to the corresponding version. Place the folder into the versions folder in .Minecraft. Launch the launcher and your version should be registered.