Topic category: Troubleshooting, bugs, and solutions
Hey i really need help with this problem that occured on my latest Mcreator Mod. I created an Structure for my mod and then out of nowhere a completely different Procedure stopped working and had a white symbol: https://imgur.com/a/JFFgizI now Mcreator constantly tells me to regenerate my code, but even if i do i just keeps saying it. I also checked the console, which tells me that "ModMenus does not exist". I even restarted my PC twice, cleared all my gradle caches, backed up the mod and reinstalled the entire program, but the error is still there. Also in my mods folder there is no procedure folder, my elements folder only contains .json files with no text in them and i can't even open my procedures/mod elements except for the Structure i just added.
This is the entire error:
Executing Gradle task: build
Build info: MCreator 2022.3.48217, forge-1.19.2, 64-bit, 16282 MB, Windows 10, JVM 17.0.3, JAVA_HOME: C:\Program Files\Pylo\MCreator\jdk, started on: 2023-02-24-09:53:19
> 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
> Task :compileJava FAILED
C:\Users\Mark\MCreatorWorkspaces\japanese_cultural_swords\src\main\java\net\mcreator\japaneseculturalswords\JapaneseCulturalSwordsMod.java:55: error: package JapaneseCulturalSwordsModMenus does not exist JapaneseCulturalSwordsModMenus.REGISTRY.register(bus);
C:\Users\Mark\MCreatorWorkspaces\japanese_cultural_swords\src\main\java\net\mcreator\japaneseculturalswords\network\FormshiftMessage.java:54: error: cannot find symbol FormshiftOnKeyPressedProcedure.execute();
symbol: variable FormshiftOnKeyPressedProcedure
location: class FormshiftMessage
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':compileJava'.
> Compilation failed; see the compiler error output for details.
> 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 2s
1 actionable task: 1 executed
Task completed in 4 seconds
Idk if that helps but i use Mcreator 2022.3
I would very appreciate any help, thanks in advance!
Seems you have deleted some mod elements that are still referenced by other mod elements
No I also thought that that was the problem but it isn't i never deleted anything from that mod. Could you please somehow help me Klemen? I worked on this mod for a good amount of time and i really don't want to lose it.
I'm having the same issue. I create a procedure and it doesn't create a .java file in my project. It's trying to compile assets it won't create, so it gives me an error. I keep fighting it, but as soon as I click on a different asset, it deletes the procedure again.
Send a minimal reproducible workspace
@Shocking Artist what do you mean by „minimal reproducable“. Should I just send you my workspace?
You can just upload this exact workspace and paste the link here
What should I do now @Klemen? I have posted this one week ago, and even posted my Workspace here but I still didn‘t receive anything yet. I don‘t want to sound rude or urgent, but I really want to work on my workspace and I have still been waiting since I posted this. I don’t know if It takes much time to fix this or whatever, and I don‘t mind as long as I could please get an response…
Seems your workspace got corrupted for some reason. Not sure if this is recoverable.
We will add some changes in 2023.1 that should prevent the workspace from completely locking up when this happens, though.
All element files in your workspace are empty (physically) so maybe some disk corruption happened
Alright, still thanks for trying to help!