Jump to content

Recommended Posts

Posted (edited)

hi i have a problem with forge on ALL versions.
i reinstalled ubuntu 18.04 on pc and installed opejdk and minecraft launcher
vanilla runs perfectly but if i install forge game crashes with 255 (i used minecraft launcher and then i repeated in multimc)

there logs from multimc (i logged into my mojang account)

MultiMC version: 0.6.5-1217
	
Minecraft folder is:
/home/joinmod/.local/share/multimc/instances/1.12.2/.minecraft
	
Java path is:
/usr/lib/jvm/java-11-openjdk-amd64/bin/java
	
Java is version 10.0.2, using 64-bit architecture.
	
AMD FX-8320E Eight-Core Processor
Advanced Micro Devices, Inc. [AMD/ATI] Curacao PRO [Radeon R7 370 / R9 270/370 OEM] (rev 81)
	Subsystem: Micro-Star International Co., Ltd. [MSI] Curacao PRO [Radeon R7 370 / R9 270/370 OEM]
	Kernel driver in use: radeon
	Main Class:
  net.minecraft.launchwrapper.Launch
	Native path:
  /home/joinmod/.local/share/multimc/instances/1.12.2/natives
	Libraries:
  /home/joinmod/.local/share/multimc/libraries/net/java/jinput/jinput/2.0.5/jinput-2.0.5.jar
  /home/joinmod/.local/share/multimc/libraries/net/java/jutils/jutils/1.0.0/jutils-1.0.0.jar
  /home/joinmod/.local/share/multimc/libraries/org/lwjgl/lwjgl/lwjgl/2.9.4-nightly-20150209/lwjgl-2.9.4-nightly-20150209.jar
  /home/joinmod/.local/share/multimc/libraries/org/lwjgl/lwjgl/lwjgl_util/2.9.4-nightly-20150209/lwjgl_util-2.9.4-nightly-20150209.jar
  /home/joinmod/.local/share/multimc/libraries/com/mojang/patchy/1.1/patchy-1.1.jar
  /home/joinmod/.local/share/multimc/libraries/oshi-project/oshi-core/1.1/oshi-core-1.1.jar
  /home/joinmod/.local/share/multimc/libraries/net/java/dev/jna/jna/4.4.0/jna-4.4.0.jar
  /home/joinmod/.local/share/multimc/libraries/net/java/dev/jna/platform/3.4.0/platform-3.4.0.jar
  /home/joinmod/.local/share/multimc/libraries/com/ibm/icu/icu4j-core-mojang/51.2/icu4j-core-mojang-51.2.jar
  /home/joinmod/.local/share/multimc/libraries/net/sf/jopt-simple/jopt-simple/5.0.3/jopt-simple-5.0.3.jar
  /home/joinmod/.local/share/multimc/libraries/com/paulscode/codecjorbis/20101023/codecjorbis-20101023.jar
  /home/joinmod/.local/share/multimc/libraries/com/paulscode/codecwav/20101023/codecwav-20101023.jar
  /home/joinmod/.local/share/multimc/libraries/com/paulscode/libraryjavasound/20101123/libraryjavasound-20101123.jar
  /home/joinmod/.local/share/multimc/libraries/com/paulscode/librarylwjglopenal/20100824/librarylwjglopenal-20100824.jar
  /home/joinmod/.local/share/multimc/libraries/com/paulscode/soundsystem/20120107/soundsystem-20120107.jar
  /home/joinmod/.local/share/multimc/libraries/io/netty/netty-all/4.1.9.Final/netty-all-4.1.9.Final.jar
  /home/joinmod/.local/share/multimc/libraries/com/google/guava/guava/21.0/guava-21.0.jar
  /home/joinmod/.local/share/multimc/libraries/org/apache/commons/commons-lang3/3.5/commons-lang3-3.5.jar
  /home/joinmod/.local/share/multimc/libraries/commons-io/commons-io/2.5/commons-io-2.5.jar
  /home/joinmod/.local/share/multimc/libraries/commons-codec/commons-codec/1.10/commons-codec-1.10.jar
  /home/joinmod/.local/share/multimc/libraries/com/google/code/gson/gson/2.8.0/gson-2.8.0.jar
  /home/joinmod/.local/share/multimc/libraries/com/mojang/authlib/1.5.25/authlib-1.5.25.jar
  /home/joinmod/.local/share/multimc/libraries/com/mojang/realms/1.10.22/realms-1.10.22.jar
  /home/joinmod/.local/share/multimc/libraries/org/apache/commons/commons-compress/1.8.1/commons-compress-1.8.1.jar
  /home/joinmod/.local/share/multimc/libraries/org/apache/httpcomponents/httpclient/4.3.3/httpclient-4.3.3.jar
  /home/joinmod/.local/share/multimc/libraries/commons-logging/commons-logging/1.1.3/commons-logging-1.1.3.jar
  /home/joinmod/.local/share/multimc/libraries/org/apache/httpcomponents/httpcore/4.3.2/httpcore-4.3.2.jar
  /home/joinmod/.local/share/multimc/libraries/it/unimi/dsi/fastutil/7.1.0/fastutil-7.1.0.jar
  /home/joinmod/.local/share/multimc/libraries/org/apache/logging/log4j/log4j-api/2.8.1/log4j-api-2.8.1.jar
  /home/joinmod/.local/share/multimc/libraries/org/apache/logging/log4j/log4j-core/2.8.1/log4j-core-2.8.1.jar
  /home/joinmod/.local/share/multimc/libraries/com/mojang/text2speech/1.10.3/text2speech-1.10.3.jar
  /home/joinmod/.local/share/multimc/libraries/net/minecraftforge/forge/1.12.2-14.23.5.2825/forge-1.12.2-14.23.5.2825-universal.jar
  /home/joinmod/.local/share/multimc/libraries/net/minecraft/launchwrapper/1.12/launchwrapper-1.12.jar
  /home/joinmod/.local/share/multimc/libraries/org/ow2/asm/asm-all/5.2/asm-all-5.2.jar
  /home/joinmod/.local/share/multimc/libraries/org/jline/jline/3.5.1/jline-3.5.1.jar
  /home/joinmod/.local/share/multimc/libraries/com/typesafe/akka/akka-actor_2.11/2.3.3/akka-actor_2.11-2.3.3.jar
  /home/joinmod/.local/share/multimc/libraries/com/typesafe/config/1.2.1/config-1.2.1.jar
  /home/joinmod/.local/share/multimc/libraries/org/scala-lang/scala-actors-migration_2.11/1.1.0/scala-actors-migration_2.11-1.1.0.jar
  /home/joinmod/.local/share/multimc/libraries/org/scala-lang/scala-compiler/2.11.1/scala-compiler-2.11.1.jar
  /home/joinmod/.local/share/multimc/libraries/org/scala-lang/plugins/scala-continuations-library_2.11/1.0.2/scala-continuations-library_2.11-1.0.2.jar
  /home/joinmod/.local/share/multimc/libraries/org/scala-lang/plugins/scala-continuations-plugin_2.11.1/1.0.2/scala-continuations-plugin_2.11.1-1.0.2.jar
  /home/joinmod/.local/share/multimc/libraries/org/scala-lang/scala-library/2.11.1/scala-library-2.11.1.jar
  /home/joinmod/.local/share/multimc/libraries/org/scala-lang/scala-parser-combinators_2.11/1.0.1/scala-parser-combinators_2.11-1.0.1.jar
  /home/joinmod/.local/share/multimc/libraries/org/scala-lang/scala-reflect/2.11.1/scala-reflect-2.11.1.jar
  /home/joinmod/.local/share/multimc/libraries/org/scala-lang/scala-swing_2.11/1.0.1/scala-swing_2.11-1.0.1.jar
  /home/joinmod/.local/share/multimc/libraries/org/scala-lang/scala-xml_2.11/1.0.2/scala-xml_2.11-1.0.2.jar
  /home/joinmod/.local/share/multimc/libraries/lzma/lzma/0.0.1/lzma-0.0.1.jar
  /home/joinmod/.local/share/multimc/libraries/java3d/vecmath/1.5.2/vecmath-1.5.2.jar
  /home/joinmod/.local/share/multimc/libraries/net/sf/trove4j/trove4j/3.0.3/trove4j-3.0.3.jar
  /home/joinmod/.local/share/multimc/libraries/org/apache/maven/maven-artifact/3.5.3/maven-artifact-3.5.3.jar
  /home/joinmod/.local/share/multimc/libraries/com/mojang/minecraft/1.12.2/minecraft-1.12.2-client.jar
	Native libraries:
  /home/joinmod/.local/share/multimc/libraries/net/java/jinput/jinput-platform/2.0.5/jinput-platform-2.0.5-natives-linux.jar
  /home/joinmod/.local/share/multimc/libraries/org/lwjgl/lwjgl/lwjgl-platform/2.9.4-nightly-20150209/lwjgl-platform-2.9.4-nightly-20150209-natives-linux.jar
  /home/joinmod/.local/share/multimc/libraries/com/mojang/text2speech/1.10.3/text2speech-1.10.3-natives-linux.jar
	Params:
  --username  --version MultiMC5 --gameDir /home/joinmod/.local/share/multimc/instances/1.12.2/.minecraft --assetsDir /home/joinmod/.local/share/multimc/assets --assetIndex 1.12 --uuid  --accessToken  --userType  --versionType release --tweakClass net.minecraftforge.fml.common.launcher.FMLTweaker
	Window size: 854 x 480
	Java Arguments:
