Serene Seasons

Serene Seasons

56M Downloads

API issues or noob embarrassment? You decide.

znaxcy opened this issue ยท 2 comments

commented

I'm loading the Serene Seasons API into a workspace so I can check SubSeasons in order to make it so crops grow in stages across a year. Cool. Maybe not.

I drop the SS API folder from the source into the workspace and fire up a build and get a failure because
package sereneseasons.init does not exist

(it's called for in the SeasonHelper, if you need your memory refreshed.)

So I load up everything else in the SS source and try again. Another failure, but this time because
.../com/sereneseasons/init/ModHandlers.java:53: error: ColorResolver is not public in BiomeColorHelper; cannot be accessed from outside package     private static BiomeColorHelper.ColorResolver originalGrassColorResolver;                                    ^

I'm not an experienced coder, so I'm probably missing something obvious, but perhaps you can help me figure out what it is.

Thanks!

commented

Update: removed the line import sereneseasons.init ('cause I couldn't find any obvious references to it anywhere in SeasonHelper) and it runs fine.

Gonna leave this open in case someone wants to explain exactly how I'm doing everything wrong.

commented

Found it, so I'm closing this:
Using the maven repository at https://minecraft.curseforge.com/api/maven/ and compiling via coordinates: 'serene-seasons:SereneSeasons-1.12.2:1.2.16:universal' I was able to load the dependency without any issues. None of the files show up in the workspace, but they seem to be there.