Started by
PenguinMan1219
on
Topic category: Help with MCreator software
I am trying to make a custom command, and a procedure I made returns the error "Your workspace contains mod elements that don't compile properly."
Here is my procedure:
Sorry the image didn't go through; here's the link to it:
https://ibb.co/j4vhRGC
Also, here is my build log:
Executing Gradle task: build
Build info: MCreator 2022.1.20510, spigot-1.19, 64-bit, 8192 MB, Mac OS X, JVM 17.0.1, JAVA_HOME: /Applications/MCreator.app/Contents/MacOS/jdk/Contents/Home, started on: 2022-07-17-19:24:52
> Task :compileJava FAILED
/Users/riley/MCreatorWorkspaces/mobpopulator/src/main/java/net/mcreator/mobpopulator/procedures/PopulateCommandExecutedProcedure.java:31: error: ';' expected world.spawnEntity(new Location(world, (x+2), y, z), EntityCow)
^
/Users/riley/MCreatorWorkspaces/mobpopulator/src/main/java/net/mcreator/mobpopulator/procedures/PopulateCommandExecutedProcedure.java:34: error: ';' expected world.spawnEntity(new Location(world, x, y, (z+2)), EntityCow)
^
/Users/riley/MCreatorWorkspaces/mobpopulator/src/main/java/net/mcreator/mobpopulator/procedures/PopulateCommandExecutedProcedure.java:37: error: ';' expected world.spawnEntity(new Location(world, (x+5), y, z), EntitySheep)
^
/Users/riley/MCreatorWorkspaces/mobpopulator/src/main/java/net/mcreator/mobpopulator/procedures/PopulateCommandExecutedProcedure.java:40: error: ';' expected world.spawnEntity(new Location(world, x, y, (z+5)), EntitySheep)
^
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 226ms
1 actionable task: 1 executed
BUILD FAILED
Task completed in 13 seconds