Posted February 27, 20205 yr 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 PlayerModel this is what eclipse says but in the source the files are there and even mapped this is the mappings source and there is PlayerModel.class and here is PlayerModel.class mapped So is it a problem with the mappings or something else? Edited February 27, 20205 yr by Crazzy4999
March 1, 20205 yr 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.
March 1, 20205 yr 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. My mods: http://www.curse.com/mc-mods/minecraft/225548-greenscreen http://mods.curse.com/mc-mods/minecraft/238981-cash-craft
March 2, 20205 yr 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.