[-Xms512m, -Xmx8192m, -Duser.language=en]
	
Minecraft process ID: 12157
	
Using onesix launcher.
Failed to start Minecraft:
Exiting with -1
java.lang.reflect.InvocationTargetException
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.base/java.lang.reflect.Method.invoke(Method.java:564)
    at org.multimc.onesix.OneSixLauncher.launchWithMainClass(OneSixLauncher.java:196)
    at org.multimc.onesix.OneSixLauncher.launch(OneSixLauncher.java:231)
    at org.multimc.EntryPoint.listen(EntryPoint.java:143)
    at org.multimc.EntryPoint.main(EntryPoint.java:34)
Caused by: java.lang.ClassCastException: java.base/jdk.internal.loader.ClassLoaders$AppClassLoader cannot be cast to java.base/java.net.URLClassLoader
    at net.minecraft.launchwrapper.Launch.<init>(Launch.java:34)
    at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
    ... 8 more
Process exited with code 255.


meanwhile in the terminal

872.046 D Task "LaunchController(0x2d21c80)" starting for the first time
  872.046 D Task "RefreshTask(0x2bcbe20)" starting for the first time
  872.289 D Processing authentication response.
  872.289 D Getting new access token.
  872.289 D Finished reading refresh response.
  872.289 D Task "RefreshTask(0x2bcbe20)" succeeded
  872.289 D Writing account list to "accounts.json"
  872.289 D Building JSON data structure.
  872.289 D Building account array.
  872.290 D Writing account list to file.
  872.290 D Saved account list to "accounts.json"
  873.474 D Task "LaunchTask(0x31f5c10)" starting for the first time
  873.501 D Task "TextPrint(0x2f9f160)" starting for the first time
  873.501 D Task "TextPrint(0x2f9f160)" succeeded
  873.501 D Task "TextPrint(0x2cc5210)" starting for the first time
  873.501 D Task "TextPrint(0x2cc5210)" succeeded
  873.502 D Task "CheckJava(0x2b8b520)" starting for the first time
  873.502 D Task "CheckJava(0x2b8b520)" succeeded
  873.502 D Task "ClaimAccount(0x2b83d40)" starting for the first time
  873.502 D Writing account list to "accounts.json"
  873.502 D Building JSON data structure.
  873.502 D Building account array.
  873.502 D Writing account list to file.
  873.502 D Saved account list to "accounts.json"
  873.502 W Account "joinmods556@gmail.com" is now in use.
  873.502 D Task "ClaimAccount(0x2b83d40)" succeeded
  873.502 D Task "Update(0x312eda0)" starting for the first time
  873.503 D Task "MinecraftUpdate(0x2b84df0)" starting for the first time
  873.503 D Task "ComponentUpdateTask(0x2b9eba0)" starting for the first time
  873.503 D Loading components
  873.503 D Index is already loaded
  873.503 D Component list save is scheduled for "1.12.2"
  873.503 D Resolving dependencies
  873.503 D "Req: net.minecraft == 1.12.2" Is met.
  873.503 D "Req: org.lwjgl" Is met.
  873.503 D Task "ComponentUpdateTask(0x2b9eba0)" succeeded
  873.503 D Component list update/resolve task succeeded for "1.12.2"
  873.503 D Task "FoldersTask(0x2ea2a30)" starting for the first time
  873.503 D Task "FoldersTask(0x2ea2a30)" succeeded
  873.503 D Task "LibrariesTask(0x2c51da0)" starting for the first time
  873.503 D "1.12.2" : downloading libraries
  873.503 D Applying "org.lwjgl" GOOD
  873.503 D Applying "net.minecraft" GOOD
  873.504 D Applying "net.minecraftforge" GOOD
  873.505 D Task "NetJob(Libraries for instance 1.12.2)" starting for the first time
  873.507 D Task "NetJob(Libraries for instance 1.12.2)" succeeded
  873.507 D Task "LibrariesTask(0x2c51da0)" succeeded
  873.507 D Task "FMLLibrariesTask(0x2aa2ef0)" starting for the first time
  873.507 D Task "FMLLibrariesTask(0x2aa2ef0)" succeeded
  873.507 D Task "AssetUpdateTask(0x2db9cc0)" starting for the first time
  873.508 D Asset index SHA1: "1584b57c1a0b5e593fad1f5b8f78536ca640547b"
  873.508 D "1.12.2" : Starting asset index download
  873.508 D Task "NetJob(Asset index for 1.12.2)" starting for the first time
  873.513 D Downloading  "https://launchermeta.mojang.com/v1/packages/1584b57c1a0b5e593fad1f5b8f78536ca640547b/1.12.json"
  873.594 D Download succeeded: "https://launchermeta.mojang.com/v1/packages/1584b57c1a0b5e593fad1f5b8f78536ca640547b/1.12.json"
  873.594 D Task "NetJob(Asset index for 1.12.2)" succeeded
  873.594 D "1.12.2" : Finished asset index download
  873.604 D Task "AssetUpdateTask(0x2db9cc0)" succeeded
  873.604 D Task "MinecraftUpdate(0x2b84df0)" succeeded
  873.604 D Task "Update(0x312eda0)" succeeded
  873.604 D Task "ModMinecraftJar(0x7f89d4009dd0)" starting for the first time
  873.605 D Task "ModMinecraftJar(0x7f89d4009dd0)" succeeded
  873.605 D Task "PrintInstanceInfo(0x2d73900)" starting for the first time
