Started by
NCubs
on
Topic category: Help with MCreator software
Hello, my dimension that i wanted to make, doesn't work at all. The .java file i checked is completely empty, and i don't know why. Does anyone know why?
The dimension java file:
package net.mcreator.ncubsmischief.world.teleporter;
public class TheNylanPortalShape /* failed to load code for net.minecraft.world.level.portal.PortalShape */
...and the console:
Executing Gradle task: build
Build info: MCreator 2021.3.53117, forge-1.17.1, 64-bit, 4001 MB, Windows 10, JVM 16.0.2, JAVA_HOME: C:\Program Files\Pylo\MCreator\jdk
> Configure project :
The code of this workspace uses official obfuscation mappings provided by Mojang. These mappings fall under their associated license you should be fully aware of.
(c) 2020 Microsoft Corporation. These mappings are provided "as-is" and you bear the risk of using them. You may copy and use the mappings for development purposes,
but you may not redistribute the mappings complete and unmodified. Microsoft makes no warranties, express or implied, with respect to the mappings provided here.
Use and modification of this document or the source code (in any form) of Minecraft: Java Edition is governed by the Minecraft End User License Agreement available
at https://account.mojang.com/documents/minecraft_eula.
> Task :compileJava FAILED
C:\Users\Admin\MCreatorWorkspaces\ncubs_mischief\src\main\java\net\mcreator\ncubsmischief\world\teleporter\TheNylanPortalShape.java:4: error: reached end of file while parsing
public class TheNylanPortalShape /* failed to load code for net.minecraft.world.level.portal.PortalShape */
^
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 4s
1 actionable task: 1 executed
BUILD FAILED
Task completed in 6 seconds
Edited by NCubs on Tue, 01/18/2022 - 07:01
I'm having the same problem
Same here, but with the latest snapshot (2022.1) while trying to port one of my mods to 1.18. I don't understand why this is happening.
i have the same problme but with 2022.2
same, with 2022.3
Same problem with 2023.1
so how are we going to fix this?
bump. any solution?