Topic category: Advanced modding
One of my mod elements wasnt working and it said there was a fail. Here is the build log but I replaced the file directory with DIRECTORY:
Executing Gradle task: build
Build info: MCreator 2021.1.03117 EAP (03117), forge-1.16.4, 64-bit, 8007 MB, Windows 10, JVM 1.8.0_275, JAVA_HOME: C:\Users\alext\Documents\MCreator EAP 2021.1 b03117 Windows 64bit\MCreatorEAP20211b03117\jdk
> Configure project :
New Dep: net.minecraftforge:forge:1.16.4-35.1.4_mapped_snapshot_20201028-1.16.3
> Task :compileJava
Note: SpongePowered MIXIN Annotation Processor Version=0.8.2
Note: ObfuscationServiceMCP supports type: "searge"
Note: ObfuscationServiceMCP supports type: "notch"
DIRECTORY\procedures\BananaPeelEntityCollidesInBlockProcedure.java:65: error: variable x is already defined in method executeProcedure(Map) double x = 0;
DIRECTORY\procedures\BananaPeelEntityCollidesInBlockProcedure.java:67: error: variable z is already defined in method executeProcedure(Map) double z = 0;
> Task :compileJava FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':compileJava'.
> Compilation failed; see the compiler error output for details.
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
Deprecated Gradle features were used in this build, making it incompatible with Gradle 5.0.
Use '--warning-mode all' to show the individual deprecation warnings.
BUILD FAILED in 7s
1 actionable task: 1 executed
Task completed in 9 seconds
NVM I just had 2 delete x and z variables from world tab