Coder Social home page Coder Social logo

3arthqu4ke / headlessmc Goto Github PK

View Code? Open in Web Editor NEW
137.0 2.0 16.0 892 KB

Minecraft on the command line

Home Page: https://3arthqu4ke.github.io/headlessmc/

License: MIT License

Groovy 0.87% Java 98.69% Shell 0.04% Batchfile 0.01% Python 0.22% Dockerfile 0.17%
bytecode cli headless minecraft minecraft-launcher launcher lwjgl

headlessmc's Introduction

HeadlessMc

A command line launcher for Minecraft Java Edition.

Mc-Runtime-Test | HMC | HMC-Specifics | HMC-Optimizations

Codacy Badge GitHub All Releases GitHub Docker Image Size Github last-commit

Warning

NOT AN OFFICIAL MINECRAFT PRODUCT. NOT APPROVED BY OR ASSOCIATED WITH MOJANG OR MICROSOFT.

HeadlessMc will not allow you to play without having bought Minecraft! Accounts will always be validated. Offline accounts can only be used to run the game headlessly in CI/CD pipelines.

HeadlessMc (HMC) allows you to launch Minecraft Java Edition from the command line. It can also modify the game while and before running it. This feature can be used to make the Minecraft client run in headless mode, without displaying a UI, controlled by the command line. HeadlessMc also patches the Log4J vulnerability and can be used to test the game in your CI/CD pipeline with mc-runtime-test.

How to use

  1. Download the headlessmc-launcher.jar from the releases tab and install a Java version โ‰ฅ 8.
  2. Run the launcher with java -jar headlessmc-launcher.jar in your terminal. You can also use the hmc.sh/bat scripts for convenience.
  3. You need to specify which Java installations HeadlessMc can use to run the game. Open the file HeadlessMC/config.properties and add a key called hmc.java.versions, with a ; seperated list of java versions HeadlessMc can use, like this:
    hmc.java.versions=C:/Program Files/Java/jre-<version>/bin/java;C:/Program Files/Java/jdk-<version>/bin/java
    On Windows Java versions in Program Files/Java will already get detected automatically.
  4. Execute config -refresh and then java -refresh, HeadlessMc should now know which Java versions to use.
  5. HeadlessMc will generally not allow you to start the game without an account. Login to your Minecraft account by executing the login command and follow the instructions.
  6. You can download Minecraft Vanilla versions with the download command, e.g. download 1.21.
  7. After downloading a Vanilla version you can also install modloaders with the forge, fabric, and neoforge commands, e.g. fabric 1.21.
  8. With versions you can list your downloaded Minecraft versions.
  9. With help you can list other available commands.
  10. If you are ready to launch the game execute launch <version>. If you want to start the game in headless mode add the -lwjgl flag.

The hmc-specifics are mods that you can place inside your .minecraft/mods folder. With HeadlessMc they allow you to control the game via the command line, e.g. by sending chat messages and commands with msg "<message>", visualizing the menus displayed by Minecraft via gui and clicking through menus via click.

Arguments passed to commands have to be separated using spaces. If you want to pass an Argument which contains spaces you need to escape it using quotation marks, like this: "argument with spaces". Quotation marks and backslashes can be escaped by using a backslash. So msg "A text with spaces" will send the chat message A text with spaces, while msg "\"A text with spaces\"" additional space will send the chat message "A text with spaces" and the argument additional space will be dropped.

HeadlessMc also has a preconfigured docker image, which comes with Java 8, 17 and 21 installed. Pull it via docker pull 3arthqu4ke/headlessmc and run it with docker run -i -t -p 3arthqu4ke/headlessmc. Inside the container you can use the hmc command anywhere.

HeadlessMc achieves headless mode by patching the LWJGL library: every of its functions is rewritten to do nothing, or to return stub values. This has the advantage of being independent of Minecraft versions, but comes with some overhead. A Minecraft version dependent approach are the hmc-optimizations, another set of mods which patch Minecraft itself to skip all rendering code. You can also achieve headless mode without patching lwjgl by running headlessmc with a virtual framebuffer like Xvfb.

HeadlessMc can be configured using properties. These can be passed as SystemProperties from the command line or via the HeadlessMc/config.properties file. Additional configs can be added to the HeadlessMc/configs folder. For available information see the HmcProperties, the LauncherProperties, the RuntimeProperties or the LwjglProperties.

License, more documentation, etc.

Look here for more in-depth documentation about the project.

Some cool libraries we use:

HeadlessMc is licensed under the MIT License.

headlessmc's People

Contributors

3arthqu4ke avatar andrew121410 avatar bivashy avatar dependabot[bot] avatar nedisy avatar thenuclearnexus avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

headlessmc's Issues

Cant login with microsoft?

me.earth.headlessmc.launcher.auth.AuthException: Invalid credentials or tokens
at me.earth.headlessmc.launcher.auth.AccountManager.login(AccountManager.java:62)
at me.earth.headlessmc.launcher.command.login.LoginCommand.lambda$login$0(LoginCommand.java:56)
at me.earth.headlessmc.launcher.command.login.PasswordCommand.execute(PasswordCommand.java:35)
at me.earth.headlessmc.launcher.command.login.PasswordContext.fail(PasswordContext.java:37)
at me.earth.headlessmc.command.CommandContextImpl.execute(CommandContextImpl.java:37)
at me.earth.headlessmc.command.line.ConsoleListener.listen(ConsoleListener.java:22)
at me.earth.headlessmc.command.line.CommandLineImpl.listen(CommandLineImpl.java:26)
at me.earth.headlessmc.launcher.Main.runHeadlessMc(Main.java:90)
at me.earth.headlessmc.launcher.Main.main(Main.java:35)

This is what I get

Mixin not being applied?

Hello, I get this error when trying to run the mod.

[16:57:58] [main/INFO]: [optifine.OptiFineClassTransformer:dbg:242]: OptiFine ZIP file: C:\Users\gonzu\AppData\Roaming.minecraft\mods\1.12.2\preview_OptiFine_1.12.2_HD_U_G6_pre1.jar
[16:57:58] [main/INFO]: Calling tweak class me.earth.headlessmc.mc.tweaker.HeadlessMcMcTweaker
[16:57:58] [main/WARN]: Mixin config mixins.headlessmc.json requires mixin subsystem version 0.7.11 but 0.7.5 was found. The mixin config will not be applied.
Exception in thread "main" [16:57:58] [main/INFO]: [java.lang.ThreadGroup:uncaughtException:-1]: java.lang.reflect.InvocationTargetException
[16:57:58] [main/INFO]: [java.lang.ThreadGroup:uncaughtException:-1]: at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[16:57:58] [main/INFO]: [java.lang.ThreadGroup:uncaughtException:-1]: at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
[16:57:58] [main/INFO]: [java.lang.ThreadGroup:uncaughtException:-1]: at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
[16:57:58] [main/INFO]: [java.lang.ThreadGroup:uncaughtException:-1]: at java.lang.reflect.Method.invoke(Unknown Source)
[16:57:58] [main/INFO]: [java.lang.ThreadGroup:uncaughtException:-1]: at me.earth.headlessmc.runtime.Main.main(Main.java:38)
[16:57:58] [main/INFO]: [java.lang.ThreadGroup:uncaughtException:-1]: Caused by: org.spongepowered.asm.launch.MixinInitialisationError: Required mixin config mixins.headlessmc.json requires mixin subsystem version 0.7.11
[16:57:58] [main/INFO]: [java.lang.ThreadGroup:uncaughtException:-1]: at org.spongepowered.asm.mixin.transformer.MixinConfig.checkVersion(MixinConfig.java:417)
[16:57:58] [main/INFO]: [java.lang.ThreadGroup:uncaughtException:-1]: at org.spongepowered.asm.mixin.transformer.MixinConfig.onLoad(MixinConfig.java:331)
[16:57:58] [main/INFO]: [java.lang.ThreadGroup:uncaughtException:-1]: at org.spongepowered.asm.mixin.transformer.MixinConfig.create(MixinConfig.java:894)
[16:57:58] [main/INFO]: [java.lang.ThreadGroup:uncaughtException:-1]: at org.spongepowered.asm.mixin.transformer.Config.create(Config.java:116)
[16:57:58] [main/INFO]: [java.lang.ThreadGroup:uncaughtException:-1]: at org.spongepowered.asm.mixin.Mixins.createConfiguration(Mixins.java:91)
[16:57:58] [main/INFO]: [java.lang.ThreadGroup:uncaughtException:-1]: at org.spongepowered.asm.mixin.Mixins.addConfiguration(Mixins.java:78)
[16:57:58] [main/INFO]: [java.lang.ThreadGroup:uncaughtException:-1]: at me.earth.headlessmc.mc.tweaker.HeadlessMcMcTweaker.injectIntoClassLoader(HeadlessMcMcTweaker.java:32)
[16:57:58] [main/INFO]: [java.lang.ThreadGroup:uncaughtException:-1]: at net.minecraft.launchwrapper.Launch.launch(Launch.java:115)
[16:57:58] [main/INFO]: [java.lang.ThreadGroup:uncaughtException:-1]: at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
[16:57:58] [main/INFO]: [java.lang.ThreadGroup:uncaughtException:-1]: ... 5 more
Minecraft exited with code: 1
[16:57:59] [main/INFO] [LaunchCommand]: Deleting 68384c22-2a58-4d65-a1d2-447acf12d0dd

My mod list
image

Suggestions/stupid questions

So I've been using this on a few Google Cloud VPSes, my Raspberry Pi, and also VMs to see how well it performs. On 1.12.2 with the -lwjgl and -paulscode flags it runs like a dream. Even on 2 core 2.2 GHz machines with 2GB of RAM it performs excellent. While using the off-the-shelf release JAR I have found some things to suggest that could make the experience better.

Launch flags could be added on by default through config.properties.
config.properties should have most if not all configurable options placed into it but commented out to show what is configurable.
When using the -lwjgl flag, the folders it creates should be removed/replaced upon game closure. (not sure what they do, appears like garbage left behind, but I am most likely wrong)
Account credential storage should be documented more clearly, so the user doesn't fail to put the login in upon each launch.

(this may be too far of a suggestion-) The -lwjgl and -paulscode flags should be on by default. Most users looking for a truly headless Minecraft launcher may be confused as to why their game crashes due to display issues despite being on a headless launcher.

This project is amazing, keep up the good work ;)

[Feature] Autodetect Java Versions

Just check locations java installations can typically be found in.

  • JAVA_HOME
  • Windows "Program Files/Java"
  • Linux?
  • Mac?
  • Windows users//.jdks and other locations?

[Refactor] Runtime, Config, Command System and UI

  • Command System needs a refactor and we really just gotta use a library, this has been done 1000 times before.
    • Suggestions would be awesome. I dont really want to use brigadier, but it would fit well into mc.
    • Migrating to something that supports something like jline similarly to the minecraft server or spring-boot cli could with issues like #72 another promising approach could be something like: https://github.com/Minecrell/TerminalConsoleAppender
    • Colors!!!
  • Config system is awful
  • Runtime is worthless, should just be a mod and instead maybe just a quit command, see #138
    • Compatibility of multiple HMC-Specific/Runtime like programs trying to use the InputStream in MC?

Invalid credentials or tokens and straight crash

When i try to login i get this error message
Please use 'password ' to login. Use 'abort' to cancel the login process.

Logging in...
Failed to log you in: Invalid credentials or tokens
me.earth.headlessmc.launcher.auth.AuthException: Invalid credentials or tokens
at me.earth.headlessmc.launcher.auth.AccountManager.login(AccountManager.java:62)
at me.earth.headlessmc.launcher.command.login.LoginCommand.lambda$login$0(LoginCommand.java:56)
at me.earth.headlessmc.launcher.command.login.PasswordCommand.execute(PasswordCommand.java:35)
at me.earth.headlessmc.launcher.command.login.PasswordContext.fail(PasswordContext.java:37)
at me.earth.headlessmc.command.CommandContextImpl.execute(CommandContextImpl.java:37)
at me.earth.headlessmc.command.line.ConsoleListener.listen(ConsoleListener.java:22)
at me.earth.headlessmc.command.line.CommandLineImpl.listen(CommandLineImpl.java:26)
at me.earth.headlessmc.launcher.Main.runHeadlessMc(Main.java:90)
at me.earth.headlessmc.launcher.Main.main(Main.java:35)

