Dimensions not working in 1.14+

Started by CapCreeperGR on

Topic category: Troubleshooting, bugs, and solutions

Joined Jan 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Dimensions not working in 1.14+

So I recently upgraded my mod from 1.12 to 1.14 but when I did that I started getting errors with my dimensions. I even tried to make new dimensions but these didn't work either

Here are the errors I am getting:
----------------------

Executing 
    Gradle task: build

Build 
    info: MCreator 2020.3.22116, forge-1.15.2, 64-bit, 6041 MB, Windows 10, 
    JVM 1.8.0_252, JAVA_HOME: C:\Program Files\Pylo\MCreator\jdk


    Configure project :

New 
    Dep: net.minecraftforge:forge:1.15.2-31.2.0_mapped_snapshot_20200514-1.15.1


    Task :compileJava FAILED

C:\Users\nickv\MCreatorWorkspaces\spacecraft\src\main\java\net\mcreator\spacecraft\world\dimension\MarsDimension.java:143: 
    error: illegal start of type 
 
      }

 
      ^

C:\Users\nickv\MCreatorWorkspaces\spacecraft\src\main\java\net\mcreator\spacecraft\world\dimension\MarsDimension.java:143: 
    error: ';' expected 
 
      }

 
       ^

C:\Users\nickv\MCreatorWorkspaces\spacecraft\src\main\java\net\mcreator\spacecraft\world\dimension\MarsDimension.java:210: 
    error: reached end of file while parsing 
}

 
    ^

C:\Users\nickv\MCreatorWorkspaces\spacecraft\src\main\java\net\mcreator\spacecraft\world\dimension\TheMoonDimension.java:143: 
    error: illegal start of type 
 
      }

 
      ^

C:\Users\nickv\MCreatorWorkspaces\spacecraft\src\main\java\net\mcreator\spacecraft\world\dimension\TheMoonDimension.java:143: 
    error: ';' expected 
 
      }

 
       ^

C:\Users\nickv\MCreatorWorkspaces\spacecraft\src\main\java\net\mcreator\spacecraft\world\dimension\TheMoonDimension.java:210: 
    error: reached end of file while parsing 
}

 
    ^


    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

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.

See 
    https://docs.gradle.org/4.10.3/userguide/command_line_interface.html#se…

BUILD 
    FAILED in 3s


    actionable task: 1 executed

BUILD 
    FAILED

Task 
    completed in 9093 milliseconds

Joined Jun 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
In some cases, Gradle caches…
Sat, 06/20/2020 - 05:34

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.

Joined Jan 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Thank you. The first…
Sat, 06/20/2020 - 13:54

Thank you. The first solution worked. You are the best

Joined Jul 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I tried all these methods…
Fri, 09/04/2020 - 20:51

I tried all these methods myself,
They did nothing,
Same issue on my end also.