Topic category: Troubleshooting, bugs, and solutions
When i make a new command in my project and try to run minecraft it gives me this error:
One or more of your main mod files did not compile properly.
This is usually caused by inconsistencies in the mod code during builds. MCreator may be able to solve this for you by regenerating entire mods code.
If you have locked mod elements or mod base files, they can cause this error too.
Click Regenerate code button to proceed with this action
I tryed regenerating the code multiple times and it always showed the same error massage. No mod element is locked and im pretty sure, that the custom command i tryed to add is causing the error, since the error first apeart when i added the command. After removing the command, the error massage still shows up and i cant launch minecraft.
Does anybody know what is causing the error and how i can fix it?