Jump to content

Use of other mods causing crash [Eclipse Forge 1.16.5]


Jarkon

Recommended Posts

As the title says, I've started a completely clean mod in the latest version of Forge for 1.16.5 in Eclipse. For the most part it runs like normal (since I haven't touched any of the mod files), but whenever I try to drop add different mod to the runs/mods folder (in this case AutoRegLib, since I would like to make a mod that builds on Quark features), the game can no longer open. It will go through the loading screen and then it will only load the crash screen. I've attached the crash log below, but I want to stress that this only happens when I add the mod to the mods folder, and when I remove it the game opens again fine. If there's a step to getting other mods to run in eclipse that I'm missing I would really appreciate if someone could let me know.

Thanks in advance for any help!!

Quote

---- Minecraft Crash Report ----
// Who set us up the TNT?

Time: 6/1/21 1:26 PM
Description: Mod loading error has occurred

java.lang.Exception: Mod Loading has failed
    at net.minecraftforge.fml.CrashReportExtender.dumpModLoadingCrashReport(CrashReportExtender.java:85) ~[forge-1.16.5-36.1.24_mapped_official_1.16.5-recomp.jar:?] {re:classloading}
    at net.minecraftforge.fml.client.ClientModLoader.completeModLoading(ClientModLoader.java:188) ~[forge-1.16.5-36.1.24_mapped_official_1.16.5-recomp.jar:?] {re:classloading,pl:runtimedistcleaner:A}
    at net.minecraft.client.Minecraft.lambda$null$1(Minecraft.java:508) ~[forge-1.16.5-36.1.24_mapped_official_1.16.5-recomp.jar:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}
    at net.minecraft.util.Util.ifElse(Util.java:320) ~[forge-1.16.5-36.1.24_mapped_official_1.16.5-recomp.jar:?] {re:classloading}
    at net.minecraft.client.Minecraft.lambda$new$2(Minecraft.java:504) ~[forge-1.16.5-36.1.24_mapped_official_1.16.5-recomp.jar:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}
    at net.minecraft.client.gui.ResourceLoadProgressGui.render(ResourceLoadProgressGui.java:113) ~[forge-1.16.5-36.1.24_mapped_official_1.16.5-recomp.jar:?] {re:classloading,pl:runtimedistcleaner:A}
    at net.minecraft.client.renderer.GameRenderer.render(GameRenderer.java:481) ~[forge-1.16.5-36.1.24_mapped_official_1.16.5-recomp.jar:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}
    at net.minecraft.client.Minecraft.runTick(Minecraft.java:976) ~[forge-1.16.5-36.1.24_mapped_official_1.16.5-recomp.jar:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}
    at net.minecraft.client.Minecraft.run(Minecraft.java:607) ~[forge-1.16.5-36.1.24_mapped_official_1.16.5-recomp.jar:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}
    at net.minecraft.client.main.Main.main(Main.java:184) ~[forge-1.16.5-36.1.24_mapped_official_1.16.5-recomp.jar:?] {re:classloading,pl:runtimedistcleaner:A}
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_231] {}
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_231] {}
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_231] {}
    at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_231] {}
    at net.minecraftforge.userdev.FMLUserdevClientLaunchProvider.lambda$launchService$0(FMLUserdevClientLaunchProvider.java:52) ~[forge-1.16.5-36.1.24_mapped_official_1.16.5-recomp.jar:?] {}
    at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:37) [modlauncher-8.0.9.jar:?] {}
    at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:54) [modlauncher-8.0.9.jar:?] {}
    at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:72) [modlauncher-8.0.9.jar:?] {}
    at cpw.mods.modlauncher.Launcher.run(Launcher.java:82) [modlauncher-8.0.9.jar:?] {}
    at cpw.mods.modlauncher.Launcher.main(Launcher.java:66) [modlauncher-8.0.9.jar:?] {}
    at net.minecraftforge.userdev.LaunchTesting.main(LaunchTesting.java:105) [forge-1.16.5-36.1.24_mapped_official_1.16.5-recomp.jar:?] {}


A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------

-- Head --
Thread: Render thread
Stacktrace:
    at vazkii.arl.util.RegistryHelper.loadCompleteClient(RegistryHelper.java:126) ~[autoreglib:1.6-47] {re:classloading}
-- MOD autoreglib --
Details:
    Mod File: AutoRegLib-1.6-47.jar
    Failure message: AutoRegLib (autoreglib) encountered an error during the complete event phase
        java.lang.NoSuchMethodError: net.minecraft.client.Minecraft.func_71410_x()Lnet/minecraft/client/Minecraft;
    Mod Version: 1.6-47
    Mod Issue URL: https://github.com/Vazkii/AutoRegLib
    Exception message: java.lang.NoSuchMethodError: net.minecraft.client.Minecraft.func_71410_x()Lnet/minecraft/client/Minecraft;
