MCLauncherAPI 0.3 - Stable version
For this version, I've done mainly refactoring, hiding classes and small fixes, so it shouldn't significantly change the API you're used to. Many things were changed in core, but also from the outside, so you'll definitely need to update your launcher. I'll also try to update the documentation on github wiki within a week... :)
Check javadocs in the maven repository to find out more. Oh! I've started using maven to build and deploy mclauncher-api so if you're a fan of maven, you can use it too. The JAR attached to this release is the same as the one in maven repo...
Features
- Login with password or session
- Load & Save login credentials the minecraft way
- Install MC to any directory
- Launch MC from any directory
- LAN server discovery
- Fully migrated to maven
- Now works on MAC OS X too!
Most fatal changes that will most likely break compatibility
- changes around MinecraftInstance
- launch minecraft was changed to getLaunchCommand (8036fc1)
- URLs were moved away from MCLauncherAPI.URLS(5149185)
- class Library is now package-visible only(adfeca0)
- IProgressMonitor.finish was removed. You need to tell your progress monitor dialog/window to close yourself.
Other changes
- Minecraft launching should now work on windows
- Minecraft installation now also works on Mac OS X!
- Added "MinecraftLauncherBackend" and "GlobalAuthenticationSystem" to simplify launching even more!
- Added server storage, which allows reading/writing
.minecraft/servers.dat - Added IModdingProfile which can be used to change the way minecraft is launched
- Improved error handling(some new exception types)
- Added version inheritance resolving for MCDownloadVersions
- Added IVersionList.getLatestVersionInformation
- More log messages(mostly on level FINE)
- Deployed to maven repository(https://github.com/tomsik68/maven-repo)
- Lots and lots of refactoring
Javadocs
Javadocs for the API are available at:
Dependencies
json-smart 1.1.1.
flow-nbt 1.0.0
junit 4.11(only for testing)