sh: 1: glxinfo: not found
  873.660 D Task "PrintInstanceInfo(0x2d73900)" succeeded
  873.660 D Task "CreateServerResourcePacksFolder(0x2d0a710)" starting for the first time
  873.661 D Task "CreateServerResourcePacksFolder(0x2d0a710)" succeeded
  873.661 D Task "ExtractNatives(0x7f89b8013ce0)" starting for the first time
  873.674 D Task "ExtractNatives(0x7f89b8013ce0)" succeeded
  873.674 D Task "ReconstructAssets(0x2b3ed30)" starting for the first time
  873.674 D reconstructAssets "assets" "assets/indexes" "assets/objects" "assets/virtual" "assets/virtual/1.12"
  873.680 D Task "ReconstructAssets(0x2b3ed30)" succeeded
  873.680 D Task "LauncherPartLaunch(0x2b83810)" starting for the first time
  873.687 D Env: ignoring "QT_PLUGIN_PATH" "/home/joinmod/.local/share/multimc/plugins"
  873.687 D Env: ignoring "LD_LIBRARY_PATH" "/home/joinmod/.local/share/multimc/bin:"
  873.687 D Env: ignoring "QT_ACCESSIBILITY" "1"
  873.687 D Env: ignoring "QT_IM_MODULE" "ibus"
  873.687 D Env: stripped @im=ibus from "@im=ibus" : ""
  873.687 D Env: ignoring "QT_FONTPATH" "/home/joinmod/.local/share/multimc/fonts"
  873.688 D Env: ignoring "LD_PRELOAD" ""
  873.688 D "-Xms512m -Xmx8192m -Duser.language=en -Djava.library.path=/home/joinmod/.local/share/multimc/instances/1.12.2/natives -cp /home/joinmod/.local/share/multimc/bin/jars/NewLaunch.jar:/home/joinmod/.local/share/multimc/libraries/net/java/jinput/jinput/2.0.5/jinput-2.0.5.jar:/home/joinmod/.local/share/multimc/libraries/net/java/jutils/jutils/1.0.0/jutils-1.0.0.jar:/home/joinmod/.local/share/multimc/libraries/org/lwjgl/lwjgl/lwjgl/2.9.4-nightly-20150209/lwjgl-2.9.4-nightly-20150209.jar:/home/joinmod/.local/share/multimc/libraries/org/lwjgl/lwjgl/lwjgl_util/2.9.4-nightly-20150209/lwjgl_util-2.9.4-nightly-20150209.jar:/home/joinmod/.local/share/multimc/libraries/com/mojang/patchy/1.1/patchy-1.1.jar:/home/joinmod/.local/share/multimc/libraries/oshi-project/oshi-core/1.1/oshi-core-1.1.jar:/home/joinmod/.local/share/multimc/libraries/net/java/dev/jna/jna/4.4.0/jna-4.4.0.jar:/home/joinmod/.local/share/multimc/libraries/net/java/dev/jna/platform/3.4.0/platform-3.4.0.jar:/home/joinmod/.local/share/multimc/libraries/com/ibm/icu/icu4j-core-mojang/51.2/icu4j-core-mojang-51.2.jar:/home/joinmod/.local/share/multimc/libraries/net/sf/jopt-simple/jopt-simple/5.0.3/jopt-simple-5.0.3.jar:/home/joinmod/.local/share/multimc/libraries/com/paulscode/codecjorbis/20101023/codecjorbis-20101023.jar:/home/joinmod/.local/share/multimc/libraries/com/paulscode/codecwav/20101023/codecwav-20101023.jar:/home/joinmod/.local/share/multimc/libraries/com/paulscode/libraryjavasound/20101123/libraryjavasound-20101123.jar:/home/joinmod/.local/share/multimc/libraries/com/paulscode/librarylwjglopenal/20100824/librarylwjglopenal-20100824.jar:/home/joinmod/.local/share/multimc/libraries/com/paulscode/soundsystem/20120107/soundsystem-20120107.jar:/home/joinmod/.local/share/multimc/libraries/io/netty/netty-all/4.1.9.Final/netty-all-4.1.9.Final.jar:/home/joinmod/.local/share/multimc/libraries/com/google/guava/guava/21.0/guava-21.0.jar:/home/joinmod/.local/share/multimc/libraries/org/apache/commons/commons-lang3/3.5/commons-lang3-3.5.jar:/home/joinmod/.local/share/multimc/libraries/commons-io/commons-io/2.5/commons-io-2.5.jar:/home/joinmod/.local/share/multimc/libraries/commons-codec/commons-codec/1.10/commons-codec-1.10.jar:/home/joinmod/.local/share/multimc/libraries/com/google/code/gson/gson/2.8.0/gson-2.8.0.jar:/home/joinmod/.local/share/multimc/libraries/com/mojang/authlib/1.5.25/authlib-1.5.25.jar:/home/joinmod/.local/share/multimc/libraries/com/mojang/realms/1.10.22/realms-1.10.22.jar:/home/joinmod/.local/share/multimc/libraries/org/apache/commons/commons-compress/1.8.1/commons-compress-1.8.1.jar:/home/joinmod/.local/share/multimc/libraries/org/apache/httpcomponents/httpclient/4.3.3/httpclient-4.3.3.jar:/home/joinmod/.local/share/multimc/libraries/commons-logging/commons-logging/1.1.3/commons-logging-1.1.3.jar:/home/joinmod/.local/share/multimc/libraries/org/apache/httpcomponents/httpcore/4.3.2/httpcore-4.3.2.jar:/home/joinmod/.local/share/multimc/libraries/it/unimi/dsi/fastutil/7.1.0/fastutil-7.1.0.jar:/home/joinmod/.local/share/multimc/libraries/org/apache/logging/log4j/log4j-api/2.8.1/log4j-api-2.8.1.jar:/home/joinmod/.local/share/multimc/libraries/org/apache/logging/log4j/log4j-core/2.8.1/log4j-core-2.8.1.jar:/home/joinmod/.local/share/multimc/libraries/com/mojang/text2speech/1.10.3/text2speech-1.10.3.jar:/home/joinmod/.local/share/multimc/libraries/net/minecraftforge/forge/1.12.2-14.23.5.2825/forge-1.12.2-14.23.5.2825-universal.jar:/home/joinmod/.local/share/multimc/libraries/net/minecraft/launchwrapper/1.12/launchwrapper-1.12.jar:/home/joinmod/.local/share/multimc/libraries/org/ow2/asm/asm-all/5.2/asm-all-5.2.jar:/home/joinmod/.local/share/multimc/libraries/org/jline/jline/3.5.1/jline-3.5.1.jar:/home/joinmod/.local/share/multimc/libraries/com/typesafe/akka/akka-actor_2.11/2.3.3/akka-actor_2.11-2.3.3.jar:/home/joinmod/.local/share/multimc/libraries/com/typesafe/config/1.2.1/config-1.2.1.jar:/home/joinmod/.local/share/multimc/libraries/org/scala-lang/scala-actors-migration_2.11/1.1.0/scala-actors-migration_2.11-1.1.0.jar:/home/joinmod/.local/share/multimc/libraries/org/scala-lang/scala-compiler/2.11.1/scala-compiler-2.11.1.jar:/home/joinmod/.local/share/multimc/libraries/org/scala-lang/plugins/scala-continuations-library_2.11/1.0.2/scala-continuations-library_2.11-1.0.2.jar:/home/joinmod/.local/share/multimc/libraries/org/scala-lang/plugins/scala-continuations-plugin_2.11.1/1.0.2/scala-continuations-plugin_2.11.1-1.0.2.jar:/home/joinmod/.local/share/multimc/libraries/org/scala-lang/scala-library/2.11.1/scala-library-2.11.1.jar:/home/joinmod/.local/share/multimc/libraries/org/scala-lang/scala-parser-combinators_2.11/1.0.1/scala-parser-combinators_2.11-1.0.1.jar:/home/joinmod/.local/share/multimc/libraries/org/scala-lang/scala-reflect/2.11.1/scala-reflect-2.11.1.jar:/home/joinmod/.local/share/multimc/libraries/org/scala-lang/scala-swing_2.11/1.0.1/scala-swing_2.11-1.0.1.jar:/home/joinmod/.local/share/multimc/libraries/org/scala-lang/scala-xml_2.11/1.0.2/scala-xml_2.11-1.0.2.jar:/home/joinmod/.local/share/multimc/libraries/lzma/lzma/0.0.1/lzma-0.0.1.jar:/home/joinmod/.local/share/multimc/libraries/java3d/vecmath/1.5.2/vecmath-1.5.2.jar:/home/joinmod/.local/share/multimc/libraries/net/sf/trove4j/trove4j/3.0.3/trove4j-3.0.3.jar:/home/joinmod/.local/share/multimc/libraries/org/apache/maven/maven-artifact/3.5.3/maven-artifact-3.5.3.jar:/home/joinmod/.local/share/multimc/libraries/com/mojang/minecraft/1.12.2/minecraft-1.12.2-client.jar org.multimc.EntryPoint"
  873.690 W QCoreApplication::postEvent: Unexpected null receiver
  873.913 C Task "LauncherPartLaunch(0x2b83810)" failed:  "Game crashed."
  873.913 D Writing account list to "accounts.json"
  873.913 D Building JSON data structure.
  873.913 D Building account array.
  873.913 D Writing account list to file.
  873.914 D Saved account list to "accounts.json"
  873.914 W Account "phonosens" is no longer in use.
  874.022 C Task "LaunchTask(0x31f5c10)" failed:  "Game crashed."
  874.022 C Task "LaunchController(0x2d21c80)" failed:  "Game crashed."