Stacktrace:
    at vazkii.arl.util.RegistryHelper.loadCompleteClient(RegistryHelper.java:126) ~[autoreglib:1.6-47] {re:classloading}
    at vazkii.arl.util.RegistryHelper.lambda$null$3(RegistryHelper.java:118) ~[autoreglib:1.6-47] {re:classloading}
    at net.minecraftforge.fml.DistExecutor.unsafeRunWhenOn(DistExecutor.java:125) ~[forge:?] {re:classloading}
    at net.minecraftforge.fml.DistExecutor.runWhenOn(DistExecutor.java:109) ~[forge:?] {re:classloading}
    at vazkii.arl.util.RegistryHelper.loadComplete(RegistryHelper.java:118) ~[autoreglib:1.6-47] {re:classloading}
    at vazkii.arl.AutoRegLib.loadComplete(AutoRegLib.java:47) ~[autoreglib:1.6-47] {re:classloading}
    at net.minecraftforge.eventbus.EventBus.doCastFilter(EventBus.java:247) ~[eventbus-4.0.0.jar:?] {}
    at net.minecraftforge.eventbus.EventBus.lambda$addListener$11(EventBus.java:239) ~[eventbus-4.0.0.jar:?] {}
    at net.minecraftforge.eventbus.EventBus.post(EventBus.java:302) ~[eventbus-4.0.0.jar:?] {}
    at net.minecraftforge.eventbus.EventBus.post(EventBus.java:283) ~[eventbus-4.0.0.jar:?] {}
    at net.minecraftforge.fml.javafmlmod.FMLModContainer.acceptEvent(FMLModContainer.java:120) ~[forge:36.1] {re:classloading}
    at net.minecraftforge.fml.ModContainer.lambda$buildTransitionHandler$4(ModContainer.java:121) ~[forge:?] {re:classloading}
    at java.util.concurrent.CompletableFuture$AsyncRun.run(Unknown Source) ~[?:1.8.0_231] {}
    at java.util.concurrent.CompletableFuture$AsyncRun.exec(Unknown Source) ~[?:1.8.0_231] {}
    at java.util.concurrent.ForkJoinTask.doExec(Unknown Source) ~[?:1.8.0_231] {}
    at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(Unknown Source) ~[?:1.8.0_231] {}
    at java.util.concurrent.ForkJoinPool.runWorker(Unknown Source) ~[?:1.8.0_231] {}
    at java.util.concurrent.ForkJoinWorkerThread.run(Unknown Source) ~[?:1.8.0_231] {}


-- System Details --
Details:
    Minecraft Version: 1.16.5
    Minecraft Version ID: 1.16.5
    Operating System: Windows 10 (amd64) version 10.0
    Java Version: 1.8.0_231, Oracle Corporation
    Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
    Memory: 790257240 bytes (753 MB) / 1982857216 bytes (1891 MB) up to 3817865216 bytes (3641 MB)
    CPUs: 8
    JVM Flags: 2 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx4096m
    ModLauncher: 8.0.9+86+master.3cf110c
    ModLauncher launch target: fmluserdevclient
    ModLauncher naming: mcp
    ModLauncher services:
        /mixin-0.8.2.jar mixin PLUGINSERVICE
        /eventbus-4.0.0.jar eventbus PLUGINSERVICE
        /forge-1.16.5-36.1.24_mapped_official_1.16.5-launcher.jar object_holder_definalize PLUGINSERVICE
        /forge-1.16.5-36.1.24_mapped_official_1.16.5-launcher.jar runtime_enum_extender PLUGINSERVICE
        /accesstransformers-3.0.1.jar accesstransformer PLUGINSERVICE
        /forge-1.16.5-36.1.24_mapped_official_1.16.5-launcher.jar capability_inject_definalize PLUGINSERVICE
        /forge-1.16.5-36.1.24_mapped_official_1.16.5-launcher.jar runtimedistcleaner PLUGINSERVICE
        /mixin-0.8.2.jar mixin TRANSFORMATIONSERVICE
        /forge-1.16.5-36.1.24_mapped_official_1.16.5-launcher.jar fml TRANSFORMATIONSERVICE
    FML: 36.1
    Forge: net.minecraftforge:36.1.24
    FML Language Providers:
        [email protected]
        minecraft@1
    Mod List:
        client-extra.jar                                  |Minecraft                     |minecraft                     |1.16.5              |DONE      |Manifest: a1:d4:5e:04:4f:d3:d6:e0:7b:37:97:cf:77:b0:de:ad:4a:47:ce:8c:96:49:5f:0a:cf:8c:ae:b2:6d:4b:8a:3f
        forge-1.16.5-36.1.24_mapped_official_1.16.5-recomp|Forge                         |forge                         |36.1.24             |DONE      |Manifest: NOSIGNATURE
        AutoRegLib-1.6-47.jar                             |AutoRegLib                    |autoreglib                    |1.6-47              |ERROR     |Manifest: NOSIGNATURE
        main                                              |Example Mod                   |examplemod                    |NONE                |DONE      |Manifest: NOSIGNATURE
    Crash Report UUID: 1e4b47bc-6dc0-411c-82a2-a7a95bd06d8f

 

 

crash-2021-06-01_13.26.38-fml.txt

Link to comment
Share on other sites

16 minutes ago, Jarkon said:

For the most part it runs like normal (since I haven't touched any of the mod files), but whenever I try to drop add different mod to the runs/mods folder (in this case AutoRegLib, since I would like to make a mod that builds on Quark features), the game can no longer open. It will go through the loading screen and then it will only load the crash screen

You should not use the run/mods folder, you should instead add your dependencies in the build.gradle file.

Link to comment
Share on other sites

19 minutes ago, vemerion said:

You should not use the run/mods folder, you should instead add your dependencies in the build.gradle file.

I've been trying to set it up in the build.gradle file but it doesn't seem to be loading the mods with what I've done (the game opens now, but it still says that 3 mods are loaded and no Quark or AutoRegLib content seems present). I've added a libs folder to my project and put the jars in it, then added the following to my build.gradle file:

Quote

dependencies {
    minecraft 'net.minecraftforge:forge:1.16.5-36.1.24'
    compile files('./libs/AutoRegLib-1.6-47.jar')
    compile files('./libs/Quark-r2.4-308.jar')   

}

I've been seeing conflicting approaches to adding the files online. Is there a different way I should add these dependencies?

Edited by Jarkon
Link to comment
Share on other sites

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



×
×
  • Create New...

Important Information

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