Custom dimensions dont compile

Started by DoctorGlass on

Topic category: Help with modding (Java Edition)

Last seen on 22:57, 17. Dec 2022
Joined Nov 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Custom dimensions dont compile

Every time I try to create a dimension, the element does not compile, and that only happens with the creation of the custom dimensions. does anyone know how to solve this or know the answer to the problem?

Last seen on 22:57, 17. Dec 2022
Joined Nov 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
AND NO, NOTHING THAT IS…
Sat, 11/28/2020 - 23:07

AND NO, NOTHING THAT IS DEFINED IN MY CUSTOMIZED DIMENSION COLLIDES WITH SOMETHING ELSE....

In some cases, Gradle caches…
Sun, 11/29/2020 - 18:58

In some cases, Gradle caches that make sure the build process does not take too long can get corrupted. In such a case, go to:

<your user home folder>/.mcreator/gradle

In this folder, there is a folder called caches. Delete this folder and open MCreator again. Next build will take a bit longer as caches need to be rebuilt. If you can not delete all files in this folder (which is necessary), reboot the computer first to remove any potential file locks.

If this is not enough to make things work, delete the entire gradle folder, not just caches, and try again.

If even this fails, try to delete the entire <your user home folder>/.mcreator/gradle folder, create a new workspace with the same generator version as the version of the workspace failing, after the setup of this new workspace is done, open your current workspace, and click Build & run -> Build workspace, then Build & run -> Reload gradle project and then Build & run -> Regenerate code and build.

Last seen on 22:57, 17. Dec 2022
Joined Nov 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
ah .... it didn't work, i…
Sun, 11/29/2020 - 22:53

ah .... it didn't work, i deleted the folder, restarted the workspace and its codes but no ... but i tried to change some things in the source code of my dimension and .. almost!
had 4 compilation errors and decreased to just 1, which is: error: reached end of file while parsing
}
  ^ "which seems to be a common problem in java but as I am not experienced, so I was unable to solve