Launch minecraft forge 1.8.9 from the command line
NickName:Joe Jameson Ask DateTime:2022-07-04T08:41:33

Launch minecraft forge 1.8.9 from the command line

I am rather stumped on how to do this.

I have come across a python module to launch minecraft from a command line or wrather generate a command...

import minecraft_launcher_lib
import subprocess
import sys

lv = "1.8.9-forge-11.15.1.2318"
md = "C:\\Users\\*****\\AppData\\Roaming\\.minecraft"
options = {
    "username": "rohwn",
    "uuid": "5a848c091a5f476ab94b4d09af4613cc",
    "token": "{Insert token here}"
}
minecraft_command = minecraft_launcher_lib.command.get_minecraft_command(lv, md, options)
subprocess.call(minecraft_command)

This code works for versions of minecraft and forge > 1.12 but not for 1.12 and 1.8.9 I cannot seem to figure out why. I have also thought of using the minecraft launcher enter image description here

By changing the "Java Executable" to an exe that logs the arguments and runs minecraft but I cannot seem to do this nor have the expertise. (If someone could provide some code or something that could do that, that would be great!)

I have also seen commands that other people have created but still dont work for me. E.x

Launch Minecraft from command line - username and password as prefix

If someone could help me launch minecraft forge 1.8.9 from command line that would be great! Thanks (in advance)

Copyright Notice:Content Author:「Joe Jameson」,Reproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/72850815/launch-minecraft-forge-1-8-9-from-the-command-line

More about “Launch minecraft forge 1.8.9 from the command line” related questions

Launch minecraft forge 1.8.9 from the command line

I am rather stumped on how to do this. I have come across a python module to launch minecraft from a command line or wrather generate a command... import minecraft_launcher_lib import subprocess im...

Show Detail

[Forge 1.8.9]: SnakeYAML crashes Minecraft

I'm developing a mod with the Forge MDK for Minecraft 1.8.9. I'm using IntelliJ IDEA to edit and run the code. Everything works when I'm running the code directly in IntelliJ, but it crashes when I...

Show Detail

[Forge 1.8.9]: Including dependencies in JAR

I've been making a Forge mod for Minecraft 1.8.9 with the Forge MDK. So far my mod has 1 dependency, which is SnakeYAML. I added this line: compile 'org.yaml:snakeyaml:1.30' to my build.gradle file...

Show Detail

Minecraft Forge 1.8.9 Jar

i need the forge 1.8.9 jar for a project as external jar. Anyone knows how to get it? I couldnt find any download, just for 1.7.10. Greetings

Show Detail

How to start minecraft 1.8.9 from Command Prompt (Windows)

I came up with this command so far: java -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx1G -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode -XX:-

Show Detail

Launch Minecraft 1.7.10 from command line

I've been trying to make a batch file in Windows to directly launch Minecraft 1.7.10. However, the method I tried had changed since the new launcher has been released. Does anyone know how I could

Show Detail

Is there a way to use gradle to obfuscate code for minecraft 1.8.9?

I am coding a minecraft mod and when I run it in forge 1.8.9 I get the noSuchMethodError: net.minecraft.client.getMinecraft().fontRendererObj. However, when I run another mod, that one works. My mo...

Show Detail

Error trying to start Minecraft Forge by command

I am currently developing a custom Minecraft launcher and I want to start Minecraft forge by command line, but unfortunately I constantly get this error: java.lang.RuntimeException: Patcher expect...

Show Detail

Minecraft Forge Mod command isnt working?

I programmed a forge mod for minecraft 1.8.9 which sends a message every 20 seconds if the player typed in the command and when I type in the command in singleplayer it is working, but if I type the

Show Detail

Minecraft Forge crash in eclipse

I am new to modding in Forge and I came across an error which I can't solve. I've correctly configured the Run/Debug configs the .toml file is fine and I left the example mod as it was. I get this ...

Show Detail