Jump to content

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


sowicm

Recommended Posts

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/

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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

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.