Topic category: General discussion
basicly im working on a mod realated to spongebob (that will be released soon!)
and im having a issue compileing
check out the gradle log:
C:\Pylo\MCreator163\forge\build\sources\java\mod\mcreator\mcreator_mobspongebob.java:271: error: '{' expected
public static class ModelSpongebob_mob.model extends ModelBase
^
C:\Pylo\MCreator163\forge\build\sources\java\mod\mcreator\mcreator_mobspongebob.java:280: error: <identifier> expected
public ModelSpongebob_mob.model()
^
2 errors
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':compileJava'.
> Compilation failed; see the compiler error output for details.
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
can sombody help me? what should i do?
Try removing the dot from the name (For example changing ModelSpongebob_mob.model to ModelSpongebob_mobModel)
@#1 Thanks!
@#1.1 edit: it didnt work. still got a error message
gradle log:
C:\Pylo\MCreator163\forge\build\sources\java\mod\mcreator\mcreator_mobspongebob.java:274: error: '{' expected
public static class ModelSpongebob_mob.model extends ModelBase
^
C:\Pylo\MCreator163\forge\build\sources\java\mod\mcreator\mcreator_mobspongebob.java:283: error: <identifier> expected
public ModelSpongebob_mob.model()
^
2 errors
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':compileJava'.
> Compilation failed; see the compiler error output for details.
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
Can you show your whole code, please?