Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Eclipse not acting as expected...


Recommended Posts

I made a mod or two for 1.12, and I've decided to jump the gun and start a new one from scratch in 1.16.3. However, things aren't quite as I expected them to be, and I'm genuinely unsure if these things are normal and I'm just used to 1.12 modding, or if there's a genuine problem on my end. I ran "gradlew genEclipseRuns" a second time to be sure that didn't mess up, but it finished successfully, and there were no notable changes. Here's the "about" info for the version of Eclipse I'm using, if that helps: https://pastebin.com/SJq52DWL

For starters, Eclipse immediately flags the example mod as error filled due to "org.apache.logging.log4j.LogManager" not resolving properly. It goes over my head (I don't know a lot about Javas' various ultitiy libraries like this), and a lot of possible solutions I stumbled upon suggest downloading other jar files and adding them to Eclipse, which feels... fishy, for lack of a better word. I have AdoptOpenJDK as my JDK, and I updated it to the most recent release (jdk-8.0.265.01-hotspot), but it had no notable changes. How should I approach this?

Also, Eclipse no longer has access to Minecrafts' decompiled source code! It seems to have reference files in place instead, which would be fine, but Eclipse is no longer able to fill in the names and parameters of routines and constructors anymore, nor can it properly detect which imports to use for them (tbf, it wasn't perfect in 1.12, but it asks every time now). I am a little worried that the LogManager import being broken might be messing with this feature a bit though, but I have no way of knowing for sure until that is resolved. It was nice to be able to reference minecrafts' code for things that were poorly documented, so I hope this change isn't intentional/permenant...

As far as I can tell, all of this is on the IDEs' end. gradlew is able to build a perfectly functional mod with no complaints whatsoever.

Link to post
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.

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



×
×
  • Create New...

Important Information

By using this site, you agree to our Privacy Policy.