Topic category: Help with MCreator software
Hey! I don't know if this is a bug, but it doesn't happen normally:
I've added new .ogg sounds and keep getting the same error messages about the desktop not being compiled correctly. Since there was apparently an error in the code, I tried to fix it, but it doesn't save it and then shows the same thing over and over again:
> Configure project :
Fabric Loom: 1.2.7
> Task :compileJava FAILED
C:\Users\benl4b\MCreatorWorkspaces\moco_chaosattack_mod\src\main\java\net\moco\chaosattack\init\MocoChaosattackModModSounds.java:13: error: ';' expected
public static SoundEvent NEUTRAL.ADVENTURER.AMBIENT=SoundEvent.createVariableRangeEvent(new ResourceLocation("moco_chaosattack_mod","neutral.adventurer.ambient"));
^
C:\Users\benl4b\MCreatorWorkspaces\moco_chaosattack_mod\src\main\java\net\moco\chaosattack\init\MocoChaosattackModModSounds.java:13: error: expected
public static SoundEvent NEUTRAL.ADVENTURER.AMBIENT=SoundEvent.createVariableRangeEvent(new ResourceLocation("moco_chaosattack_mod","neutral.adventurer.ambient"));
^
C:\Users\benl4b\MCreatorWorkspaces\moco_chaosattack_mod\src\main\java\net\moco\chaosattack\init\MocoChaosattackModModSounds.java:14: error: ';' expected
public static SoundEvent NEUTRAL.ADVENTURER.DEATH=SoundEvent.createVariableRangeEvent(new ResourceLocation("moco_chaosattack_mod","neutral.adventurer.death"));
^
C:\Users\benl4b\MCreatorWorkspaces\moco_chaosattack_mod\src\main\java\net\moco\chaosattack\init\MocoChaosattackModModSounds.java:14: error: expected
public static SoundEvent NEUTRAL.ADVENTURER.DEATH=SoundEvent.createVariableRangeEvent(new ResourceLocation("moco_chaosattack_mod","neutral.adventurer.death"));
^
4 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.
> Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 1s
1 actionable task: 1 executed
BUILD FAILED
Task completed in 1 minute and 20 seconds
I would recommend reporting bug report to the plugin author or checking if there are similar ones open
I've already tried that, but there isn't exactly a forum topic like this and unfortunately I can't comment on the plugin. I do not know why. That´s why i am asking here
Usually plugins have issue trackers on GitHub