Jump to content

Recommended Posts

Posted

Heyo. I took a decent break from MC Modding over the past 8-9 months, and have decided to hop back in after a while to try and recreate a few of my older projects that I really liked in 1.15.2. However, when I launch my client to test that my workspace is all set up, I keep running into a quite annoying problem in that the example mod is riddled with cannotResolveSymbol errors. I recently switched to IntelliJ over eclipse due to an abundance of recommendations, so it's entirely possible that I'm doing something wrong. But here is my step-by-step recollection that I setup my workspace.

 

  1. Download MDK, extract to development folder.
  2. Edit build.gradle to reflect my unique modid and group.
  3. Launch IntelliJ, import project from build.gradle | completes with no errors
  4. Run task genIntellijRuns | completes with no errors
  5. Open ExampleMod | red everywhere

 

For reference, here are my import logs, and my genIntellijRuns log.

 

Also for reference, I'm following Cadiboo's 1.15 modding tutorial on his website. https://cadiboo.github.io, and the last version I worked with before now was 1.12.2

Follow these rules when talking to me, and we'll get along fine.

1).I know Java fairly well. I don't know as much about modding. They are not the same, don't compare them.

2). I consider myself to always be learning. I make mistakes, you make mistakes. Who doesn't?

3). Insult me, and I will leave the thread. I have a real life, I don't have time to throw petty insults in a Minecraft Modding forum.

 

ModMCdl - Co-Founder and Director of Design for Artemis Game Studios

Posted

Howdy

 

That's odd, I have done exactly the same thing with IntelliJ and haven't had any problems.  My logs look very similar to yours too.

 

Have you tried importing the MDK without modifying the build.gradle at all?

 

You could also try running gradlew build (and then genIntelliJruns) from the command line instead of from IntelliJ

Alternatively you could Open project instead of Import project.  

In previous versions of Forge / IntelliJ that did sometimes make a difference for me.

 

-TGG

 

Posted

I ended up reverting the forge mapping to the default that came with the initial 1.15.2 release. This seemed to solve the problem for me. I'll progressively try new mappings, and see if the problem keeps occurring, but for now I seem to have fixed it.

 

Follow these rules when talking to me, and we'll get along fine.

1).I know Java fairly well. I don't know as much about modding. They are not the same, don't compare them.

2). I consider myself to always be learning. I make mistakes, you make mistakes. Who doesn't?

3). Insult me, and I will leave the thread. I have a real life, I don't have time to throw petty insults in a Minecraft Modding forum.

 

ModMCdl - Co-Founder and Director of Design for Artemis Game Studios

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.