Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

Posted

For some reason i can't read some codes in eclipse because it's saying that ...class isn't contained in the attached source even if its there and mapped for example PlayerModelmappingsISSUE3.thumb.png.4de1fb32410a0d655dc6975de93e1e32.png

this is what eclipse says

but in the source the files are there and even mapped
mappingsIssue1.thumb.png.0bcf01f2dbf52f560431c6da84a35881.png

this is the mappings source and there is PlayerModel.classmappingsIssue2.thumb.png.cae64843ca6992fb4f1ac08b3a81b0f9.png

and here is PlayerModel.class mapped

So is it a problem with the mappings or something else?

 

Edited by Crazzy4999

I'm having the same problem. Lots of minecraft source files are not found in eclipse. For example, net.minecraft.client.Minecraft.class shows the source, but net.minecraft.client.MinecraftGame.class says "source not found". I'm using 1.15.2-31.1.0.

From the README.txt in the Forge MDK -

Quote

If at any point you are missing libraries in your IDE, or you've run into problems you can run "gradlew --refresh-dependencies" to refresh the local cache. "gradlew clean" to reset everything {this does not affect your code} and then start the processs again.

I find this usually fixes this issue for me.

That didn't work for me. What worked for me was installing a more up to date version of eclipse and then redoing the import of the gradle project. Now I can see all of the minecraft source files in eclipse instead of just some of them.

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

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.