latest version

[Refactor] README, Wiki?

README is kinda bad, it might be hard to understand whats going on.
The JavaFX situation also has to be explained better.

Issue with PingBypass

[04:16:12] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLServerTweaker [04:16:12] [main/INFO] [LaunchWrapper]: Using primary tweak class name net.minecraftforge.fml.common.launcher.FMLServerTweaker [04:16:12] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLServerTweaker [04:16:12] [main/INFO] [FML]: Forge Mod Loader version 14.23.5.2859 for Minecraft 1.12.2 loading [04:16:12] [main/INFO] [FML]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.8.0_311, running on Linux:aarch64:5.4.17-2136.305.5.3.el7uek.aarch64, installed at /usr/java/jdk1.8.0_311-aarch64/jre [04:16:12] [main/INFO] [FML]: Searching /home/opc/minecraft/./mods for mods [04:16:12] [main/INFO] [FML]: Loading tweaker org.spongepowered.asm.launch.MixinTweaker from pingbypass-1.0.0-release.jar [04:16:12] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker [04:16:12] [main/INFO] [LaunchWrapper]: Loading tweak class name org.spongepowered.asm.launch.MixinTweaker [04:16:12] [main/INFO] [mixin]: SpongePowered MIXIN Subsystem Version=0.7.11 Source=file:/home/opc/minecraft/./mods/pingbypass-1.0.0-release.jar Service=LaunchWrapper Env=SERVER [04:16:12] [main/WARN] [FML]: The coremod me.earth.pingbypass.mixin.Core does not have a MCVersion annotation, it may cause issues with this version of Minecraft [04:16:12] [main/WARN] [FML]: The coremod Core (me.earth.pingbypass.mixin.Core) is not signed! [04:16:12] [main/INFO] [mixin]: Compatibility level set to JAVA_8 [04:16:12] [main/ERROR] [mixin]: Mixin config mixins.pingbypass.json does not specify "minVersion" property [04:16:12] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLDeobfTweaker [04:16:12] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker [04:16:12] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker [04:16:12] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper [04:16:14] [main/INFO] [FML]: Found valid fingerprint for Minecraft Forge. Certificate fingerprint e3c3d50c7c986df74c645c0ac54639741c90a557 [04:16:14] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper [04:16:14] [main/INFO] [LaunchWrapper]: Calling tweak class org.spongepowered.asm.launch.MixinTweaker [04:16:14] [main/ERROR] [mixin]: Mixin config mixins.pingbypass.json does not specify "minVersion" property [04:16:14] [main/INFO] [mixin]: Initialised Mixin FML Remapper Adapter with net.minecraftforge.fml.common.asm.transformers.deobf.FMLDeobfuscatingRemapper@39ce27f2 [04:16:14] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLDeobfTweaker [04:16:14] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.TerminalTweaker [04:16:14] [main/INFO] [LaunchWrapper]: Loading tweak class name org.spongepowered.asm.mixin.EnvironmentStateTweaker [04:16:14] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.TerminalTweaker [04:16:14] [main/INFO] [LaunchWrapper]: Calling tweak class org.spongepowered.asm.mixin.EnvironmentStateTweaker [04:16:14] [main/WARN] [mixin]: Error loading class: net/minecraft/client/Minecraft (net.minecraftforge.fml.common.asm.ASMTransformerWrapper$TransformerException: Exception in class transformer net.minecraftforge.fml.common.asm.transformers.SideTransformer@6e4ea0bd from coremod FMLCorePlugin) [04:16:14] [main/WARN] [mixin]: @Mixin target net.minecraft.client.Minecraft was not found mixins.pingbypass.json:minecraft.MixinMinecraft [04:16:14] [main/WARN] [mixin]: Error loading class: net/minecraft/client/entity/EntityPlayerSP (net.minecraftforge.fml.common.asm.ASMTransformerWrapper$TransformerException: Exception in class transformer net.minecraftforge.fml.common.asm.transformers.SideTransformer@6e4ea0bd from coremod FMLCorePlugin) [04:16:14] [main/WARN] [mixin]: @Mixin target net.minecraft.client.entity.EntityPlayerSP was not found mixins.pingbypass.json:minecraft.entity.MixinEntityPlayerSP [04:16:14] [main/WARN] [mixin]: Error loading class: net/minecraft/client/multiplayer/PlayerControllerMP (net.minecraftforge.fml.common.asm.ASMTransformerWrapper$TransformerException: Exception in class transformer net.minecraftforge.fml.common.asm.transformers.SideTransformer@6e4ea0bd from coremod FMLCorePlugin) [04:16:14] [main/WARN] [mixin]: @Mixin target net.minecraft.client.multiplayer.PlayerControllerMP was not found mixins.pingbypass.json:minecraft.entity.MixinPlayerControllerMP [04:16:14] [main/WARN] [mixin]: Error loading class: net/minecraft/client/gui/GuiScreen (net.minecraftforge.fml.common.asm.ASMTransformerWrapper$TransformerException: Exception in class transformer net.minecraftforge.fml.common.asm.transformers.SideTransformer@6e4ea0bd from coremod FMLCorePlugin) [04:16:14] [main/WARN] [mixin]: @Mixin target net.minecraft.client.gui.GuiScreen was not found mixins.pingbypass.json:minecraft.gui.MixinGuiScreen [04:16:14] [main/WARN] [mixin]: Error loading class: net/minecraft/client/network/NetHandlerPlayClient (net.minecraftforge.fml.common.asm.ASMTransformerWrapper$TransformerException: Exception in class transformer net.minecraftforge.fml.common.asm.transformers.SideTransformer@6e4ea0bd from coremod FMLCorePlugin) [04:16:14] [main/WARN] [mixin]: @Mixin target net.minecraft.client.network.NetHandlerPlayClient was not found mixins.pingbypass.json:minecraft.network.MixinNetHandlerPlayClient [04:16:14] [main/WARN] [mixin]: Error loading class: net/minecraft/client/renderer/EntityRenderer (net.minecraftforge.fml.common.asm.ASMTransformerWrapper$TransformerException: Exception in class transformer net.minecraftforge.fml.common.asm.transformers.SideTransformer@6e4ea0bd from coremod FMLCorePlugin) [04:16:14] [main/WARN] [mixin]: @Mixin target net.minecraft.client.renderer.EntityRenderer was not found mixins.pingbypass.json:minecraft.render.MixinEntityRenderer [04:16:14] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.server.MinecraftServer} [04:16:16] [main/FATAL] [mixin]: Mixin apply failed mixins.pingbypass.json:minecraft.gui.IContainer -> net.minecraft.inventory.Container: org.spongepowered.asm.mixin.gen.throwables.InvalidAccessorException No candidates were found matching field_75150_e:S in net/minecraft/inventory/Container for mixins.pingbypass.json:minecraft.gui.IContainer->@Accessor[FIELD_SETTER]::setTransactionID(S)V org.spongepowered.asm.mixin.gen.throwables.InvalidAccessorException: No candidates were found matching field_75150_e:S in net/minecraft/inventory/Container for mixins.pingbypass.json:minecraft.gui.IContainer->@Accessor[FIELD_SETTER]::setTransactionID(S)V at org.spongepowered.asm.mixin.gen.AccessorInfo.findTarget(AccessorInfo.java:382) ~[pingbypass-1.0.0-release.jar:?] at org.spongepowered.asm.mixin.gen.AccessorInfo.findTargetField(AccessorInfo.java:338) ~[pingbypass-1.0.0-release.jar:?] at org.spongepowered.asm.mixin.gen.AccessorInfo.locate(AccessorInfo.java:321) ~[pingbypass-1.0.0-release.jar:?] at org.spongepowered.asm.mixin.transformer.MixinTargetContext.generateAccessors(MixinTargetContext.java:1215) ~[pingbypass-1.0.0-release.jar:?] at org.spongepowered.asm.mixin.transformer.MixinApplicatorStandard.applyAccessors(MixinApplicatorStandard.java:947) ~[pingbypass-1.0.0-release.jar:?] at org.spongepowered.asm.mixin.transformer.MixinApplicatorStandard.applyMixin(MixinApplicatorStandard.java:321) ~[pingbypass-1.0.0-release.jar:?] at org.spongepowered.asm.mixin.transformer.MixinApplicatorStandard.apply(MixinApplicatorStandard.java:280) ~[pingbypass-1.0.0-release.jar:?] at org.spongepowered.asm.mixin.transformer.TargetClassContext.applyMixins(TargetClassContext.java:353) ~[pingbypass-1.0.0-release.jar:?] at org.spongepowered.asm.mixin.transformer.MixinTransformer.apply(MixinTransformer.java:724) [pingbypass-1.0.0-release.jar:?] at org.spongepowered.asm.mixin.transformer.MixinTransformer.applyMixins(MixinTransformer.java:703) [pingbypass-1.0.0-release.jar:?] at org.spongepowered.asm.mixin.transformer.MixinTransformer.transformClassBytes(MixinTransformer.java:509) [pingbypass-1.0.0-release.jar:?] at org.spongepowered.asm.mixin.transformer.Proxy.transform(Proxy.java:72) [pingbypass-1.0.0-release.jar:?] at net.minecraft.launchwrapper.LaunchClassLoader.runTransformers(LaunchClassLoader.java:279) [launchwrapper-1.12.jar:?] at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:176) [launchwrapper-1.12.jar:?] at java.lang.ClassLoader.loadClass(ClassLoader.java:418) [?:1.8.0_311] at java.lang.ClassLoader.loadClass(ClassLoader.java:351) [?:1.8.0_311] at java.lang.Class.getDeclaredConstructors0(Native Method) ~[?:1.8.0_311] at java.lang.Class.privateGetDeclaredConstructors(Class.java:2671) [?:1.8.0_311] at java.lang.Class.getConstructor0(Class.java:3075) [?:1.8.0_311] at java.lang.Class.getConstructor(Class.java:1825) [?:1.8.0_311] at net.minecraft.entity.EntityList.func_191303_a(EntityList.java:410) [vi.class:?] at net.minecraft.entity.EntityList.func_151514_a(EntityList.java:317) [vi.class:?] at net.minecraft.init.Bootstrap.func_151354_b(Bootstrap.java:505) [ni.class:?] at net.minecraft.server.MinecraftServer.main(MinecraftServer.java:1470) [MinecraftServer.class:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_311] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_311] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_311] at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_311] at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.12.jar:?] at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.12.jar:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_311] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_311] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_311] at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_311] at net.minecraftforge.fml.relauncher.ServerLaunchWrapper.run(ServerLaunchWrapper.java:70) [forge-1.12.2-14.23.5.2859.jar:?] at net.minecraftforge.fml.relauncher.ServerLaunchWrapper.main(ServerLaunchWrapper.java:34) [forge-1.12.2-14.23.5.2859.jar:?] [04:16:16] [main/INFO] [STDERR]: [org.spongepowered.asm.mixin.transformer.MixinTransformer:transformClassBytes:519]: org.spongepowered.asm.mixin.throwables.MixinApplyError: Mixin [mixins.pingbypass.json:minecraft.gui.IContainer] from phase [DEFAULT] in config [mixins.pingbypass.json] FAILED during APPLY [04:16:16] [main/INFO] [STDERR]: [org.spongepowered.asm.mixin.transformer.MixinTransformer:transformClassBytes:519]: at org.spongepowered.asm.mixin.transformer.MixinTransformer.handleMixinError(MixinTransformer.java:779) [04:16:16] [main/INFO] [STDERR]: [org.spongepowered.asm.mixin.transformer.MixinTransformer:transformClassBytes:519]: at org.spongepowered.asm.mixin.transformer.MixinTransformer.handleMixinApplyError(MixinTransformer.java:732) [04:16:16] [main/INFO] [STDERR]: [org.spongepowered.asm.mixin.transformer.MixinTransformer:transformClassBytes:519]: at org.spongepowered.asm.mixin.transformer.MixinTransformer.transformClassBytes(MixinTransformer.java:513) [04:16:16] [main/INFO] [STDERR]: [org.spongepowered.asm.mixin.transformer.MixinTransformer:transformClassBytes:519]: at org.spongepowered.asm.mixin.transformer.Proxy.transform(Proxy.java:72) [04:16:16] [main/INFO] [STDERR]: [org.spongepowered.asm.mixin.transformer.MixinTransformer:transformClassBytes:519]: at net.minecraft.launchwrapper.LaunchClassLoader.runTransformers(LaunchClassLoader.java:279) [04:16:16] [main/INFO] [STDERR]: [org.spongepowered.asm.mixin.transformer.MixinTransformer:transformClassBytes:519]: at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:176) [04:16:16] [main/INFO] [STDERR]: [org.spongepowered.asm.mixin.transformer.MixinTransformer:transformClassBytes:519]: at java.lang.ClassLoader.loadClass(ClassLoader.java:418) [04:16:16] [main/INFO] [STDERR]: [org.spongepowered.asm.mixin.transformer.MixinTransformer:transformClassBytes:519]: at java.lang.ClassLoader.loadClass(ClassLoader.java:351) [04:16:16] [main/INFO] [STDERR]: [org.spongepowered.asm.mixin.transformer.MixinTransformer:transformClassBytes:519]: at java.lang.Class.getDeclaredConstructors0(Native Method) [04:16:16] [main/INFO] [STDERR]: [org.spongepowered.asm.mixin.transformer.MixinTransformer:transformClassBytes:519]: at java.lang.Class.privateGetDeclaredConstructors(Class.java:2671) [04:16:16] [main/INFO] [STDERR]: [org.spongepowered.asm.mixin.transformer.MixinTransformer:transformClassBytes:519]: at java.lang.Class.getConstructor0(Class.java:3075) [04:16:16] [main/INFO] [STDERR]: [org.spongepowered.asm.mixin.transformer.MixinTransformer:transformClassBytes:519]: at java.lang.Class.getConstructor(Class.java:1825) [04:16:16] [main/INFO] [STDERR]: [org.spongepowered.asm.mixin.transformer.MixinTransformer:transformClassBytes:519]: at net.minecraft.entity.EntityList.func_191303_a(EntityList.java:410) [04:16:16] [main/INFO] [STDERR]: [org.spongepowered.asm.mixin.transformer.MixinTransformer:transformClassBytes:519]: at net.minecraft.entity.EntityList.func_151514_a(EntityList.java:317) [04:16:16] [main/INFO] [STDERR]: [org.spongepowered.asm.mixin.transformer.MixinTransformer:transformClassBytes:519]: at net.minecraft.init.Bootstrap.func_151354_b(Bootstrap.java:505) [04:16:16] [main/INFO] [STDERR]: [org.spongepowered.asm.mixin.transformer.MixinTransformer:transformClassBytes:519]: at net.minecraft.server.MinecraftServer.main(MinecraftServer.java:1470) [04:16:16] [main/INFO] [STDERR]: [org.spongepowered.asm.mixin.transformer.MixinTransformer:transformClassBytes:519]: at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [04:16:16] [main/INFO] [STDERR]: [org.spongepowered.asm.mixin.transformer.MixinTransformer:transformClassBytes:519]: at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [04:16:16] [main/INFO] [STDERR]: [org.spongepowered.asm.mixin.transformer.MixinTransformer:transformClassBytes:519]: at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [04:16:16] [main/INFO] [STDERR]: [org.spongepowered.asm.mixin.transformer.MixinTransformer:transformClassBytes:519]: at java.lang.reflect.Method.invoke(Method.java:498) [04:16:16] [main/INFO] [STDERR]: [org.spongepowered.asm.mixin.transformer.MixinTransformer:transformClassBytes:519]: at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [04:16:16] [main/INFO] [STDERR]: [org.spongepowered.asm.mixin.transformer.MixinTransformer:transformClassBytes:519]: at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [04:16:16] [main/INFO] [STDERR]: [org.spongepowered.asm.mixin.transformer.MixinTransformer:transformClassBytes:519]: at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [04:16:16] [main/INFO] [STDERR]: [org.spongepowered.asm.mixin.transformer.MixinTransformer:transformClassBytes:519]: at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [04:16:16] [main/INFO] [STDERR]: [org.spongepowered.asm.mixin.transformer.MixinTransformer:transformClassBytes:519]: at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [04:16:16] [main/INFO] [STDERR]: [org.spongepowered.asm.mixin.transformer.MixinTransformer:transformClassBytes:519]: at java.lang.reflect.Method.invoke(Method.java:498) [04:16:16] [main/INFO] [STDERR]: [org.spongepowered.asm.mixin.transformer.MixinTransformer:transformClassBytes:519]: at net.minecraftforge.fml.relauncher.ServerLaunchWrapper.run(ServerLaunchWrapper.java:70) [04:16:16] [main/INFO] [STDERR]: [org.spongepowered.asm.mixin.transformer.MixinTransformer:transformClassBytes:519]: at net.minecraftforge.fml.relauncher.ServerLaunchWrapper.main(ServerLaunchWrapper.java:34) [04:16:16] [main/INFO] [STDERR]: [java.lang.Throwable:printStackTrace:635]: Caused by: org.spongepowered.asm.mixin.gen.throwables.InvalidAccessorException: No candidates were found matching field_75150_e:S in net/minecraft/inventory/Container for mixins.pingbypass.json:minecraft.gui.IContainer->@Accessor[FIELD_SETTER]::setTransactionID(S)V [04:16:16] [main/INFO] [STDERR]: [java.lang.Throwable:printStackTrace:635]: at org.spongepowered.asm.mixin.gen.AccessorInfo.findTarget(AccessorInfo.java:382) [04:16:16] [main/INFO] [STDERR]: [java.lang.Throwable:printStackTrace:635]: at org.spongepowered.asm.mixin.gen.AccessorInfo.findTargetField(AccessorInfo.java:338) [04:16:16] [main/INFO] [STDERR]: [java.lang.Throwable:printStackTrace:635]: at org.spongepowered.asm.mixin.gen.AccessorInfo.locate(AccessorInfo.java:321) [04:16:16] [main/INFO] [STDERR]: [java.lang.Throwable:printStackTrace:635]: at org.spongepowered.asm.mixin.transformer.MixinTargetContext.generateAccessors(MixinTargetContext.java:1215) [04:16:16] [main/INFO] [STDERR]: [java.lang.Throwable:printStackTrace:635]: at org.spongepowered.asm.mixin.transformer.MixinApplicatorStandard.applyAccessors(MixinApplicatorStandard.java:947) [04:16:16] [main/INFO] [STDERR]: [java.lang.Throwable:printStackTrace:635]: at org.spongepowered.asm.mixin.transformer.MixinApplicatorStandard.applyMixin(MixinApplicatorStandard.java:321) [04:16:16] [main/INFO] [STDERR]: [java.lang.Throwable:printStackTrace:635]: at org.spongepowered.asm.mixin.transformer.MixinApplicatorStandard.apply(MixinApplicatorStandard.java:280) [04:16:16] [main/INFO] [STDERR]: [java.lang.Throwable:printStackTrace:635]: at org.spongepowered.asm.mixin.transformer.TargetClassContext.applyMixins(TargetClassContext.java:353) [04:16:16] [main/INFO] [STDERR]: [java.lang.Throwable:printStackTrace:635]: at org.spongepowered.asm.mixin.transformer.MixinTransformer.apply(MixinTransformer.java:724) [04:16:16] [main/INFO] [STDERR]: [java.lang.Throwable:printStackTrace:635]: at org.spongepowered.asm.mixin.transformer.MixinTransformer.applyMixins(MixinTransformer.java:703) [04:16:16] [main/INFO] [STDERR]: [java.lang.Throwable:printStackTrace:635]: at org.spongepowered.asm.mixin.transformer.MixinTransformer.transformClassBytes(MixinTransformer.java:509) [04:16:16] [main/INFO] [STDERR]: [java.lang.Throwable:printStackTrace:635]: ... 25 more [04:16:16] [main/ERROR] [LaunchWrapper]: Unable to launch java.lang.reflect.InvocationTargetException: null at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_311] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_311] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_311] at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_311] at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.12.jar:?] at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.12.jar:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_311] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_311] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_311] at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_311] at net.minecraftforge.fml.relauncher.ServerLaunchWrapper.run(ServerLaunchWrapper.java:70) [forge-1.12.2-14.23.5.2859.jar:?] at net.minecraftforge.fml.relauncher.ServerLaunchWrapper.main(ServerLaunchWrapper.java:34) [forge-1.12.2-14.23.5.2859.jar:?] Caused by: java.lang.NoClassDefFoundError: net/minecraft/inventory/Container at java.lang.Class.getDeclaredConstructors0(Native Method) ~[?:1.8.0_311] at java.lang.Class.privateGetDeclaredConstructors(Class.java:2671) ~[?:1.8.0_311] at java.lang.Class.getConstructor0(Class.java:3075) ~[?:1.8.0_311] at java.lang.Class.getConstructor(Class.java:1825) ~[?:1.8.0_311] at net.minecraft.entity.EntityList.func_191303_a(EntityList.java:410) ~[vi.class:?] at net.minecraft.entity.EntityList.func_151514_a(EntityList.java:317) ~[vi.class:?] at net.minecraft.init.Bootstrap.func_151354_b(Bootstrap.java:505) ~[ni.class:?] at net.minecraft.server.MinecraftServer.main(MinecraftServer.java:1470) ~[MinecraftServer.class:?] ... 12 more Caused by: java.lang.ClassNotFoundException: net.minecraft.inventory.Container at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:191) ~[launchwrapper-1.12.jar:?] at java.lang.ClassLoader.loadClass(ClassLoader.java:418) ~[?:1.8.0_311] at java.lang.ClassLoader.loadClass(ClassLoader.java:351) ~[?:1.8.0_311] at java.lang.Class.getDeclaredConstructors0(Native Method) ~[?:1.8.0_311] at java.lang.Class.privateGetDeclaredConstructors(Class.java:2671) ~[?:1.8.0_311] at java.lang.Class.getConstructor0(Class.java:3075) ~[?:1.8.0_311] at java.lang.Class.getConstructor(Class.java:1825) ~[?:1.8.0_311] at net.minecraft.entity.EntityList.func_191303_a(EntityList.java:410) ~[vi.class:?] at net.minecraft.entity.EntityList.func_151514_a(EntityList.java:317) ~[vi.class:?] at net.minecraft.init.Bootstrap.func_151354_b(Bootstrap.java:505) ~[ni.class:?] at net.minecraft.server.MinecraftServer.main(MinecraftServer.java:1470) ~[MinecraftServer.class:?] ... 12 more Caused by: org.spongepowered.asm.mixin.transformer.throwables.MixinTransformerError: An unexpected critical error was encountered at org.spongepowered.asm.mixin.transformer.MixinTransformer.transformClassBytes(MixinTransformer.java:521) ~[pingbypass-1.0.0-release.jar:?] at org.spongepowered.asm.mixin.transformer.Proxy.transform(Proxy.java:72) ~[pingbypass-1.0.0-release.jar:?] at net.minecraft.launchwrapper.LaunchClassLoader.runTransformers(LaunchClassLoader.java:279) ~[launchwrapper-1.12.jar:?] at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:176) ~[launchwrapper-1.12.jar:?] at java.lang.ClassLoader.loadClass(ClassLoader.java:418) ~[?:1.8.0_311] at java.lang.ClassLoader.loadClass(ClassLoader.java:351) ~[?:1.8.0_311] at java.lang.Class.getDeclaredConstructors0(Native Method) ~[?:1.8.0_311] at java.lang.Class.privateGetDeclaredConstructors(Class.java:2671) ~[?:1.8.0_311] at java.lang.Class.getConstructor0(Class.java:3075) ~[?:1.8.0_311] at java.lang.Class.getConstructor(Class.java:1825) ~[?:1.8.0_311] at net.minecraft.entity.EntityList.func_191303_a(EntityList.java:410) ~[vi.class:?] at net.minecraft.entity.EntityList.func_151514_a(EntityList.java:317) ~[vi.class:?] at net.minecraft.init.Bootstrap.func_151354_b(Bootstrap.java:505) ~[ni.class:?] at net.minecraft.server.MinecraftServer.main(MinecraftServer.java:1470) ~[MinecraftServer.class:?] ... 12 more Caused by: org.spongepowered.asm.mixin.throwables.MixinApplyError: Mixin [mixins.pingbypass.json:minecraft.gui.IContainer] from phase [DEFAULT] in config [mixins.pingbypass.json] FAILED during APPLY at org.spongepowered.asm.mixin.transformer.MixinTransformer.handleMixinError(MixinTransformer.java:779) ~[pingbypass-1.0.0-release.jar:?] at org.spongepowered.asm.mixin.transformer.MixinTransformer.handleMixinApplyError(MixinTransformer.java:732) ~[pingbypass-1.0.0-release.jar:?] at org.spongepowered.asm.mixin.transformer.MixinTransformer.transformClassBytes(MixinTransformer.java:513) ~[pingbypass-1.0.0-release.jar:?] at org.spongepowered.asm.mixin.transformer.Proxy.transform(Proxy.java:72) ~[pingbypass-1.0.0-release.jar:?] at net.minecraft.launchwrapper.LaunchClassLoader.runTransformers(LaunchClassLoader.java:279) ~[launchwrapper-1.12.jar:?] at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:176) ~[launchwrapper-1.12.jar:?] at java.lang.ClassLoader.loadClass(ClassLoader.java:418) ~[?:1.8.0_311] at java.lang.ClassLoader.loadClass(ClassLoader.java:351) ~[?:1.8.0_311] at java.lang.Class.getDeclaredConstructors0(Native Method) ~[?:1.8.0_311] at java.lang.Class.privateGetDeclaredConstructors(Class.java:2671) ~[?:1.8.0_311] at java.lang.Class.getConstructor0(Class.java:3075) ~[?:1.8.0_311] at java.lang.Class.getConstructor(Class.java:1825) ~[?:1.8.0_311] at net.minecraft.entity.EntityList.func_191303_a(EntityList.java:410) ~[vi.class:?] at net.minecraft.entity.EntityList.func_151514_a(EntityList.java:317) ~[vi.class:?] at net.minecraft.init.Bootstrap.func_151354_b(Bootstrap.java:505) ~[ni.class:?] at net.minecraft.server.MinecraftServer.main(MinecraftServer.java:1470) ~[MinecraftServer.class:?] ... 12 more Caused by: org.spongepowered.asm.mixin.gen.throwables.InvalidAccessorException: No candidates were found matching field_75150_e:S in net/minecraft/inventory/Container for mixins.pingbypass.json:minecraft.gui.IContainer->@Accessor[FIELD_SETTER]::setTransactionID(S)V at org.spongepowered.asm.mixin.gen.AccessorInfo.findTarget(AccessorInfo.java:382) ~[pingbypass-1.0.0-release.jar:?] at org.spongepowered.asm.mixin.gen.AccessorInfo.findTargetField(AccessorInfo.java:338) ~[pingbypass-1.0.0-release.jar:?] at org.spongepowered.asm.mixin.gen.AccessorInfo.locate(AccessorInfo.java:321) ~[pingbypass-1.0.0-release.jar:?] at org.spongepowered.asm.mixin.transformer.MixinTargetContext.generateAccessors(MixinTargetContext.java:1215) ~[pingbypass-1.0.0-release.jar:?] at org.spongepowered.asm.mixin.transformer.MixinApplicatorStandard.applyAccessors(MixinApplicatorStandard.java:947) ~[pingbypass-1.0.0-release.jar:?] at org.spongepowered.asm.mixin.transformer.MixinApplicatorStandard.applyMixin(MixinApplicatorStandard.java:321) ~[pingbypass-1.0.0-release.jar:?] at org.spongepowered.asm.mixin.transformer.MixinApplicatorStandard.apply(MixinApplicatorStandard.java:280) ~[pingbypass-1.0.0-release.jar:?] at org.spongepowered.asm.mixin.transformer.TargetClassContext.applyMixins(TargetClassContext.java:353) ~[pingbypass-1.0.0-release.jar:?] at org.spongepowered.asm.mixin.transformer.MixinTransformer.apply(MixinTransformer.java:724) ~[pingbypass-1.0.0-release.jar:?] at org.spongepowered.asm.mixin.transformer.MixinTransformer.applyMixins(MixinTransformer.java:703) ~[pingbypass-1.0.0-release.jar:?] at org.spongepowered.asm.mixin.transformer.MixinTransformer.transformClassBytes(MixinTransformer.java:509) ~[pingbypass-1.0.0-release.jar:?] at org.spongepowered.asm.mixin.transformer.Proxy.transform(Proxy.java:72) ~[pingbypass-1.0.0-release.jar:?] at net.minecraft.launchwrapper.LaunchClassLoader.runTransformers(LaunchClassLoader.java:279) ~[launchwrapper-1.12.jar:?] at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:176) ~[launchwrapper-1.12.jar:?] at java.lang.ClassLoader.loadClass(ClassLoader.java:418) ~[?:1.8.0_311] at java.lang.ClassLoader.loadClass(ClassLoader.java:351) ~[?:1.8.0_311] at java.lang.Class.getDeclaredConstructors0(Native Method) ~[?:1.8.0_311] at java.lang.Class.privateGetDeclaredConstructors(Class.java:2671) ~[?:1.8.0_311] at java.lang.Class.getConstructor0(Class.java:3075) ~[?:1.8.0_311] at java.lang.Class.getConstructor(Class.java:1825) ~[?:1.8.0_311] at net.minecraft.entity.EntityList.func_191303_a(EntityList.java:410) ~[vi.class:?] at net.minecraft.entity.EntityList.func_151514_a(EntityList.java:317) ~[vi.class:?] at net.minecraft.init.Bootstrap.func_151354_b(Bootstrap.java:505) ~[ni.class:?] at net.minecraft.server.MinecraftServer.main(MinecraftServer.java:1470) ~[MinecraftServer.class:?] ... 12 more A problem occurred running the Server launcher.[04:16:16] [main/INFO] [STDERR]: [net.minecraftforge.fml.relauncher.ServerLaunchWrapper:main:34]: java.lang.reflect.InvocationTargetException [04:16:16] [main/INFO] [STDERR]: [net.minecraftforge.fml.relauncher.ServerLaunchWrapper:main:34]: at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [04:16:16] [main/INFO] [STDERR]: [net.minecraftforge.fml.relauncher.ServerLaunchWrapper:main:34]: at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [04:16:16] [main/INFO] [STDERR]: [net.minecraftforge.fml.relauncher.ServerLaunchWrapper:main:34]: at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [04:16:16] [main/INFO] [STDERR]: [net.minecraftforge.fml.relauncher.ServerLaunchWrapper:main:34]: at java.lang.reflect.Method.invoke(Method.java:498) [04:16:16] [main/INFO] [STDERR]: [net.minecraftforge.fml.relauncher.ServerLaunchWrapper:main:34]: at net.minecraftforge.fml.relauncher.ServerLaunchWrapper.run(ServerLaunchWrapper.java:70) [04:16:16] [main/INFO] [STDERR]: [net.minecraftforge.fml.relauncher.ServerLaunchWrapper:main:34]: at net.minecraftforge.fml.relauncher.ServerLaunchWrapper.main(ServerLaunchWrapper.java:34) [04:16:16] [main/INFO] [STDERR]: [net.minecraftforge.fml.relauncher.ServerLaunchWrapper:run:75]: Caused by: net.minecraftforge.fml.relauncher.FMLSecurityManager$ExitTrappedException [04:16:16] [main/INFO] [STDERR]: [net.minecraftforge.fml.relauncher.ServerLaunchWrapper:run:75]: at net.minecraftforge.fml.relauncher.FMLSecurityManager.checkPermission(FMLSecurityManager.java:49) [04:16:16] [main/INFO] [STDERR]: [net.minecraftforge.fml.relauncher.ServerLaunchWrapper:run:75]: at java.lang.SecurityManager.checkExit(SecurityManager.java:761) [04:16:16] [main/INFO] [STDERR]: [net.minecraftforge.fml.relauncher.ServerLaunchWrapper:run:75]: at java.lang.Runtime.exit(Runtime.java:107) [04:16:16] [main/INFO] [STDERR]: [net.minecraftforge.fml.relauncher.ServerLaunchWrapper:run:75]: at java.lang.System.exit(System.java:971) [04:16:16] [main/INFO] [STDERR]: [net.minecraftforge.fml.relauncher.ServerLaunchWrapper:run:75]: at net.minecraft.launchwrapper.Launch.launch(Launch.java:138) [04:16:16] [main/INFO] [STDERR]: [net.minecraftforge.fml.relauncher.ServerLaunchWrapper:run:75]: at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [04:16:16] [main/INFO] [STDERR]: [net.minecraftforge.fml.relauncher.ServerLaunchWrapper:run:75]: ... 6 more

