Jump to content

Getting hundreds of missing class errors from forge


Silly511

Recommended Posts

I cloned the 1.12.x branch wanting to add a new event, but after I ran gradle setupForge and opened it in Eclipse, I got 2,222 errors from forge. After looking at some of them, it seems random classes like AbstractIllager, Advancement, RecipeBook, etc. were missing. What could be causing this?

Link to comment
Share on other sites

I've run into this issue before, I don't remember exactly what the problem was. However I do remember that I fixed it by deleting my Forge workspace and then following cpw's Forge dev env setup video; cpw uses IntelliJ IDEA but the video is still applicable to Eclipse as long as you change the IDEA specific gradle tasks to Eclipse specific gradle tasks.

Link to comment
Share on other sites

7 hours ago, Silly511 said:

I ran gradle setupForge

I haven't seen this command before. Did Forge stop using setupDecompWorkspace?

 

If you're getting so many missing classes, then the deobfuscation didn't happen. Install again.

The debugger is a powerful and necessary tool in any IDE, so learn how to use it. You'll be able to tell us more and get better help here if you investigate your runtime problems in the debugger before posting.

Link to comment
Share on other sites

5 minutes ago, jeffryfisher said:

I haven't seen this command before. Did Forge stop using setupDecompWorkspace?

 

If you're getting so many missing classes, then the deobfuscation didn't happen. Install again.

Silly511 is setting up a Forge development workspace in order to submit a PR to Forge, not a Forge mod development workspace. The setup process for the former is quite different from the latter.

Link to comment
Share on other sites

8 hours ago, Leviathan143 said:

Silly511 is setting up a Forge development workspace in order to submit a PR

Aha... In that case, maybe one of the mods will move this thread to one of the other forums (such as  Support & Bug Reports )

The debugger is a powerful and necessary tool in any IDE, so learn how to use it. You'll be able to tell us more and get better help here if you investigate your runtime problems in the debugger before posting.

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.