Jump to content

Recommended Posts

Posted
56 minutes ago, Catwolf said:

it just doesn't seem to work

Define "doesn't work."

Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable.  If you think this is the case, JUST REPORT ME.  Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice.

 

Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked.

 

DO NOT PM ME WITH PROBLEMS. No help will be given.

Posted (edited)
23 hours ago, Draco18s said:

Define "doesn't work."

Sorry, I should've explained that better :P My mod doesn't load when I start the client and I've checked my mcmod file so I probably screwed up somewhere in the code. Just in case, I'll attach the mcmod file, but that shouldn't stop it from loading if it is wrong.

mcmod.info

Edited by Catwolf
Posted
6 hours ago, diesieben07 said:

How exactly do you have your project set up?

Well I don't know how to explain it, but here's the hierarchy I guess:

src>main:

 java>

  catwolf57>minecraftChocolate>

   Main.java

   proxy>

    ClientProxy.java

    CommonProxy.java

   util>

    Reference.java

 resources>

  mcmod.info

  pack.mcmeta

 

 

Hope that crappy hierarchy answers the question(especially since if it doesn't I probably look really stupid).

 

 

Posted

Oh, I downloaded the recommended forge 1.12.2 version and copy the contents of it into my mod folder. I opened the cmd window and ran gradlew setupDecompWorkspace and then gradlew eclipse in the folder. I run eclipse then select the eclipse folder in the mod folder and open it. 

  • 2 months later...
Posted
On 2/16/2018 at 11:40 AM, diesieben07 said:

That all looks correct. I can't say why this won't work unfortunately. Please provide a Git repository of your mod to spot any potential problems.

Oh sorry I never uploaded the git repository, I spaced it out because I was finally able to fix the issue.

  • 2 years later...
Posted

I have the same problem, I switched straight from 1.16.5 to 1.12.2 modding and i cant launch the program, when i was in 1.16 it launched but now is just not launching and the console is saying this :

[2021-02-08 19:05:05] [INFO   ] Natives: D:\forge-1.12.2-14.23.5.2854-mdk\build\natives 
[2021-02-08 19:05:05] [INFO   ] Main Class: net.minecraft.launchwrapper.Launch 
[2021-02-08 19:05:05] [INFO   ] Srg2Mcp: D:\forge-1.12.2-14.23.5.2854-mdk\build\createSrgToMcp\output.srg 
[2021-02-08 19:05:05] [INFO   ] Extra: [] 
[2021-02-08 19:05:05] [INFO   ] Running with arguments: [--version, 1.12, --assetIndex, 1.12, --assetsDir, C:\Users\ROG\.gradle\caches\forge_gradle\assets, --accessToken, {REDACTED}, --userProperties, [], --tweakClass, net.minecraftforge.fml.common.launcher.FMLTweaker] 
Exception in thread "main" java.lang.reflect.InvocationTargetException
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
    at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.base/java.lang.reflect.Method.invoke(Method.java:564)
    at net.minecraftforge.legacydev.Main.start(Main.java:86)
    at net.minecraftforge.legacydev.MainClient.main(MainClient.java:29)
Caused by: java.lang.ClassCastException: class jdk.internal.loader.ClassLoaders$AppClassLoader cannot be cast to class java.net.URLClassLoader (jdk.internal.loader.ClassLoaders$AppClassLoader and java.net.URLClassLoader are in module java.base of loader 'bootstrap')
    at net.minecraft.launchwrapper.Launch.<init>(Launch.java:34)
    at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
    ... 6 more

 

 

 

Help me pls

Guest
This topic is now closed to further replies.

Announcements



×
×
  • Create New...

Important Information

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