Jump to content

[1.16.5] Eclipse "Source not found" error on several net.minecraft files.


bryceio

Recommended Posts

I've been working on updating my mod from 1.15.2 to 1.16.5 lately. As such, I have needed to check the net.minecraft files frequently to figure out some of the differences between the two versions. However, while I have been doing this, I have encountered several files that I cannot access. When I try to open them either through the file menu in Eclipse or by attempting to open a declaration, I am instead met with an error as seen in the attached image. This is really holding up progress in this update, so I appreciate any help with it.

Screenshot_15.png

Link to comment
Share on other sites

1 hour ago, bryceio said:

This is really holding up progress in this update, so I appreciate any help with it.

i had this error some time ago, unfortunately i can't tell you exactly how i solved the problem.
i tried a few gradle tasks and re-imported the project, that fixed the problem for me

Link to comment
Share on other sites

 

On 5/12/2021 at 9:43 AM, Luis_ST said:

i had this error some time ago, unfortunately i can't tell you exactly how i solved the problem.
i tried a few gradle tasks and re-imported the project, that fixed the problem for me

Hm, well I'll see if I can manage to get it working that way. Do you happen to remember what all gradle tasks you ran?

 

Edit, nevermind. I cleared my Eclipse workspace, ran gradlew clean, redid my gradlew startup commands, and reimported the project and it fixed itself! Thanks for the help!

Edited by bryceio
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.