This site works best with JavaScript enabled. Please enable JavaScript to get the best experience from this site.
It can be used to launch a Minecraft client by a few codes exactly.
Features:
Example:
MinecraftDirectory dir = new MinecraftDirectory("/home/user/.minecraft"); Launcher launcher = Jmccc.getLauncher(); launcher.launch(new LaunchOption(Versions.resolveVersion(dir, "1.8"), new OfflineAuthenticator("user"), dir), new GameProcessListener() { @Override public void onLog(String log) { System.out.println(log); } @Override public void onErrorLog(String log) { System.err.println(log); } @Override public void onExit(int code) { System.err.println("***EXIT " + code + "***"); } });
In this example, we use /home/user/.minecraft as the .minecraft directory, and launches Minecraft 1.8 with an offline account user.
And the logs from game process will be printed to the stdout and the stderr.
When the game process terminates, this program will print ***EXIT *** to the stderr, and then the monitor threads terminate.
For more informations, click here.
Notice:
The original JMCCC dose not contains the yggdrasil authentication module.
See the jmccc-yggdrasil-authenticator: https://github.com/to2mbn/jmccc-jyal-authenticator.
Authors:
darkyoooooo and yushijinhun.
Github Link: (Your contributions are welcome)
https://github.com/to2mbn/JMCCC
You can also check out our other open-source projects like:
Download:
You can get the latest maven release from here.
JMCCC is an open-source lightweight library for launching Minecraft written in Java.
It can be used to launch a Minecraft client by a few codes exactly.
Features:
Example:
In this example, we use /home/user/.minecraft as the .minecraft directory, and launches Minecraft 1.8 with an offline account user.
And the logs from game process will be printed to the stdout and the stderr.
When the game process terminates, this program will print ***EXIT *** to the stderr, and then the monitor threads terminate.
For more informations, click here.
Notice:
The original JMCCC dose not contains the yggdrasil authentication module.
See the jmccc-yggdrasil-authenticator: https://github.com/to2mbn/jmccc-jyal-authenticator.
Authors:
darkyoooooo and yushijinhun.
Github Link: (Your contributions are welcome)
https://github.com/to2mbn/JMCCC
You can also check out our other open-source projects like:
Download:
You can get the latest maven release from here.