Version: forge-1.12.2-14.23.5.2768-mdk
Using IntelliJ Community 2018.3
I'm relatively new to this whole thing, and I'm having an issue where importing certain classes within the same packages into a certain other file fails for some reason.
"MessageMod" is the main "@Mod" class.
So my issue is that in MessageEvent I can do "import a.b.MessageMod" just fine. I've compiled MessageEvent repeatedly but no issues with that so far. The same with the other three classes calling any other things from within the package.
But I need to register the MessageEvent, and so from MessageMod I have to import MessageEvent. But inside MessageMod.java, "import a.b.event.MessageEvent" invariably fails:
I've tried building the other packages and files all first, restarting, clearing the cache, compiling the whole project all at once, etc. but still haven't gotten it to build properly yet. Also checked the import names a bunch, used the "auto-complete" one from IntelliJ (didn't work) and typed it myself (still didn't work).
in short IntelliJ can auto-complete the package name and "knows" it's there, but the error doesn't show up until I try to compile, at which time it tells me that the package does not exist.
Googling doesn't do much as the few things that do pop up tell me to do things I can't find or have no idea how to do, or are several years old.
Anybody know how to fix this?