derfl007's Road Mod

derfl007's Road Mod

154k Downloads

Imports not resolved after cloning repository

E-Mans-Application opened this issue ยท 2 comments

commented

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?

commented

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.

commented

I'm closing the issue, as it isn't related to the mod itself, but feel free to keep commenting for help on cloning the repository