The Minecraft launcher is the login and downloader front-end to the stand-alone client. It is responsible for downloading the main Java packages, including minecraft.jar, which holds the code and resources of the game such as textures, and LWJGL. It also acts somewhat like a basic and easily bypassable copy-restriction by forcing the user to login to a paid account when running for the first time. It is possible to use the launcher to run versions of Minecraft from nearly any era, however some versions are still not included on the launcher, such as Indev, Minecraft 2.0 and any of the Beta 1.9 pre-releases. The current launcher is the sixth launcher for Minecraft, and the first that was built to automatically update itself.
Behavior[επεξεργασία | επεξεργασία κώδικα]
Every time the launcher is executed, it checks a specific directory where Minecraft stores its files called .minecraft. It checks a file called "launcher_profiles.json" for login credentials. If the file does not exist, is corrupt, or no user is logged in, the user must login with a valid premium account, otherwise the user will be directed to play the Demo version or purchase the game.
When logging in, the launcher will first try to verify the login. If a valid "launcher_profiles.json" file exists but there is no Internet connection, the launcher will offer a "Play offline" mode if a player was logged in when it was last closed. If the connection is successful, the launcher will then, depending on profile options, compare the latest version in the latest "versions" directory to the latest version reported by the server. If the selected version does not exist or the latest installed version is outdated when "Use latest version" is selected in the profile, the launcher will download all Minecraft components and Java binary files. It will also synchronize everything in the Assets folder (see Resource pack).
Finally, upon a successful update or installation, the launcher will execute the Minecraft jar (via "javaw.exe", Oracle's Java Virtual Machine executable.) It is possible however for there to be missing ".jar" files, in which case the launcher will attempt to replace the missing files automatically but will stop if there is no connection.
Currently, the Minecraft launcher supports 41 languages.
Features[επεξεργασία | επεξεργασία κώδικα]
Launcher[επεξεργασία | επεξεργασία κώδικα]
- Manage multiple profiles (stored in "launcher_profiles.json"). Each profile can control:
- Game version. Includes access to outdated development builds and previous releases. You can also add older/custom versions manually. See this video for instructions.
- Mojang account used to play the game
- Command line arguments for Java (such as heap size)
- Game Directory (where the game files are saved on disk)
- Edit profile pictures or custom made ones
- The launcher doesn't store your password locally. Instead of this, it uses a 'refresh token'.
- The launcher does not support multiple instances, whereas the game does.
- Automatic updates for launcher.
- Ability to update libraries, such as LWJGL.
- Offline mode. (The first time launch requires an Internet connection to download required resources)
- 57 Languages avaliable
- Crashes can be reported to Mojang, through Hopper.
- Crashes are indexed through a database for information on how to fix the issue.
- Launcher Settings.
- Switching Accounts or logging off.
- Changing Skins.
- Downloads servers on versions.
- Help button.
- Tiny Creeper face button (when you click it, it glows but it does nothing).
- Shows you the launcher version information when you click the launcher version.
Time Machine[επεξεργασία | επεξεργασία κώδικα]
The Minecraft launcher has the ability to play old Alpha and Beta versions of the game. Currently, snapshots, Alpha, Beta, and all Release versions are available to play. Four Pre-classic versions, four Classic versions, and an Infdev version are already added under the names "old-alpha version". However, Indev is still missing.
Progress *note: as of 1.10.2
To enable the old versions either click the "Launch Options" then turn the "Historical Versions" on then open your profile or make a new one, next select any of Alpha/Beta versions on the Version box then click "Save" button.
However, these versions are very out of date and may be unstable. Any bugs, glitches, missing features, or crashes that result from instability will never be resolved as only later versions are supported. Mojang strongly recommends that you play them in separate directories than your other saves to avoid corruption.
Skins[επεξεργασία | επεξεργασία κώδικα]
You can change or add your custom skin within the Minecraft Launcher. To change or add your skin click the "Skins" button, then click the "Browse" button to navigate through your file system for your skin file. The file must have a resolution of 64×64 in order for the launcher to accept it as a skin file. Additionally, the skin file must be in a
.png format. After you have found the skin file, click the "Save" button to confirm your in-game skin.
- You can reset your skin to the Steve or Alex defaults by clicking "Click to reset".
- You can choose between player models - either Classic (Steve) or Slim (Alex).
Profiles[επεξεργασία | επεξεργασία κώδικα]
When you open the launcher for first time, it creates a profile that selects the latest version of Minecraft - it cannot be removed.
However, you may create a game profile of your own in the launcher. Click on the "Launch Options" button, then click "Add New" to create one. After this, name your profile as you want it. If you leave it, it will be named "Unnamed Configuration". Then, optionally, select a profile picture from the launcher or a custom one. However, it must be a 128×128
.png picture. Select the version you wish to play, and click "Save" to confirm your profile. If you want to edit a profile, just click it. The same applies if you wish to delete a profile. Simply click the profile you want to delete and then click the "Delete [X]" button to remove it.
- If you want to resize the game, turn "Resolution" on to change the game window size.
- You can turn "Advanced Settings" on to show more profile options.
- If you want to change the
.minecraftfile path, turn the on the "Game directory" option. Now, navigate to the folder where you wish to relocate the
.minecraftfolder. You can also open the Minecraft profile by clicking the green arrow-shaped "Go to folder" button.
- If you turned "Snapshot Versions" on, it creates a "Latest Snapshot" profile automatically.
Command Line usage[επεξεργασία | επεξεργασία κώδικα]
MinecraftDev.jar (all systems):
java -cp Minecraft.jar net.minecraft.bootstrap.Bootstrap <username> <server:port>
As of the launcher released with Minecraft 1.6, there are other commands for the launcher. These are shown if you do
java -jar Minecraft.jar -help
History[επεξεργασία | επεξεργασία κώδικα]
|1.0.0||Initial release. In this version users can choose not only the current version but also Infdev.|
|The client requires an internet connection on the first run and for updates, but after that the game supports playing offline.|
|Command line arguments are accepted to launch the game. Using the format |
|1.2.2||Command line arguments format changed.|
|1.3||Released in February 21, 2011. A technical sneak preview was published by Notch on February 18, 2011.Added capability of automatic login to the game and/or server by command line arguments.|
|Added smarter update system that only updates changed files, prompts the user to update, allows HTTPS logins for a more secure connection, and offers general UI improvements.|
|Link to the Minecraft install directory for easy access.|
|Add Force Update button under the Options dialog.|
|The launcher also featured an inline "changelog" via a Tumblr called MCUpdate, and supports command-line arguments.|
|Added the new Minecraft logo.|
|Added official links, community links and Mojang on Twitter links.|
|1.2.1||Properly selects 64-bit Java installations for Mac OS X users.|
|1.3.2||Added ability to launch demo mode for non-premium users.|
|1.6.1||13w16a||New launcher added. See launcher history below.|
Minecraft Launcher[επεξεργασία | επεξεργασία κώδικα]
|Launcher version||Release date||Summary of changes|
|2.0.581-stage||January 18, 2017||
|2.0.580-stage (macOS)||January 18, 2017||
|2.0.511-stage (macOS)||January 3, 2017||
|2.0.510-stage||January 3, 2017||
|2.0.497-stage||December 29, 2016||
|2.0.490-stage||December 27, 2016||
|2.0.465-stage (macOS)||December 8, 2016||
|2.0.464-stage||December 8, 2016||
|2.0.455-stage||December 7, 2016||
|2.0.447-stage||December 6, 2016||
|2.0.429-stage||December 1, 2016||
|2.0.425-stage||November 29, 2016||
|2.0.414-stage||November 28, 2016||
|2.0.387-stage||November 25, 2016||
|1.6.70||November 17, 2016||
|2.0.320-stage||November 4, 2016||
|2.0.282-stage||November 2, 2016||
|1.6.69||October 26th, 2016||
|2.0.164-stage||October 26th, 2016||
|1.6.66||October 24th, 2016||
|1.6.61||March 3rd, 2016||
|1.6.59||February 25th, 2016||
|1.6.57||February 24th, 2016||
|1.6.51||February 4th, 2016||
|1.6.48||October 9th, 2015||
|1.6.44||September 11th, 2015||
|1.6.39||September 8th, 2015||
|1.6.19||July 24, 2015||
|1.6.13||July 1, 2015||
|1.6.11||January 30, 2015||
|1.6.5||December 18, 2014||
|1.6.3||December 17, 2014||
|1.5.5||December 16, 2014||
|1.5.4||December 12, 2014||
|1.5.3||September 1, 2014||
|1.5.2||August 19, 2014||
|1.5.1||July 29, 2014|
|1.5||July 28, 2014||
|1.4.7||July 25, 2014||
|1.4.6||July 25, 2014||
|1.4.5||July 25, 2014||
|1.4.4||May 19, 2014|
|1.4.2||May 2, 2014||
|1.3.11||March 12, 2014||
|1.3.10||February 13, 2014||
|1.3.9||January 24, 2014||
|1.3.8||January 8, 2014||
|1.3.7||December 12, 2013||
|1.3.6||December 5, 2013||
|1.3.5||December 4, 2013||
|1.3.4||November 26, 2013||
|1.3.3||November 20, 2013||
|1.3.2||November 18, 2013||
|1.3.1||October 29, 2013||
|1.2.8||October 25, 2013||
|1.2.7||October 18, 2013||
|1.2.5||September 23, 2013||
|1.2.4||September 19, 2013||
|1.2.3||September 12, 2013||
|1.2.2||September 3, 2013||
|1.2.1 (Files uploaded)||August 6, 2013|
|1.2.1 (Files uploaded)||August 6, 2013||
|1.2.1||August 2, 2013|
|1.2||August 1, 2013|
|1.1.4||July 31, 2013||
|1.1.3||July 27, 2013||
|1.1.2||July 22, 2013||
|1.1.1||July 19, 2013||
|1.0.10||July 12, 2013||
|1.0.9||July 10, 2013||
|1.0.8 OS X (Re-upload)||July 9, 2013||
|1.0.8 OS X (Re-upload)||July 8, 2013||
|1.0.8||July 2, 2013|
|1.0.7||July 2, 2013||
|1.0.6||July 1, 2013||
|1.0.5||July 1, 2013||
|1.0.4||June 28, 2013||
|1.0.3||June 27, 2013||
|1.0.2||June 27, 2013||
|1.0.1||June 26, 2013||
|1.0.0||June 26, 2013||
|1.0.1||June 26, 2013||
|1.0||June 25, 2013||
|0.9.5||June 18, 2013||
|0.9.4||June 18, 2013||
|0.9.3||June 14, 2013||
|0.9.2||June 13, 2013||
|0.9.1||June 10, 2013||
|0.9||June 10, 2013||
|0.8.3||June 7, 2013||
|0.8.2||May 27, 2013||
|0.8.1||May 21, 2013|
|0.8||May 20, 2013||
|0.7.2||May 15, 2013||
|0.7||May 13, 2013||
|0.7.1||May 4, 2013||
|0.7||May 2, 2013||
|0.6||April 25, 2013||
|0.5||April 23, 2013||
|0.4||April 23, 2013||
|0.3||April 22, 2013||
|0.2||April 19, 2013||
|0.1||April 18, 2013||
Gallery[επεξεργασία | επεξεργασία κώδικα]
Profile icons selection from launcher.
Launcher warns you to run another minecraft if you ran it already
Trivia[επεξεργασία | επεξεργασία κώδικα]
- Before beta testing on the new launcher, it was supposed to select launcher language in left front, after that it was replaced by creeper face button that does nothing, just glows.
- If you stay long enough on the "Play" button, some mobs will appear on the corner.
References[επεξεργασία | επεξεργασία κώδικα]
See also[επεξεργασία | επεξεργασία κώδικα]