Share this post

Link to post

Share on other sites

You shouldn't have lost any of your classes, all you needed to do was to rebuild your workspace using gradlew setupDecompWorkspace and gradlew eclipse. It will re-download everything, fix up your classpath, and update your run configurations.

Note that you should do this regularly anyway to update to latest Forge version. In that case you update your build.gradle file and then do the above.

Lastly, you shouldn't worry about losing your code if you're using a proper code revision system like git. If you're not familiar with using git I have a tutorial here:

Share this post

Link to post

Share on other sites

You shouldn't have lost any of your classes, all you needed to do was to rebuild your workspace using gradlew setupDecompWorkspace and gradlew eclipse. It will re-download everything, fix up your classpath, and update your run configurations.

Note that you should do this regularly anyway to update to latest Forge version. In that case you update your build.gradle file and then do the above.

Lastly, you shouldn't worry about losing your code if you're using a proper code revision system like git. If you're not familiar with using git I have a tutorial here:

Oh. I see your example.
Well, the problem I get when doing that is I get a run time error saying there is a conflict between my mod's config and itself.
It's as though it sees each of them as my mod, and doesn't allow duplicates of the same mod to have config.

Yeah I did.
Im asking for a solution to this in just a quick way. When I open the gui i have no rendered cursor, it only shows up when i move my mouse outside of the minecraft window and move it back in. Fix for this @diesieben07 problem.

Difficult to describe without screenshots, but I have too many options to put easily on one screen, so in all of my previous versions I split them up into 3 screens.
So when you click on Config the first thing you see is the choice of 3: "Coordinates Options" "Timer Options" or "Infopanel Options".
Clicking on "Coordinates Options" brings up a page of just those options, etc.
I implemented all this in 1.12 using the @config annotation system, which allowed this kind of structure (outer-level config, 3x inner-level configs)
I just don't see whether the new ForgeConfigSpec system permits you to do this.