Jump to content

[Fixed][Update to build 1079]Error when trying to launch in IDE


theOriginalByte

Recommended Posts

Hi guys!

I'm new to modding(like right about now) and when I launch minecraft with the IDE I keep getting this error that causes my mod to be ignored.

[spoiler=error]

[15:58:45] [Client thread/ERROR] [FML]: FML has detected a mod that is using a package name based on 'net.minecraft.src' : net.minecraft.src.FMLRenderAccessLibrary. This is generally a severe programming error.  There should be no mod code in the minecraft namespace. MOVE YOUR MOD! If you're in eclipse, select your source code and 'refactor' it into a new package. Go on. DO IT NOW!

[15:58:48] [Client thread/INFO] [FML]: Forge Mod Loader has identified 3 mods to load

[15:58:49] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge

 

 

 

Can someone tell me whats wrong?

Link to comment
Share on other sites

I think the error is pretty self-explanatory.  You have added code to the core packages.  You should make your mod as a separate project in Eclipse.  You should check out Wuppy's tutorial for setup:

 

So putting the project in the src/main/java file tree is not what i should do?

Link to comment
Share on other sites

Hi,

no, try adding three more folders to look like this: src/main/java/com/yourname/modname

 

that's the way i do it, but you could replace yourname or modname for anything.

if you already have the example class, just rename that and all the files before to make it easier and start coding in there.

 

-Pandassaurus

Link to comment
Share on other sites

Hi,

no, try adding three more folders to look like this: src/main/java/com/yourname/modname

 

that's the way i do it, but you could replace yourname or modname for anything.

if you already have the example class, just rename that and all the files before to make it easier and start coding in there.

 

-Pandassaurus

I have my folder structure [shadow=red,left]exactly[/shadow] like that but it still throws an error... I am using IntelliJ IDEA for mac. Would that cause a problem?

 

This is what I have

1HWEKEV9KYFnk2GPjsZraxdL8p7Brn.png

Link to comment
Share on other sites

Hi,

no i'm also using idea in a mac. arguably the best. Anyway, there might be one thing you didn't do. This came up when i was setting up too. When you did the setupDecompWorkspace, did you remember to put idea at the end?

 

it would look like this:

gradle setupDecompWorkspace idea

 

that's how i did it, and it worked for me:

 

 

 

 

if you didn't do that, and you get it working, go into the example class, and rename everything using shift+fn+f6. that way, it's all where it's supposed to be.

 

-Pandassaurus

Link to comment
Share on other sites

If it is ONLY net.minecraft.src.FMLRenderAccessLibrary, ignore it, it's something we need to fix it shouldnt warn you for that as it's part of FML, but ya, if it's JUST FMLRenderAccessLibrary, ignore it.

I do Forge for free, however the servers to run it arn't free, so anything is appreciated.
Consider supporting the team on Patreon

Link to comment
Share on other sites

Hi,

no i'm also using idea in a mac. arguably the best. Anyway, there might be one thing you didn't do. This came up when i was setting up too. When you did the setupDecompWorkspace, did you remember to put idea at the end?

 

it would look like this:

gradle setupDecompWorkspace idea

 

that's how i did it, and it worked for me:

 

 

 

 

if you didn't do that, and you get it working, go into the example class, and rename everything using shift+fn+f6. that way, it's all where it's supposed to be.

 

-Pandassaurus

 

Yup I did it exactly like that... let me try doing it again..

Link to comment
Share on other sites

If it is ONLY net.minecraft.src.FMLRenderAccessLibrary, ignore it, it's something we need to fix it shouldnt warn you for that as it's part of FML, but ya, if it's JUST FMLRenderAccessLibrary, ignore it.

 

it said that was it, but it wouldn't load the mod so i can test and see if i did it correctly...  i'm gonna go get one of the latest builds and try if it works

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.



×
×
  • Create New...

Important Information

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