Error: not compiled correctly (and if you invert it it isn't)

Started by Orrinpants on

Topic category: Troubleshooting, bugs, and solutions

Last seen on 20:23, 30. Oct 2023
Joined Oct 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Error: not compiled correctly (and if you invert it it isn't)

I made this procedure that does not compile correctly. The procedure that does the opposite does not.

A procedure that makes a variable true not compiling correctly. The false one does compile correctly.

Probably why this happened in the console when I downloaded it:

Executing Gradle task: build 
Build info: MCreator 2021.1.12313 EAP (12313), forge-1.16.5, 64-bit, 16315 MB, Windows 10, JVM 1.8.0_275, JAVA_HOME: C:\Users\orrin\Downloads\MCreator EAP 2021.1 b12313 Windows 64bit\MCreatorEAP20211b12313\jdk 
> Task :compileJava FAILED 
C:\Users\orrin\MCreatorWorkspaces\sad_nether\src\main\java\net\mcreator\sadnether\procedures\RainDispenserRedstoneOnProcedure.java:23: error: package SadNetherModVariables does not exist 
      SadNetherModVariables.MapVariables.get(world).redstoneon = (boolean) (true); 
                           ^ 
C:\Users\orrin\MCreatorWorkspaces\sad_nether\src\main\java\net\mcreator\sadnether\procedures\RainDispenserRedstoneOnProcedure.java:24: error: package SadNetherModVariables does not exist 
      SadNetherModVariables.MapVariables.get(world).syncData(world); 
                           ^ 
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. Run with --scan to get full insights. 
* Get more help at https://help.gradle.org 
BUILD FAILED in 2s 
1 actionable task: 1 executed 
BUILD FAILED 
Task completed in 8 seconds

Here is one of the lines that could possibly be why:

Build info: MCreator 2021.1.12313 EAP (12313), forge-1.16.5, 64-bit, 16315 MB, Windows 10, JVM 1.8.0_275, JAVA_HOME: C:\Users\orrin\Downloads\MCreator EAP 2021.1 b12313

 

Last seen on 20:23, 30. Oct 2023
Joined Oct 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Wait, what task completed?…
Fri, 04/23/2021 - 14:59

Wait, what task completed? Failing the task?

Last seen on 20:23, 30. Oct 2023
Joined Oct 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I didn't remove it.
Mon, 08/09/2021 - 22:07

I didn't remove it.