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.

java.lang.NullPointerException at cpw.mods.fml.relauncher.CoreModManager.injectT

Featured Replies

  • Author

could anybody know the way fix this?

Great thanks.

I tried for it hours.

What launch arguments are you using in your run configurations?

 

like "--version 1.6 --tweakClass cpw.mods.fml.common.launcher.FMLTweaker" ?

If you guys dont get it.. then well ya.. try harder...

  • Author

--version 1.6 --tweakClass cpw.mods.fml.common.launcher.FMLTweaker --username <Your_MC_Username> --session <Your_Session_ID>

  • Author

What launch arguments are you using in your run configurations?

 

like "--version 1.6 --tweakClass cpw.mods.fml.common.launcher.FMLTweaker" ?

 

it's "--version 1.6 --tweakClass cpw.mods.fml.common.launcher.FMLTweaker --username <Your_MC_Username> --session <Your_Session_ID>"

 

and i tried working path for mcp/jars mcp/src/minecraft out/production/

here's my current (working) setup in intellij idea:

main class:    net.minecraft.launchwrapper.Launch
vm params:     -Djava.library.path=versions\1.6.4\1.6.4-natives -Xmx512m
program args:  --tweakClass cpw.mods.fml.common.launcher.FMLTweaker --username <name>
wokring dir:   <project-dir>\jars

My content root is

mcp

dir. My output dir is the same as in eclipse -

eclipse/Minecraft/bin

. Also I copied

forge_at.cfg, deobfuscation_data-1.6.4.lzma, fml_at.cfg, fml_marker.cfg, fmlversion.properties, mcpmod.info

to the bin dir. It might not be necessary but it works :).

 

PS: I'm not on mac, but the correct setup could be similar.

mnn.getNativeLang() != English

If I helped you please click on the "thank you" button.

  • 3 months later...

If you don't want to copy a bunch of files by hand, there is another solution. The reason the .cfg and other files don't get copied is because Intellij doesn't think they are resource files. To solve this, you can change your Intellij settings as follows:

 

1. Go to Settings/Preferences -> Compiler -> Resource patterns

2. Add <;?*.cfg;?*.info;?*.lzma> (without the chevrons, obviously) to the end of the list of resource files.

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.