Java version

Hey I'm new to github so sorry if this is bad and stuff.

I'm trying to run this on a linux server and I'm stuck at the hmc.java.versions key part. I tried downloading a jre from java but I'm not sure what to enter after hmc.java.versions=. Would you know where to download the jre and how I would enter it into the file?

Fabric won't start by this launcher

Uncaught exception in thread "main"
net.fabricmc.loader.impl.util.ExceptionUtil$WrappedException: java.io.IOException: error reading C:\Users\mikus\AppData\Roaming.minecraft\versions\fabric-loader-0.14.8-1.19\fabric-loader-0.14.8-1.19.jar
at net.fabricmc.loader.impl.util.ExceptionUtil.wrap(ExceptionUtil.java:51)
at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.locateGame(MinecraftGameProvider.java:232)
at net.fabricmc.loader.impl.launch.knot.Knot.createGameProvider(Knot.java:177)
at net.fabricmc.loader.impl.launch.knot.Knot.init(Knot.java:130)
at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:68)
at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23)
Caused by: java.io.IOException: error reading C:\Users\mikus\AppData\Roaming.minecraft\versions\fabric-loader-0.14.8-1.19\fabric-loader-0.14.8-1.19.jar
at net.fabricmc.loader.impl.game.LibClassifier.process(LibClassifier.java:214)
at net.fabricmc.loader.impl.game.LibClassifier.process(LibClassifier.java:161)
at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.locateGame(MinecraftGameProvider.java:187)
... 4 more
Caused by: java.util.zip.ZipException: zip file is empty
at java.base/java.util.zip.ZipFile$Source.zerror(ZipFile.java:1598)
at java.base/java.util.zip.ZipFile$Source.findEND(ZipFile.java:1382)
at java.base/java.util.zip.ZipFile$Source.initCEN(ZipFile.java:1477)
at java.base/java.util.zip.ZipFile$Source.(ZipFile.java:1315)
at java.base/java.util.zip.ZipFile$Source.get(ZipFile.java:1277)
at java.base/java.util.zip.ZipFile$CleanableResource.(ZipFile.java:709)
at java.base/java.util.zip.ZipFile.(ZipFile.java:243)
at java.base/java.util.zip.ZipFile.(ZipFile.java:172)
at java.base/java.util.zip.ZipFile.(ZipFile.java:186)
at net.fabricmc.loader.impl.game.LibClassifier.process(LibClassifier.java:201)
... 6 more