Edited by joinmod
add type of os in title
Posted

Forge for 1.12.2 and earlier only works with Java 8

This is my Forum Signature, I am currently attempting to transform it into a small guide for fixing easier issues using spoiler blocks to keep things tidy.

 

As the most common issue I feel I should put this outside the main bulk:

The only official source for Forge is https://files.minecraftforge.net, and the only site I trust for getting mods is CurseForge.

If you use any site other than these, please take a look at the StopModReposts project and install their browser extension, I would also advise running a virus scan.

 

For players asking for assistance with Forge please expand the spoiler below and read the appropriate section(s) in its/their entirety.

  Reveal hidden contents

 

Posted

Whatever i just tried 2 different versions of java, multimc can change a executable version.

Same thing on minecraft launcher but i used default settings java (java 8), 1.7.10 crashs with forge (not tried launch 1.12.2 with forge)

Posted

Hello,

I confirm MC 1.12.2 with MultiMC in Ubuntu Linux works best with Oracle JDK 1.8 version (download the tar.gz version).

You may have to switch from OpenJDK8 to Oracle JDK 1.8

 

 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • Hi everyone, I'm currently developing a Forge 1.21 mod for Minecraft and I want to display a custom HUD overlay for a minigame. My goal: When the game starts, all players should see an item/block icon (from the base game, not a custom texture) plus its name/text in the HUD – similar to how the bossbar overlay works. The HUD should appear centered above the hotbar (or at a similar prominent spot), and update dynamically (icon and name change as the target item changes). What I've tried: I looked at many online tutorials and several GitHub repos (e.g. SeasonHUD, MiniHUD), but most of them use NeoForge or Forge versions <1.20 that provide the IGuiOverlay API (e.g. implements IGuiOverlay, RegisterGuiOverlaysEvent). In Forge 1.21, it seems that neither IGuiOverlay nor RegisterGuiOverlaysEvent exist anymore – at least, I can't import them and they are missing from the docs and code completion. I tried using RenderLevelStageEvent as a workaround but it is probably not intended for custom HUDs. I am not using NeoForge, and switching the project to NeoForge is currently not an option for me. I tried to look at the original minecraft source code to see how elements like hearts, hotbar etc are drawn on the screen but I am too new to Minecraft modding to understand. What I'm looking for: What is the correct way to add a custom HUD element (icon + text) in Forge 1.21, given that the previous overlay API is missing? Is there a new recommended event, callback, or method in Forge 1.21 for custom HUD overlays, or is everyone just using a workaround? Is there a minimal open-source example repo for Forge 1.21 that demonstrates a working HUD overlay without relying on NeoForge or deprecated Forge APIs? My ideal solution: Centered HUD element with an in-game item/block icon (from the base game's assets, e.g. a diamond or any ItemStack / Item) and its name as text, with a transparent background rectangle. It should be visible to the players when the mini game is running. Easy to update the item (e.g. static variable or other method), so it can change dynamically during the game. Any help, code snippets, or up-to-date references would be really appreciated! If this is simply not possible right now in Forge 1.21, it would also help to know that for sure. Thank you very much in advance!
    • The simple answer is there is not an easy way. You would need to know how to program in Java, as well as at least some familiarity with how Forge works so you could port the differences. You would also need the sourcecode for the original mod, and permission from the author to modify it, if they did not use some sort of open source license. So it's not impossible, but it would take some effort, but doing so would open up a whole new world of possibilities for you!
    • Does it still crash if you remove holdmyitems? Looks like that mod doesn't work on a server as far as I can tell from the error.  
    • Crashes the server when trying to start. Error code -1. Log  
  • Topics

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.