Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

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.

  • Author
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

  • Author
On 2/14/2018 at 8:52 PM, Draco18s said:

Define "doesn't work."

Maybe I shouldn't have switched straight from 1.7.10 to 1.12.2 modding.

  • Author
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).

 

 

  • Author

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. 

  • Author

This is only here because the comment glitched out and posted twice

 

Edited by Catwolf
oops

  • Author

ok, but the repository might be broken because I've never done it before.

Edited by Catwolf

  • 2 months later...
  • Author
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...

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.

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.