fabric-loader-0.14.8-1.19 and fabric-loader-0.14.8-1.18.2 and fabric-loader-0.14.7-1.19
Maybe There are some conflict with fabric update?

No 2FA support whatsoever

Which might be a library issue, but there's also no ability to login through authtoken(or it's highly undocumented).

Little offtopic question

Hi. I couldn't find a better place than here to write this. Is it possible to redirect Minecraft render output to another window like JavaFx?

I want to write a single-window launcher where the launcher and the game will be in the same window. Your project is the closest thing I've found to my idea. I will be glad if you give me some advice

[Feature] Make specifying version to launch easier

  • do not require id flag to be specified, either make it default or smartly chose between id and fallback to name.
  • third, simpler, name-based way of specifying versions: something like fabric-1.20.4 looks for the latest fabric version, so we do not need to specify the entire name, like fabric-loader-0.15.9-1.20.4
  • Regex

Crashing on an headless linux vps with lwjgl option

launch 1.16.5-forge-36.2.22 -lwjgl
Launching version forge, 52ab7c90-bd90-4691-bcee-f6d000da4d4e
[17:32:42] [main/WARNING] [Instrumentation]: /root/HeadlessMC/52ab7c90-bd90-4691-bcee-f6d000da4d4e/lwjgl-3.2.2.jar already exists!
[17:32:42] [main/WARNING] [Instrumentation]: /root/HeadlessMC/52ab7c90-bd90-4691-bcee-f6d000da4d4e/lwjgl-jemalloc-3.2.2.jar already exists!
[17:32:42] [main/WARNING] [Instrumentation]: /root/HeadlessMC/52ab7c90-bd90-4691-bcee-f6d000da4d4e/lwjgl-openal-3.2.2.jar already exists!
[17:32:42] [main/WARNING] [Instrumentation]: /root/HeadlessMC/52ab7c90-bd90-4691-bcee-f6d000da4d4e/lwjgl-opengl-3.2.2.jar already exists!
[17:32:42] [main/WARNING] [Instrumentation]: /root/HeadlessMC/52ab7c90-bd90-4691-bcee-f6d000da4d4e/lwjgl-glfw-3.2.2.jar already exists!
[17:32:42] [main/WARNING] [Instrumentation]: /root/HeadlessMC/52ab7c90-bd90-4691-bcee-f6d000da4d4e/lwjgl-tinyfd-3.2.2.jar already exists!
[17:32:42] [main/WARNING] [Instrumentation]: /root/HeadlessMC/52ab7c90-bd90-4691-bcee-f6d000da4d4e/lwjgl-stb-3.2.2.jar already exists!
[17:32:46] [main/INFO] [ProcessFactory]: Game will run in /root/.minecraft
[17:32:47] [main/INFO] [cp.mo.mo.Launcher/MODLAUNCHER]: ModLauncher running: args [--launchTarget, fmlclient, --fml.forgeVersion, 36.2.22, --fml.mcVersion, 1.16.5, --fml.forgeGroup, net.minecraftforge, --fml.mcpVersion, 20210115.111550, --username, CrazyDev22, --version, forge, --gameDir, /root/.minecraft, --assetsDir, /root/.minecraft/assets, --assetIndex, 1.16, --uuid, 65cefff027c74414a92a4ed1a709f609, --accessToken, ????????, --userType, msa, --versionType, release]
[17:32:47] [main/INFO] [cp.mo.mo.Launcher/MODLAUNCHER]: ModLauncher 8.0.9+86+master.3cf110c starting: java version 1.8.0_312 by Private Build
[17:32:48] [main/INFO] [ne.mi.fm.lo.FixSSL/CORE]: Added Lets Encrypt root certificates as additional trust
[17:32:48] [main/INFO] [mixin/]: SpongePowered MIXIN Subsystem Version=0.8.4 Source=file:/root/.minecraft/libraries/org/spongepowered/mixin/0.8.4/mixin-0.8.4.jar Service=ModLauncher Env=CLIENT
Exception in thread "main" [17:32:48] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]: java.lang.RuntimeException: Failed to create the GLFW window
[17:32:48] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]: at net.minecraftforge.fml.loading.progress.ClientVisualization.initWindow(ClientVisualization.java:104)
[17:32:48] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]: at net.minecraftforge.fml.loading.progress.ClientVisualization.start(ClientVisualization.java:341)
[17:32:48] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]: at net.minecraftforge.fml.loading.progress.EarlyProgressVisualization.accept(EarlyProgressVisualization.java:43)
[17:32:48] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]: at net.minecraftforge.fml.loading.FMLLoader.setupLaunchHandler(FMLLoader.java:190)
[17:32:48] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]: at net.minecraftforge.fml.loading.FMLServiceProvider.initialize(FMLServiceProvider.java:94)
[17:32:48] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]: at cpw.mods.modlauncher.TransformationServiceDecorator.onInitialize(TransformationServiceDecorator.java:68)
[17:32:48] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]: at cpw.mods.modlauncher.TransformationServicesHandler.lambda$initialiseTransformationServices$7(TransformationServicesHandler.java:107)
[17:32:48] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]: at java.util.HashMap$Values.forEach(HashMap.java:982)
[17:32:48] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]: at cpw.mods.modlauncher.TransformationServicesHandler.initialiseTransformationServices(TransformationServicesHandler.java:107)
[17:32:48] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]: at cpw.mods.modlauncher.TransformationServicesHandler.initializeTransformationServices(TransformationServicesHandler.java:59)
[17:32:48] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]: at cpw.mods.modlauncher.Launcher.run(Launcher.java:76)
[17:32:48] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]: at cpw.mods.modlauncher.Launcher.main(Launcher.java:66)
Minecraft exited with code: 1

