Gradle Build Errors

Status
Fixed
Issue description

Every time i create a creative tab and add items to it in one of my mods it will cause MCreator to throw an error the next time it recompiles. I tried using different workspaces, different items, different creative tabs, re-launching MCreator, and even Rebooting my computer. This is very annoying, so can someone please tell me how to fix it?

Mod file is linked to this post btw.

Gradle Log: 

C:\Pylo\MCreator179\forge\build\sources\main\java\mod\mcreator\mcreator_periodicsBlocks.java:15: error: class mcreator_testenvironmentmodBlocks is public, should be declared in a file named mcreator_testenvironmentmodBlocks.java
public class mcreator_testenvironmentmodBlocks {
       ^
C:\Pylo\MCreator179\forge\build\sources\main\java\mod\mcreator\mcreator_periodicsItems.java:15: error: class mcreator_testenvironmentmodItems is public, should be declared in a file named mcreator_testenvironmentmodItems.java
public class mcreator_testenvironmentmodItems {
       ^
C:\Pylo\MCreator179\forge\build\sources\main\java\mod\mcreator\TestEnvironmentMod.java:36: error: cannot find symbol
    mcreator_periodicsBlocks mcreator_1 = new mcreator_periodicsBlocks();
    ^
  symbol:   class mcreator_periodicsBlocks
  location: class TestEnvironmentMod
C:\Pylo\MCreator179\forge\build\sources\main\java\mod\mcreator\TestEnvironmentMod.java:38: error: cannot find symbol
    mcreator_periodicsItems mcreator_3 = new mcreator_periodicsItems();
    ^
  symbol:   class mcreator_periodicsItems
  location: class TestEnvironmentMod
C:\Pylo\MCreator179\forge\build\sources\main\java\mod\mcreator\TestEnvironmentMod.java:36: error: cannot find symbol
    mcreator_periodicsBlocks mcreator_1 = new mcreator_periodicsBlocks();
                                              ^
  symbol:   class mcreator_periodicsBlocks
  location: class TestEnvironmentMod
C:\Pylo\MCreator179\forge\build\sources\main\java\mod\mcreator\TestEnvironmentMod.java:38: error: cannot find symbol
    mcreator_periodicsItems mcreator_3 = new mcreator_periodicsItems();
                                             ^
  symbol:   class mcreator_periodicsItems
  location: class TestEnvironmentMod
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
6 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.

Issue comments

Just click the gear icon on the top bar of MCreator. It will recompile your mod and fix these errors.

Still having the exact same issue... even with the newest version of mcreator

jadenquinn8, please open a support ticket and describe how to reproduce this bug. After extensive testing, I fixed all cases where I  could cause this bug. It could be that I left some unfixes, but this is due me not being able to reproduce the bug. If you provide me this I will be glad to try and fix this.