Imports not resolved after cloning repository
E-Mans-Application opened this issue ยท 2 comments
Hello,
All net imports are not resolved when I clone the repository into Eclipse or IntelliJ.
See https://ibb.co/1vknCyZ
I clone the repository with the URL, then I use "import existing gradle project".
I tried setupDecompWorkspace, but it fails at task :recompileMc with error: NullPointerException (no error message)
Here is the stack trace: https://pastebin.com/eeMtF2uk
I'm not used to cloning GitHub projects, so maybe I'm doing something wrong.
I you know where the issue comes from, could you help me please?
That's because the repository doesn't include all the stuff you need for development. I merely included the main source code, but you actually need a bit more than that. You can download the MDK version of minecraft forge and set it up and then copy the repository into the folder. This should in theory work, I haven't tried it though, so I might have missed something. I'm not the most experienced with github either, I'm just a hobby programmer at the moment.