Topic category: Troubleshooting, bugs, and solutions
Executing Gradle task: build
Build info: MCreator 2023.1.10610, forge-1.19.2, 64-bit, 3858 MB, Windows 11, JVM 17.0.5, JAVA_HOME: C:\Program Files\Pylo\MCreator\jdk, started on: 2023-04-18-18:31:28
> 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\Ryan\MCreatorWorkspaces\wonderlandmod\src\main\java\net\mcreator\wonderlandmod\world\teleporter\HellDimensionWorldPortalShape.java:4: error: reached end of file while parsing public class HellDimensionWorldPortalShape /* 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 5s
1 actionable task: 1 executed
BUILD FAILED
Task completed in 38 seconds
How can i resolve this problem ?
I already try to clean all the gradle file but nothing to do
I already try to reload and regenerate the gradle project.
Sorry if i make mistakes, i'm not very good in English :/
I give the code from the error
The solution to this problem and many other problems can be found in our knowledge base: https://mcreator.net/support/knowledgebase Please check the knowledge base before opening a new topic on the issue which has a known fix.
I've already looked more than once but I haven't found any solution, I've already deleted the cache file, I've tried to reload gradle project and regenerate code and build, I've already tried to uninstall and reinstall Mcreator...
So I don't really know what to do to solve the problem :(
Did you follow instructions regarding when to reboot computer in-between the steps?
I just tried but it doesn't work either
It doesn't matter, I found another solution, a bit more complex, but functional
For those who want to know how to do it, I put you my tuto below !
https://mcreator.net/forum/96482/tuto-20231-how-create-clickable-block-…