Dimension Not Working

Status
Resolved
Issue description

I added a Space dimension(already tried solution https://mcreator.net/tracker/issue/56819, not working),but after I added all the elements,it don't compile! it says

 

Executing gradle task: build
Build info: MCreator 2020.1.05419, 1.14.4, 64-bit, 8104 MB, Windows 7, JVM 1.8.0_232, JAVA_HOME: F:\Pylo\MCreator\jdk
> Configure project :
New Dep: net.minecraftforge:forge:1.14.4-28.1.117_mapped_snapshot_20190719-1.14.3
> Task :compileJava FAILED
C:\Users\Administrator\MCreatorWorkspaces\spacecraft\src\main\java\net\mcreator\spacecraft\MCreatorSpace.java:171: ����: ��Ҫ'{'
   public static class Size /* failed to load code for net.minecraft.block.NetherPortalBlock */
                           ^
C:\Users\Administrator\MCreatorWorkspaces\spacecraft\src\main\java\net\mcreator\spacecraft\MCreatorSpace.java:202: ����: ��Ҫ'{'
   public static class PortalPosition /* failed to load code for net.minecraft.world.Teleporter */
                                     ^
C:\Users\Administrator\MCreatorWorkspaces\spacecraft\src\main\java\net\mcreator\spacecraft\MCreatorSpace.java:269: ����: �Ƿ������Ϳ�ʼ
   }
   ^
C:\Users\Administrator\MCreatorWorkspaces\spacecraft\src\main\java\net\mcreator\spacecraft\MCreatorSpace.java:269: ����: ��Ҫ';'
   }
    ^
C:\Users\Administrator\MCreatorWorkspaces\spacecraft\src\main\java\net\mcreator\spacecraft\MCreatorSpace.java:360: ����: �Ƿ������Ϳ�ʼ
}
^
C:\Users\Administrator\MCreatorWorkspaces\spacecraft\src\main\java\net\mcreator\spacecraft\MCreatorSpace.java:360: ����: ��Ҫ';'
}
 ^
C:\Users\Administrator\MCreatorWorkspaces\spacecraft\src\main\java\net\mcreator\spacecraft\MCreatorSpace.java:362: ����: ����ʱ�ѵ����ļ���β
}
 ^
C:\Users\Administrator\MCreatorWorkspaces\spacecraft\src\main\java\net\mcreator\spacecraft\MCreatorSpace.java:364: ����: ����ʱ�ѵ����ļ���β
8 ������
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.9/userguide/command_line_interface.html#sec:c…
BUILD FAILED in 19s
1 actionable task: 1 executed
BUILD FAILED
Task completed in 22974 milliseconds

 

 

 

I tried to regenerate code,lock/unlock code,but NONE work.

What went wrong?

PS:The code in the zip file is auto generated.

Issue comments