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

Posted

Hello everyone

 

I just setup my development environment with a new version of Forge (789) and added all the Libraries from mcp/jar/libraries to my classpath and set the source folder to be mcp/src/minecraft. So when I launch Minecraft with the Start.java class I get the following NullPointer Exception:

Exception in thread "main" java.lang.NullPointerException
at java.util.logging.Logger.setParent(Logger.java:1406)
at net.minecraft.logging.LogAgent.setupLogger(LogAgent.java:33)
at net.minecraft.logging.LogAgent.<init>(LogAgent.java:25)
at net.minecraft.client.Minecraft.<init>(Minecraft.java:308)
at net.minecraft.client.main.Main.main(Main.java:77)
at Start.main(Start.java:68)

I have no clue, how I could fix that, because I didn't touch the source directory yet, it is like forges install.bat left it.

BTW: I work with IntelliJ IDEA, but I don't think that matters

 

I thank you in advance :D

You need to use the Launcher class as the main method now not Start class. Afaik it's needed to proxy the new minecraft loader

  • Author

Thank you for your answer, but unfortunately this gives me another error:

Jul 11, 2013 2:17:53 PM net.minecraft.launchwrapper.LogWrapper log
INFO: Using tweak class name net.minecraft.launchwrapper.VanillaTweaker
Jul 11, 2013 2:17:54 PM net.minecraft.launchwrapper.LogWrapper log
SEVERE: Unable to launch
java.lang.NoSuchMethodException: net.minecraft.client.Minecraft.main([Ljava.lang.String;)
at java.lang.Class.getMethod(Class.java:1622)
at net.minecraft.launchwrapper.Launch.launch(Launch.java:54)
at net.minecraft.launchwrapper.Launch.main(Launch.java:18)

When i look in the Minecraft class, i can't see a main method, should there be one?

  • Author

That's what I was doing. But I got the error I posted above.

The error is just, that there is no main method in net.minecraft.client.Minecraft, so obviously this gets called by the net.minecraft.launchwrapper.Launch class, but doesn't exist.

Do you have the program arguments

--version 1.6 --tweakClass cpw.mods.fml.common.launcher.FMLTweaker

mca.png

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...

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.