New Dimension Compiling Issue

Status
Fixed
Issue description

Each time I finalize and create a new Dimension Mod Element I get this error/compile message. I don't know how to fix it please help! Btw, Nilfheim is the name of the dimension and cOrecraft is the name of the mod/workspace.

 

error: error reading C:\Users\Owner\.mcreator\gradle\caches\modules-2\files-2.1\it.unimi.dsi\fastutil\7.1.0\9835253257524c1be7ab50c057aa2d418fb72082\fastutil-7.1.0.jar; zip file is empty
error: error reading C:\Users\Owner\.mcreator\gradle\caches\modules-2\files-2.1\it.unimi.dsi\fastutil\7.1.0\9835253257524c1be7ab50c057aa2d418fb72082\fastutil-7.1.0.jar; zip file is empty
C:\Users\Owner\MCreatorWorkspaces\corecraft\build\sources\main\java\net\mcreator\corecraft\MCreatorNilfheim.java:217: error: cannot access Long2ObjectMap
			if (this.destinationCoordinateCache.containsKey(l)) {
			                                   ^
  class file for it.unimi.dsi.fastutil.longs.Long2ObjectMap not found
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
1 error

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

 

Issue comments

I just got another error when adding a custom mob to the dimension!!!

 

error: error reading C:\Users\Owner\.mcreator\gradle\caches\modules-2\files-2.1\it.unimi.dsi\fastutil\7.1.0\9835253257524c1be7ab50c057aa2d418fb72082\fastutil-7.1.0.jar; zip file is empty
error: error reading C:\Users\Owner\.mcreator\gradle\caches\modules-2\files-2.1\it.unimi.dsi\fastutil\7.1.0\9835253257524c1be7ab50c057aa2d418fb72082\fastutil-7.1.0.jar; zip file is empty
C:\Users\Owner\MCreatorWorkspaces\corecraft\build\sources\main\java\net\mcreator\corecraft\MCreatorFrostCube.java:74: error: incompatible types: EntityCustom cannot be converted to EntityCreature
			this.tasks.addTask(1, new EntityAIWander(this, 1));
			                                         ^
C:\Users\Owner\MCreatorWorkspaces\corecraft\build\sources\main\java\net\mcreator\corecraft\MCreatorFrostCube.java:78: error: incompatible types: EntityCustom cannot be converted to EntityCreature
			this.targetTasks.addTask(5, new EntityAIHurtByTarget(this, true));
			                                                     ^
C:\Users\Owner\MCreatorWorkspaces\corecraft\build\sources\main\java\net\mcreator\corecraft\MCreatorFrostCube.java:79: error: incompatible types: EntityCustom cannot be converted to EntityCreature
			this.tasks.addTask(6, new EntityAIRestrictSun(this));
			                                              ^
C:\Users\Owner\MCreatorWorkspaces\corecraft\build\sources\main\java\net\mcreator\corecraft\MCreatorNilfheim.java:217: error: cannot access Long2ObjectMap
			if (this.destinationCoordinateCache.containsKey(l)) {
			                                   ^
  class file for it.unimi.dsi.fastutil.longs.Long2ObjectMap not found
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: C:\Users\Owner\MCreatorWorkspaces\corecraft\build\sources\main\java\net\mcreator\corecraft\MCreatorFrostCube.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Note: Some messages have been simplified; recompile with -Xdiags:verbose to get full output
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. Go to C:\Users\Owner\.mcreator\gradle\, delete folder caches and run MCreator again
  2. Some AI tasks are only comptabile with some mob types