Crash with -lwjgl flag

Docker Info:
Cloud integration: v1.0.23 Version: 20.10.14 API version: 1.41 Go version: go1.16.15 Git commit: a224086 Built: Thu Mar 24 01:53:11 2022 OS/Arch: windows/amd64 Context: default Experimental: true

Logs:

OpenJDK 64-Bit Server VM warning: You have loaded library /headlessmc/headlessmc-scripts/HeadlessMC/dfade622-7864-4b57-a4e7-4150f1000cc2/extracted/liblwjgl.so which might have disabled stack guard. The VM will try to fix the stack guard now.
It's highly recommended that you fix the library with 'execstack -c <libfile>', or link it with '-z noexecstack'.
[00:11:04] [main/ERROR] [LaunchWrapper]: Unable to launch
java.lang.reflect.InvocationTargetException: null
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_332]
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_332]
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_332]
        at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_332]
        at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.12.jar:?]
        at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.12.jar:?]
Caused by: java.lang.UnsatisfiedLinkError: /headlessmc/headlessmc-scripts/HeadlessMC/dfade622-7864-4b57-a4e7-4150f1000cc2/extracted/liblwjgl64.so: libX11.so.6: cannot open shared object file: No such file or directory
        at java.lang.ClassLoader$NativeLibrary.load(Native Method) ~[?:1.8.0_332]
        at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1934) ~[?:1.8.0_332]
        at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1850) ~[?:1.8.0_332]
        at java.lang.Runtime.loadLibrary0(Runtime.java:871) ~[?:1.8.0_332]
        at java.lang.System.loadLibrary(System.java:1124) ~[?:1.8.0_332]
        at org.lwjgl.Sys$1.run(Sys.java:72) ~[lwjgl-2.9.4-nightly-20150209.jar:?]
        at java.security.AccessController.doPrivileged(Native Method) ~[?:1.8.0_332]
        at org.lwjgl.Sys.doLoadLibrary(Sys.java:66) ~[lwjgl-2.9.4-nightly-20150209.jar:?]
        at org.lwjgl.Sys.loadLibrary(Sys.java:87) ~[lwjgl-2.9.4-nightly-20150209.jar:?]
        at org.lwjgl.Sys.<clinit>(Sys.java:117) ~[lwjgl-2.9.4-nightly-20150209.jar:?]
        at net.minecraft.client.Minecraft.func_71386_F(Minecraft.java:2984) ~[bib.class:?]
        at net.minecraft.client.main.Main.main(SourceFile:38) ~[Main.class:?]
        ... 6 more
Exception in thread "main" [00:11:04] [main/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:1052]: net.minecraftforge.fml.relauncher.FMLSecurityManager$ExitTrappedException
[00:11:04] [main/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:1052]:        at net.minecraftforge.fml.relauncher.FMLSecurityManager.checkPermission(FMLSecurityManager.java:49)
[00:11:04] [main/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:1052]:        at java.lang.SecurityManager.checkExit(SecurityManager.java:761)
[00:11:04] [main/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:1052]:        at java.lang.Runtime.exit(Runtime.java:107)
[00:11:04] [main/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:1052]:        at java.lang.System.exit(System.java:973)
[00:11:04] [main/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:1052]:        at net.minecraft.launchwrapper.Launch.launch(Launch.java:138)
[00:11:04] [main/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:1052]:        at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
Minecraft exited with code: 1

not much of a programmer but wanted to headless baritone then this happened.

already created a key in headlessmc/config but [11:35:12] [main/INFO] [ConfigService]: Reading config file: C:\Users\joelj\Desktop\HeadlessMC\config.properties
[11:35:12] [main/INFO] [ConfigService]: Found 1 config(s), active config: config
[11:35:12] [main/INFO] [Main]: Detected: OS(name=Windows 11, type=WINDOWS, version=10.0, arch=true)
[11:35:12] [main/INFO] [Main]: Minecraft Directory: C:\Users\joelj\AppData\Roaming.minecraft
Exception in thread "main" java.lang.NullPointerException: Cannot invoke "com.google.gson.JsonElement.isJsonObject()" because "arguments" is null
at me.earth.headlessmc.launcher.version.ArgumentFactory.parse(ArgumentFactory.java:23)
at me.earth.headlessmc.launcher.version.VersionFactory.parse(VersionFactory.java:36)
at me.earth.headlessmc.launcher.version.VersionService.read(VersionService.java:63)
at me.earth.headlessmc.launcher.version.VersionService.update(VersionService.java:46)
at me.earth.headlessmc.launcher.Service.refresh(Service.java:17)
at me.earth.headlessmc.launcher.Service.refresh(Service.java:21)
at me.earth.headlessmc.launcher.Main.main(Main.java:39)

Can't start

I have this error:
Exception in thread "main" java.lang.NoClassDefFoundError: me/earth/headlessmc/api/config/HasConfig at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(Unknown Source) at java.security.SecureClassLoader.defineClass(Unknown Source) at java.net.URLClassLoader.defineClass(Unknown Source) at java.net.URLClassLoader.access$100(Unknown Source) at java.net.URLClassLoader$1.run(Unknown Source) at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.Class.getDeclaredMethods0(Native Method) at java.lang.Class.privateGetDeclaredMethods(Unknown Source) at java.lang.Class.privateGetMethodRecursive(Unknown Source) at java.lang.Class.getMethod0(Unknown Source) at java.lang.Class.getMethod(Unknown Source) at sun.launcher.LauncherHelper.validateMainClass(Unknown Source) at sun.launcher.LauncherHelper.checkAndLoadMain(Unknown Source) Caused by: java.lang.ClassNotFoundException: me.earth.headlessmc.api.config.HasConfig at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) ... 19 more

Join server directly after launching the game

i want to join server automatically
but
launch 1.19 -commands "--server 1.1.1.1"
launch 1.19 -commands "--server" "1.1.1.1"
launch 1.19 -commands "server 1.1.1.1"
Not working at all

[Bug] 1.16.5, fastutil corrupted.

  1. Logs (Yes, i know that launcher name is not similar as release, because i wanted to add some features):
java -jar headlessmc-launcher-1.6.4-release.jar
[17:44:15] [main/INFO] [Main]: Detected: OS(name=Linux, type=LINUX, version=5.19.1-051901-generic, arch=true)
[17:44:15] [main/INFO] [Main]: Minecraft Dir: /home/kreker/.minecraft
id   name     parent
0    1.16.5   
login
Please specify an email!
login *** ***
Logging in...
Logged into account *** successfully!
launch 1.16.5 
Launching version 1.16.5, f45e7959-362e-4db9-bc3a-601a89043f1d
[17:44:47] [main/WARNING] [JavaService]: Couldn't find Java Version 8 falling back to 17
[17:44:47] [main/INFO] [ProcessFactory]: Game will run in /home/kreker/.minecraft
Exception in thread "main" java.lang.NoClassDefFoundError: it/unimi/dsi/fastutil/Hash$Strategy
	at net.minecraft.client.main.Main.main(SourceFile:64)
Caused by: java.lang.ClassNotFoundException: it.unimi.dsi.fastutil.Hash$Strategy
	at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:641)
	at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188)
	at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:520)
	... 1 more
Minecraft exited with code: 1
[17:44:47] [main/INFO] [LaunchCommand]: Deleting f45e7959-362e-4db9-bc3a-601a89043f1d

Then i thought .jar file was corrupted or doesn`t exists:

kreker@ubuntu:~/.minecraft$ find . -type f -name "fastutil*" -print
./libraries/it/unimi/dsi/fastutil/8.2.1/fastutil-8.2.1.jar
kreker@ubuntu:~/.minecraft$ cd libraries/it/unimi/dsi/fastutil/8.2.1/
kreker@ubuntu:~/.minecraft/libraries/it/unimi/dsi/fastutil/8.2.1$ ls
fastutil-8.2.1.jar
kreker@ubuntu:~/.minecraft/libraries/it/unimi/dsi/fastutil/8.2.1$ 

When unzipping using jar -xvf fastutil-8.2.1.jar i got error at end:

java.io.EOFException: Unexpected end of ZLIB input stream
	at java.base/java.util.zip.InflaterInputStream.fill(InflaterInputStream.java:244)
	at java.base/java.util.zip.InflaterInputStream.read(InflaterInputStream.java:158)
	at java.base/java.util.zip.ZipInputStream.read(ZipInputStream.java:196)
	at java.base/java.util.zip.ZipInputStream.closeEntry(ZipInputStream.java:142)
	at jdk.jartool/sun.tools.jar.Main.extractFile(Main.java:1459)
	at jdk.jartool/sun.tools.jar.Main.extract(Main.java:1366)
	at jdk.jartool/sun.tools.jar.Main.run(Main.java:390)
	at jdk.jartool/sun.tools.jar.Main.main(Main.java:1683)

Note: Other libraries was not corrupted or something like that.

May this occur because of my internet or something like that?


Fix: I just replaced fastutil (Taken fastutil from my existing minecraft libraries).

Issues ๐Ÿ”ฅ๐Ÿ”ฅ

I'm having a plethora of issues, but most of it is not being able to find the java version!

Linux versions error

Exception in thread "main" java.lang.UnsatisfiedLinkError: /home/axle/headlessmc/HeadlessMC/06bd4939-f431-4f6c-8255-a457f32ef084/extracted/liblwjgl64.so: libXcursor.so.1: cannot open shared object file: No such file or directory

Windows error

[21:52:35] [main/SEVERE] [JavaService]: Couldn't find a Java Version >= 8!
me.earth.headlessmc.launcher.launch.LaunchException: Couldn't find Java version for 1.8.9, requires Java 8

Oh and before you dare go and say OmGeEe DiD yOu ReAd ThE FuCkING shItTy DoCs AnD sEt YoYr ConFiGEr???; Yes, I have. around 200 times. I can build fuck anything in gradle, on any os I've listed below.

what ive tried below

Minecraft 1.8.9
Minecraft Forge 1.8.9
Minecraft 1.16.5
Minecraft 1.20.whatever is latest

and for java

WINDOWS
=============
Zulu 8
Zulu 17
OpenJDK 1.8 
temurin-20.0.2
temurin-17.0.9
temurin-1.8.0_392
openjdk-21.0.1 
corretto-17.0.9
corretto-1.8.0_392
=============
Arch Linux (I use arch btw :trollface: ) 
==============
Zulu 8
Openjdk 1.8 
ect ect
===============
Ubuntu server 
===============
openjdk 1.8
ect ect
==============
WSL (Windows subsystem for linux) 
====================
Openjdk 1.8
======================
Emulation of windows 11, macbook pro ect 
============================
Open JDK SCREAM
===========================

I also tried on my rooted s22 if that matters ๐Ÿ˜ญ 

Docker image not working

When following instructions outlined on the Docker hub page for tags latest, 1.7.1 & 1.7.0 running hmc will not execute.

> docker run -i -t 3arthqu4ke/headlessmc:1.7.1
root@3e7a9a23715a:/headlessmc/headlessmc-scripts# hmc login [email protected]
Error: A JNI error has occurred, please check your installation and try again
Exception in thread "main" java.lang.NoClassDefFoundError: me/earth/headlessmc/api/config/HasConfig
	at java.lang.ClassLoader.defineClass1(Native Method)
	at java.lang.ClassLoader.defineClass(ClassLoader.java:756)
	at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
	at java.net.URLClassLoader.defineClass(URLClassLoader.java:473)
	at java.net.URLClassLoader.access$100(URLClassLoader.java:74)
	at java.net.URLClassLoader$1.run(URLClassLoader.java:369)
	at java.net.URLClassLoader$1.run(URLClassLoader.java:363)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:362)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:418)
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:352)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
	at java.lang.Class.getDeclaredMethods0(Native Method)
	at java.lang.Class.privateGetDeclaredMethods(Class.java:2701)
	at java.lang.Class.privateGetMethodRecursive(Class.java:3048)
	at java.lang.Class.getMethod0(Class.java:3018)
	at java.lang.Class.getMethod(Class.java:1784)
	at sun.launcher.LauncherHelper.validateMainClass(LauncherHelper.java:650)
	at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:632)
Caused by: java.lang.ClassNotFoundException: me.earth.headlessmc.api.config.HasConfig
	at java.net.URLClassLoader.findClass(URLClassLoader.java:387)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:418)
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:352)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
	... 19 more

[Feature] Manage Servers, plugins and mods

One can dream:

  • Manage Minecraft Servers
    • Install commands for paper and other server types
    • Download and manage plugins
  • Manage Mods for the Minecraft Client
    • Especially HMC-Specifics

Not a JSON Object

I am having trouble starting the launcher. When I try to launch it, I receive the following error message:

java.lang.IllegalStateException: Not a JSON Object: [{"name":"Meowlen","uuid":"8c382fa1-bef3-44f2-aeec-c0cd664eb1ba","expiresOn":"2021-02-21 11:02:04 +0100"}]
at com.google.gson.JsonElement.getAsJsonObject(JsonElement.java:91)
at me.earth.headlessmc.launcher.version.VersionService.read(VersionService.java:63)
at me.earth.headlessmc.launcher.version.VersionService.update(VersionService.java:46)
at me.earth.headlessmc.launcher.Service.refresh(Service.java:21)
at me.earth.headlessmc.launcher.Service.refresh(Service.java:13)
at me.earth.headlessmc.launcher.Main.runHeadlessMc(Main.java:71)
at me.earth.headlessmc.launcher.Main.main(Main.java:35)

1.12.2

how to get forge 1.12.2 working on it without any issue (i got no gpu)

Issue when launching

I'm running Windows 10, I used the bat provided in the latest release

[13:31:18] [main/WARNING] [VersionService]: 1.16.5-forge-36.2.8.json: null [13:31:18] [main/WARNING] [VersionService]: 1.17.1-forge-37.0.103.json: null [13:31:18] [main/WARNING] [VersionService]: 1.17.1-forge-37.0.126.json: null [13:31:19] [main/WARNING] [VersionService]: fabric-loader-0.11.7-1.16.5.json: null [13:31:19] [main/WARNING] [VersionService]: fabric-loader-0.11.7-1.17.1.json: null [13:31:19] [main/WARNING] [VersionService]: fabric-loader-0.12.5-1.17.1.json: null [13:31:19] [main/WARNING] [VersionService]: fabric-loader-0.12.8-1.17.json: null [13:31:19] [main/WARNING] [VersionService]: fabric-loader-0.12.8-1.18.json: null Exception in thread "main" java.lang.NumberFormatException: For input string: "8.0" at java.lang.NumberFormatException.forInputString(Unknown Source) at java.lang.Integer.parseInt(Unknown Source) at java.lang.Integer.parseInt(Unknown Source) at me.earth.headlessmc.launcher.version.JavaMajorVersionParser.parse(JavaMajorVersionParser.java:14) at me.earth.headlessmc.launcher.version.VersionFactory.parse(VersionFactory.java:27) at me.earth.headlessmc.launcher.version.DefaultVersionFactory.parse(DefaultVersionFactory.java:3) at me.earth.headlessmc.launcher.version.VersionService.read(VersionService.java:63) at me.earth.headlessmc.launcher.version.VersionService.update(VersionService.java:46) at me.earth.headlessmc.launcher.Service.refresh(Service.java:21) at me.earth.headlessmc.launcher.Service.refresh(Service.java:13) at me.earth.headlessmc.launcher.Main.main(Main.java:44)

I have my jre/jdk path in the config file

Multi command inquiry/issue

I'm having trouble using the multi command, how do I use a command that requires a specified field without that field being picked up as a separate command? (didn't find much documentation regarding this, also I tried quotes but my syntax is probably wrong)
so for example: "--command mutli login * *" both passwd/email fields are treated as separate commands for me.

Error when joining a server on forge 1.12.2

[02:55:34] [Client thread/FATAL] [minecraft/Minecraft]: Error executing task
java.util.concurrent.ExecutionException: java.lang.NullPointerException
        at java.util.concurrent.FutureTask.report(FutureTask.java:122) ~[?:1.8.0_332]
        at java.util.concurrent.FutureTask.get(FutureTask.java:192) ~[?:1.8.0_332]
        at net.minecraft.util.Util.func_181617_a(SourceFile:47) [h.class:?]
        at net.minecraft.client.Minecraft.func_71411_J(Minecraft.java:1088) [bib.class:?]
        at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:398) [bib.class:?]
        at net.minecraft.client.main.Main.main(SourceFile:123) [Main.class:?]
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_332]
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_332]
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_332]
        at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_332]
        at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.12.jar:?]
        at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.12.jar:?]
Caused by: java.lang.NullPointerException
        at net.minecraft.client.network.NetHandlerPlayClient.func_147282_a(NetHandlerPlayClient.java:298) ~[brz.class:?]
        at net.minecraft.network.play.server.SPacketJoinGame.func_148833_a(SourceFile:76) ~[jh.class:?]
        at net.minecraft.network.play.server.SPacketJoinGame.func_148833_a(SourceFile:13) ~[jh.class:?]
        at net.minecraft.network.PacketThreadUtil$1.run(SourceFile:13) ~[hv$1.class:?]
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) ~[?:1.8.0_332]
        at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[?:1.8.0_332]
        at net.minecraft.util.Util.func_181617_a(SourceFile:46) ~[h.class:?]
        ... 9 more
[02:55:34] [Client thread/FATAL] [minecraft/Minecraft]: Error executing task
java.util.concurrent.ExecutionException: java.lang.NullPointerException
        at java.util.concurrent.FutureTask.report(FutureTask.java:122) ~[?:1.8.0_332]
        at java.util.concurrent.FutureTask.get(FutureTask.java:192) ~[?:1.8.0_332]
        at net.minecraft.util.Util.func_181617_a(SourceFile:47) [h.class:?]
        at net.minecraft.client.Minecraft.func_71411_J(Minecraft.java:1088) [bib.class:?]
        at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:398) [bib.class:?]
        at net.minecraft.client.main.Main.main(SourceFile:123) [Main.class:?]
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_332]
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_332]
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_332]
        at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_332]
        at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.12.jar:?]
        at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.12.jar:?]
Caused by: java.lang.NullPointerException
        at net.minecraft.client.network.NetHandlerPlayClient.func_147240_a(NetHandlerPlayClient.java:1876) ~[brz.class:?]
        at net.minecraft.network.play.server.SPacketCustomPayload.func_148833_a(SPacketCustomPayload.java:58) ~[iw.class:?]
        at net.minecraft.network.play.server.SPacketCustomPayload.func_148833_a(SPacketCustomPayload.java:11) ~[iw.class:?]
        at net.minecraft.network.PacketThreadUtil$1.run(SourceFile:13) ~[hv$1.class:?]
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) ~[?:1.8.0_332]
        at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[?:1.8.0_332]
        at net.minecraft.util.Util.func_181617_a(SourceFile:46) ~[h.class:?]
        ... 9 more

The config

# suppress inspection "UnusedProperty" for whole file
# This config is for the docker container.
hmc.gamedir=/headlessmc/headlessmc-scripts/HeadlessMC/run
hmc.java.versions=/usr/local/openjdk-8/bin/java;/usr/java/openjdk-17/bin/java
hmc.invert.lwjgl.flag=true
hmc.invert.pauls.flag=true
hmc.store.accounts=true
!hmc.loglevel=DEBUG
hmc.gameargs=--server server ip --port 25565

Bug- Getting a error

[19:43:07] [Client thread/WARN]: ERROR : Couldn't load Narrator library : Unable to load library 'fliteWrapper': Native library (linux-aarch64/libfliteWrapper.so) not found in resource path ([file:/home/ubuntu/.minecraft/libraries/com/mojang/patchy/1.3.9/patchy-1.3.9.jar, file:/home/ubuntu/.minecraft/libraries/oshi-project/oshi-core/1.1/oshi-core-1.1.jar, file:/home/ubuntu/.minecraft/libraries/net/java/dev/jna/jna/4.4.0/jna-4.4.0.jar, file:/home/ubuntu/.minecraft/libraries/net/java/dev/jna/platform/3.4.0/platform-3.4.0.jar, file:/home/ubuntu/.minecraft/libraries/com/ibm/icu/icu4j-core-mojang/51.2/icu4j-core-mojang-51.2.jar, file:/home/ubuntu/.minecraft/libraries/net/sf/jopt-simple/jopt-simple/5.0.3/jopt-simple-5.0.3.jar, file:/home/ubuntu/.minecraft/libraries/com/paulscode/codecjorbis/20101023/codecjorbis-20101023.jar, file:/home/ubuntu/.minecraft/libraries/com/paulscode/codecwav/20101023/codecwav-20101023.jar, file:/home/ubuntu/.minecraft/libraries/com/paulscode/libraryjavasound/20101123/libraryjavasound-20101123.jar, file:/home/ubuntu/HeadlessMC/7b5c7fd2-0b47-423b-b1f8-de7905cf1ba1/librarylwjglopenal-20100824.jar, file:/home/ubuntu/HeadlessMC/7b5c7fd2-0b47-423b-b1f8-de7905cf1ba1/soundsystem-20120107.jar, file:/home/ubuntu/.minecraft/libraries/io/netty/netty-all/4.1.9.Final/netty-all-4.1.9.Final.jar, file:/home/ubuntu/.minecraft/libraries/com/google/guava/guava/21.0/guava-21.0.jar, file:/home/ubuntu/.minecraft/libraries/org/apache/commons/commons-lang3/3.5/commons-lang3-3.5.jar, file:/home/ubuntu/.minecraft/libraries/commons-io/commons-io/2.5/commons-io-2.5.jar, file:/home/ubuntu/.minecraft/libraries/commons-codec/commons-codec/1.10/commons-codec-1.10.jar, file:/home/ubuntu/.minecraft/libraries/net/java/jinput/jinput/2.0.5/jinput-2.0.5.jar, file:/home/ubuntu/.minecraft/libraries/net/java/jutils/jutils/1.0.0/jutils-1.0.0.jar, file:/home/ubuntu/.minecraft/libraries/com/google/code/gson/gson/2.8.0/gson-2.8.0.jar, file:/home/ubuntu/.minecraft/libraries/com/mojang/authlib/1.5.25/authlib-1.5.25.jar, file:/home/ubuntu/.minecraft/libraries/com/mojang/realms/1.10.22/realms-1.10.22.jar, file:/home/ubuntu/.minecraft/libraries/org/apache/commons/commons-compress/1.8.1/commons-compress-1.8.1.jar, file:/home/ubuntu/.minecraft/libraries/org/apache/httpcomponents/httpclient/4.3.3/httpclient-4.3.3.jar, file:/home/ubuntu/.minecraft/libraries/commons-logging/commons-logging/1.1.3/commons-logging-1.1.3.jar, file:/home/ubuntu/.minecraft/libraries/org/apache/httpcomponents/httpcore/4.3.2/httpcore-4.3.2.jar, file:/home/ubuntu/.minecraft/libraries/it/unimi/dsi/fastutil/7.1.0/fastutil-7.1.0.jar, file:/home/ubuntu/HeadlessMC/7b5c7fd2-0b47-423b-b1f8-de7905cf1ba1/log4j-api-2.8.1.jar, file:/home/ubuntu/HeadlessMC/7b5c7fd2-0b47-423b-b1f8-de7905cf1ba1/log4j-core-2.8.1.jar, file:/home/ubuntu/HeadlessMC/7b5c7fd2-0b47-423b-b1f8-de7905cf1ba1/lwjgl-2.9.4-nightly-20150209.jar, file:/home/ubuntu/HeadlessMC/7b5c7fd2-0b47-423b-b1f8-de7905cf1ba1/lwjgl_util-2.9.4-nightly-20150209.jar, file:/home/ubuntu/HeadlessMC/7b5c7fd2-0b47-423b-b1f8-de7905cf1ba1/lwjgl-platform-2.9.4-nightly-20150209.jar, file:/home/ubuntu/.minecraft/libraries/com/mojang/text2speech/1.10.3/text2speech-1.10.3.jar, file:/home/ubuntu/.minecraft/libraries/com/mojang/text2speech/1.10.3/text2speech-1.10.3.jar, file:/home/ubuntu/.minecraft/versions/1.12.2/1.12.2.jar, file:/home/ubuntu/HeadlessMC/7b5c7fd2-0b47-423b-b1f8-de7905cf1ba1/headlessmc-lwjgl.jar])
connect

[Feature] Download Forge/Fabric

By executing a command like fabric <version>/forge <version> we could download fabric/forge for that version.

This needs some investigation, HeadlessMc should be able to read the .json files of fabric/forge but e.g. on forge the download url for the forge jar is empty.

Running game in another Directory.

I am attempting to run your client outside of .minecraft, this is a feature in the normal Launcher.
Default location is %appdata%/.minecraft
I am looking it to run it out of a custom directory
Ex. C:\Users\Drew\Documents\Skyblock

What arguments would I add, or what would I change to do so.

Command input being erased (on server)

When being on server, all of the chat messages visually erases your commands input, but command still work after pressing enter.

Reproduce:

  • Put this in your config.properties: hmc.gameargs=--server crystalpvp.cc --port 25565
  • Put any HMC-specifics file in your as your fabric/forge mod.
  • Try to write commands in chat

Cannot login to microsoft account

Launching version 1.12.2, 21a8126f-3e16-433f-90b8-ff7da87d2730
me.earth.headlessmc.launcher.auth.AuthException: Invalid credentials or tokens
        at me.earth.headlessmc.launcher.auth.AccountManager.login(AccountManager.java:62)
        at me.earth.headlessmc.launcher.auth.AccountManager.login(AccountManager.java:40)
        at me.earth.headlessmc.launcher.launch.ProcessFactory.run(ProcessFactory.java:41)
        at me.earth.headlessmc.launcher.launch.ProcessFactory.run(ProcessFactory.java:34)
        at me.earth.headlessmc.launcher.command.LaunchCommand.execute(LaunchCommand.java:51)
        at me.earth.headlessmc.launcher.command.LaunchCommand.execute(LaunchCommand.java:19)
        at me.earth.headlessmc.launcher.command.FindByCommand.execute(FindByCommand.java:31)
        at me.earth.headlessmc.command.CommandContextImpl.executeCommand(CommandContextImpl.java:44)
        at me.earth.headlessmc.command.CommandContextImpl.execute(CommandContextImpl.java:31)
        at me.earth.headlessmc.command.line.ConsoleListener.listen(ConsoleListener.java:22)
        at me.earth.headlessmc.command.line.CommandLineImpl.listen(CommandLineImpl.java:26)
        at me.earth.headlessmc.launcher.Main.runHeadlessMc(Main.java:90)
        at me.earth.headlessmc.launcher.Main.main(Main.java:35)
Couldn't launch 1.12.2: Invalid credentials or tokens
[10:20:49] [main/INFO] [LaunchCommand]: Deleting 21a8126f-3e16-433f-90b8-ff7da87d2730

Login error in console app

When I log in using the console login command, when I enter my correct credentials, one of two errors is thrown which is either
Failed to log you in: I/O exception thrown during Microsoft HTTP requests me.earth.headlessmc.launcher.auth.AuthException: I/O exception thrown during Microsoft HTTP requests at me.earth.headlessmc.launcher.auth.AccountManager.login(AccountManager.java:66) at me.earth.headlessmc.launcher.command.login.LoginCommand.lambda$login$0(LoginCommand.java:50) at me.earth.headlessmc.launcher.command.login.PasswordCommand.execute(PasswordCommand.java:35) at me.earth.headlessmc.command.CommandContextImpl.executeCommand(CommandContextImpl.java:43) at me.earth.headlessmc.command.CommandContextImpl.execute(CommandContextImpl.java:30) at me.earth.headlessmc.command.line.ConsoleListener.listen(ConsoleListener.java:20) at me.earth.headlessmc.command.line.CommandLineImpl.listen(CommandLineImpl.java:26) at me.earth.headlessmc.launcher.Main.main(Main.java:66)
or
Exception in thread "main" java.lang.IndexOutOfBoundsException: No group 1 at java.util.regex.Matcher.group(Unknown Source) at fr.litarvan.openauth.microsoft.MicrosoftAuthenticator.match(MicrosoftAuthenticator.java:305) at fr.litarvan.openauth.microsoft.MicrosoftAuthenticator.loginWithCredentials(MicrosoftAuthenticator.java:119) at me.earth.headlessmc.launcher.auth.AccountManager.login(AccountManager.java:58) at me.earth.headlessmc.launcher.command.login.LoginCommand.lambda$login$0(LoginCommand.java:50) at me.earth.headlessmc.launcher.command.login.PasswordCommand.execute(PasswordCommand.java:35) at me.earth.headlessmc.launcher.command.login.PasswordContext.fail(PasswordContext.java:37) at me.earth.headlessmc.command.CommandContextImpl.execute(CommandContextImpl.java:37) at me.earth.headlessmc.command.line.ConsoleListener.listen(ConsoleListener.java:20) at me.earth.headlessmc.command.line.CommandLineImpl.listen(CommandLineImpl.java:26) at me.earth.headlessmc.launcher.Main.main(Main.java:66)
I cannot log in to my microsoft account and also cannot launch minecraft. How can I resolve this issue? Also, can someone let me know how to use mods if minecraft does launch for ping bypass?

Feature: The Altening

I would like to use this for building an highway on a server, but since microsoft forced us to merge our java accounts, alt prices are insane
The Altening is very useful for short life accounts

Fork of ForgeCLI - Is there any way to chose between client and server installation ?

The issue section of the https://github.com/3arthqu4ke/ForgeCLI fork is not active so I thought I'd take a chance here.

I've been messing around with the original ForgeCLI and your fork of ForgeCLI. I was wondering if there is any way to also install a server by command line. It seems like it's made to install only the client version of forge. I did not see any argument in the doc that could allow this at the moment.

Thank you !

Generated command is too long on Windows

Launching 1.20.4 (with or without Fabric) on Windows fails as the generated process command is too long.

Example log excerpt:

[main/FINE] [ProcessFactory]: [C:/batch/java17.bat, -Djava.library.path=C:\Users\ethan\Downloads\HeadlessMC\897a8893-7b25-4dc9-a573-1f541c72a9ef\extracted, -cp, C:\Users\ethan\AppData\Roaming\.minecraft\libraries\org\ow2\asm\asm\9.6\asm-9.6.jar;C:\Users\ethan\AppData\Roaming\.minecraft\libraries\org\ow2\asm\asm-analysis\9.6\asm-analysis-9.6.jar;C:\Users\ethan\AppData\Roaming\.minecraft\libraries\org\ow2\asm\asm-commons\9.6\asm-commons-9.6.jar;C:\Users\ethan\AppData\Roaming\.minecraft\libraries\org\ow2\asm\asm-tree\9.6\asm-tree-9.6.jar;C:\Users\ethan\AppData\Roaming\.minecraft\libraries\org\ow2\asm\asm-util\9.6\asm-util-9.6.jar;C:\Users\ethan\AppData\Roaming\.minecraft\libraries\net\fabricmc\sponge-mixin\0.12.5+mixin.0.8.5\sponge-mixin-0.12.5+mixin.0.8.5.jar;C:\Users\ethan\AppData\Roaming\.minecraft\libraries\net\fabricmc\intermediary\1.20.4\intermediary-1.20.4.jar;C:\Users\ethan\AppData\Roaming\.minecraft\libraries\net\fabricmc\fabric-loader\0.15.5\fabric-loader-0.15.5.jar;C:\Users\ethan\AppData\Roaming\.minecraft\libraries\com/github/oshi/oshi-core/6.4.5/oshi-core-6.4.5.jar;C:\Users\ethan\AppData\Roaming\.minecraft\libraries\com/google/code/gson/gson/2.10.1/gson-2.10.1.jar;C:\Users\ethan\AppData\Roaming\.minecraft\libraries\com/google/guava/failureaccess/1.0.1/failureaccess-1.0.1.jar;C:\Users\ethan\AppData\Roaming\.minecraft\libraries\com/google/guava/guava/32.1.2-jre/guava-32.1.2-jre.jar;C:\Users\ethan\AppData\Roaming\.minecraft\libraries\com/ibm/icu/icu4j/73.2/icu4j-73.2.jar;C:\Users\ethan\AppData\Roaming\.minecraft\libraries\com/mojang/authlib/6.0.52/authlib-6.0.52.jar;C:\Users\ethan\AppData\Roaming\.minecraft\libraries\com/mojang/blocklist/1.0.10/blocklist-1.0.10.jar;C:\Users\ethan\AppData\Roaming\.minecraft\libraries\com/mojang/brigadier/1.2.9/brigadier-1.2.9.jar;C:\Users\ethan\AppData\Roaming\.minecraft\libraries\com/mojang/datafixerupper/6.0.8/datafixerupper-6.0.8.jar;C:\Users\ethan\AppData\Roaming\.minecraft\libraries\com/mojang/logging/1.1.1/logging-1.1.1.jar;C:\Users\ethan\AppData\Roaming\.minecraft\libraries\com/mojang/patchy/2.2.10/patchy-2.2.10.jar;C:\Users\ethan\AppData\Roaming\.minecraft\libraries\com/mojang/text2speech/1.17.9/text2speech-1.17.9.jar;C:\Users\ethan\AppData\Roaming\.minecraft\libraries\commons-codec/commons-codec/1.16.0/commons-codec-1.16.0.jar;C:\Users\ethan\AppData\Roaming\.minecraft\libraries\commons-io/commons-io/2.13.0/commons-io-2.13.0.jar;C:\Users\ethan\AppData\Roaming\.minecraft\libraries\commons-logging/commons-logging/1.2/commons-logging-1.2.jar;C:\Users\ethan\AppData\Roaming\.minecraft\libraries\io/netty/netty-buffer/4.1.97.Final/netty-buffer-4.1.97.Final.jar;C:\Users\ethan\AppData\Roaming\.minecraft\libraries\io/netty/netty-codec/4.1.97.Final/netty-codec-4.1.97.Final.jar;C:\Users\ethan\AppData\Roaming\.minecraft\libraries\io/netty/netty-common/4.1.97.Final/netty-common-4.1.97.Final.jar;C:\Users\ethan\AppData\Roaming\.minecraft\libraries\io/netty/netty-handler/4.1.97.Final/netty-handler-4.1.97.Final.jar;C:\Users\ethan\AppData\Roaming\.minecraft\libraries\io/netty/netty-resolver/4.1.97.Final/netty-resolver-4.1.97.Final.jar;C:\Users\ethan\AppData\Roaming\.minecraft\libraries\io/netty/netty-transport-classes-epoll/4.1.97.Final/netty-transport-classes-epoll-4.1.97.Final.jar;C:\Users\ethan\AppData\Roaming\.minecraft\libraries\io/netty/netty-transport-native-unix-common/4.1.97.Final/netty-transport-native-unix-common-4.1.97.Final.jar;C:\Users\ethan\AppData\Roaming\.minecraft\libraries\io/netty/netty-transport/4.1.97.Final/netty-transport-4.1.97.Final.jar;C:\Users\ethan\AppData\Roaming\.minecraft\libraries\it/unimi/dsi/fastutil/8.5.12/fastutil-8.5.12.jar;C:\Users\ethan\AppData\Roaming\.minecraft\libraries\net/java/dev/jna/jna-platform/5.13.0/jna-platform-5.13.0.jar;C:\Users\ethan\AppData\Roaming\.minecraft\libraries\net/java/dev/jna/jna/5.13.0/jna-5.13.0.jar;C:\Users\ethan\AppData\Roaming\.minecraft\libraries\net/sf/jopt-simple/jopt-simple/5.0.4/jopt-simple-5.0.4.jar;C:\Users\ethan\AppData\Roaming\.minecraft\libraries\org/apache/commons/commons-compress/1.22/commons-compress-1.22.jar;C:\Users\ethan\AppData\Roaming\.minecraft\libraries\org/apache/commons/commons-lang3/3.13.0/commons-lang3-3.13.0.jar;C:\Users\ethan\AppData\Roaming\.minecraft\libraries\org/apache/httpcomponents/httpclient/4.5.13/httpclient-4.5.13.jar;C:\Users\ethan\AppData\Roaming\.minecraft\libraries\org/apache/httpcomponents/httpcore/4.4.16/httpcore-4.4.16.jar;C:\Users\ethan\AppData\Roaming\.minecraft\libraries\org/apache/logging/log4j/log4j-api/2.19.0/log4j-api-2.19.0.jar;C:\Users\ethan\AppData\Roaming\.minecraft\libraries\org/apache/logging/log4j/log4j-core/2.19.0/log4j-core-2.19.0.jar;C:\Users\ethan\AppData\Roaming\.minecraft\libraries\org/apache/logging/log4j/log4j-slf4j2-impl/2.19.0/log4j-slf4j2-impl-2.19.0.jar;C:\Users\ethan\AppData\Roaming\.minecraft\libraries\org/joml/joml/1.10.5/joml-1.10.5.jar;C:\Users\ethan\AppData\Roaming\.minecraft\libraries\org/lwjgl/lwjgl-glfw/3.3.2/lwjgl-glfw-3.3.2.jar;C:\Users\ethan\AppData\Roaming\.minecraft\libraries\org/lwjgl/lwjgl-glfw/3.3.2/lwjgl-glfw-3.3.2-natives-windows.jar;C:\Users\ethan\AppData\Roaming\.minecraft\libraries\org/lwjgl/lwjgl-glfw/3.3.2/lwjgl-glfw-3.3.2-natives-windows-arm64.jar;C:\Users\ethan\AppData\Roaming\.minecraft\libraries\org/lwjgl/lwjgl-glfw/3.3.2/lwjgl-glfw-3.3.2-natives-windows-x86.jar;C:\Users\ethan\AppData\Roaming\.minecraft\libraries\org/lwjgl/lwjgl-jemalloc/3.3.2/lwjgl-jemalloc-3.3.2.jar;C:\Users\ethan\AppData\Roaming\.minecraft\libraries\org/lwjgl/lwjgl-jemalloc/3.3.2/lwjgl-jemalloc-3.3.2-natives-windows.jar;C:\Users\ethan\AppData\Roaming\.minecraft\libraries\org/lwjgl/lwjgl-jemalloc/3.3.2/lwjgl-jemalloc-3.3.2-natives-windows-arm64.jar;C:\Users\ethan\AppData\Roaming\.minecraft\libraries\org/lwjgl/lwjgl-jemalloc/3.3.2/lwjgl-jemalloc-3.3.2-natives-windows-x86.jar;C:\Users\ethan\AppData\Roaming\.minecraft\libraries\org/lwjgl/lwjgl-openal/3.3.2/lwjgl-openal-3.3.2.jar;C:\Users\ethan\AppData\Roaming\.minecraft\libraries\org/lwjgl/lwjgl-openal/3.3.2/lwjgl-openal-3.3.2-natives-windows.jar;C:\Users\ethan\AppData\Roaming\.minecraft\libraries\org/lwjgl/lwjgl-openal/3.3.2/lwjgl-openal-3.3.2-natives-windows-arm64.jar;C:\Users\ethan\AppData\Roaming\.minecraft\libraries\org/lwjgl/lwjgl-openal/3.3.2/lwjgl-openal-3.3.2-natives-windows-x86.jar;C:\Users\ethan\AppData\Roaming\.minecraft\libraries\org/lwjgl/lwjgl-opengl/3.3.2/lwjgl-opengl-3.3.2.jar;C:\Users\ethan\AppData\Roaming\.minecraft\libraries\org/lwjgl/lwjgl-opengl/3.3.2/lwjgl-opengl-3.3.2-natives-windows.jar;C:\Users\ethan\AppData\Roaming\.minecraft\libraries\org/lwjgl/lwjgl-opengl/3.3.2/lwjgl-opengl-3.3.2-natives-windows-arm64.jar;C:\Users\ethan\AppData\Roaming\.minecraft\libraries\org/lwjgl/lwjgl-opengl/3.3.2/lwjgl-opengl-3.3.2-natives-windows-x86.jar;C:\Users\ethan\AppData\Roaming\.minecraft\libraries\org/lwjgl/lwjgl-stb/3.3.2/lwjgl-stb-3.3.2.jar;C:\Users\ethan\AppData\Roaming\.minecraft\libraries\org/lwjgl/lwjgl-stb/3.3.2/lwjgl-stb-3.3.2-natives-windows.jar;C:\Users\ethan\AppData\Roaming\.minecraft\libraries\org/lwjgl/lwjgl-stb/3.3.2/lwjgl-stb-3.3.2-natives-windows-arm64.jar;C:\Users\ethan\AppData\Roaming\.minecraft\libraries\org/lwjgl/lwjgl-stb/3.3.2/lwjgl-stb-3.3.2-natives-windows-x86.jar;C:\Users\ethan\AppData\Roaming\.minecraft\libraries\org/lwjgl/lwjgl-tinyfd/3.3.2/lwjgl-tinyfd-3.3.2.jar;C:\Users\ethan\AppData\Roaming\.minecraft\libraries\org/lwjgl/lwjgl-tinyfd/3.3.2/lwjgl-tinyfd-3.3.2-natives-windows.jar;C:\Users\ethan\AppData\Roaming\.minecraft\libraries\org/lwjgl/lwjgl-tinyfd/3.3.2/lwjgl-tinyfd-3.3.2-natives-windows-arm64.jar;C:\Users\ethan\AppData\Roaming\.minecraft\libraries\org/lwjgl/lwjgl-tinyfd/3.3.2/lwjgl-tinyfd-3.3.2-natives-windows-x86.jar;C:\Users\ethan\AppData\Roaming\.minecraft\libraries\org/lwjgl/lwjgl/3.3.2/lwjgl-3.3.2.jar;C:\Users\ethan\AppData\Roaming\.minecraft\libraries\org/lwjgl/lwjgl/3.3.2/lwjgl-3.3.2-natives-windows.jar;C:\Users\ethan\AppData\Roaming\.minecraft\libraries\org/lwjgl/lwjgl/3.3.2/lwjgl-3.3.2-natives-windows-arm64.jar;C:\Users\ethan\AppData\Roaming\.minecraft\libraries\org/lwjgl/lwjgl/3.3.2/lwjgl-3.3.2-natives-windows-x86.jar;C:\Users\ethan\AppData\Roaming\.minecraft\libraries\org/slf4j/slf4j-api/2.0.7/slf4j-api-2.0.7.jar;C:\Users\ethan\AppData\Roaming\.minecraft\versions\fabric-loader-0.15.5-1.20.4\fabric-loader-0.15.5-1.20.4.jar, -DFabricMcEmu= net.minecraft.client.main.Main , -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump, -Xss1M, -Djava.library.path=C:\Users\ethan\Downloads\HeadlessMC\897a8893-7b25-4dc9-a573-1f541c72a9ef\extracted, -Djna.tmpdir=C:\Users\ethan\Downloads\HeadlessMC\897a8893-7b25-4dc9-a573-1f541c72a9ef\extracted, -Dorg.lwjgl.system.SharedLibraryExtractPath=C:\Users\ethan\Downloads\HeadlessMC\897a8893-7b25-4dc9-a573-1f541c72a9ef\extracted, -Dio.netty.native.workdir=C:\Users\ethan\Downloads\HeadlessMC\897a8893-7b25-4dc9-a573-1f541c72a9ef\extracted, -Dminecraft.launcher.brand=HeadlessMc, -Dminecraft.launcher.version=1.6.2, net.fabricmc.loader.impl.launch.knot.KnotClient, --username, swestrun, --version, fabric-loader-0.15.5-1.20.4, --gameDir, C:\Users\ethan\AppData\Roaming\.minecraft, --assetsDir, C:\Users\ethan\AppData\Roaming\.minecraft\assets, --assetIndex, 12, --uuid, 5597a334583c412cba87139ed02251b2, --accessToken,...
[22:00:13] [main/FINE] [FileManager]: Checking file: C:\Users\ethan\AppData\Roaming\.minecraft
[22:00:13] [main/INFO] [ProcessFactory]: Game will run in C:\Users\ethan\AppData\Roaming\.minecraft
The command line is too long.
Minecraft exited with code: 1

HMC input hangs while game is running

Hi, not sure if this belongs here or in the hmc-specifics repo. I think its due to the general console input so I'm opening it here.
When trying to use HMC with a 1.12.2 14.23.5.2859 Forge client and added hmc-specifics 1.12.2-b1 the console doesn't accept any further commands after using the first one (rarely a couple). The log output and game still work but the input is broken or hangs. When closing the game, hmc realizes the typed commands and then executes them. They obviously run into a "Non existent command" error then because the game is closed at that point.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.