Topic category: Help with modding (Java Edition)
I'm trying to make a demon boss. I made a skin, and a model, but I keep getting this error:
>C:\Pylo\MCreator154\forge\build\sources\java\mod\mcreator\mcreator_demonsHead.java:110: error: cannot find symbol
> RenderingRegistry.registerEntityRenderingHandler(mcreator_demonsHead.EntitydemonsHead.class, new RenderLiving(new mcreator_demonsHead.ModelDemon(), 0){protected ResourceLocation getEntityTexture(Entity par1Entity){return new ResourceLocation("Skin.png");}
> ^
> symbol: class ModelDemon
> location: class mcreator_demonsHead
>1 error
>:compileJava FAILED
>FAILURE: Build failed with an exception.
>* What went wrong:
>BUILD FAILED
>Execution failed for task ':>> Compilation>Total time: 29.214 secs
failed; see the compiler error output fo>* Try:
r details.
compileJava'.
>Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
>C:\Pylo\MCreator154\forge>
>Task completed with return code 0 in 29740 milliseconds
Can anyone help?
Thanks :)
cant help but i have the same error
>BOOTING UP GRADLE...
>Data loaded, MCreator gradle console ready [ver 1.007]! [boot took 0 milliseconds]
>RIGHT click once to copy log to the clipboard or twice to clear the log.
>===================================================================================================================
>Executing gradle command: build
>Microsoft Windows [Version 6.1.7601]
>Copyright (c) 2009 Microsoft Corporation. All rights reserved.
>C:\Users\jayjay\Desktop>cd forge
>C:\Users\jayjay\Desktop\forge>SET "JAVA_HOME=C:\Users\jayjay\Desktop\jdk\"
>C:\Users\jayjay\Desktop\forge>SET JAVA_EXE=%JAVA_HOME%\bin\java.exe
>C:\Users\jayjay\Desktop\forge>SET PATH=%JAVA_HOME%\bin\;%PATH%
>C:\Users\jayjay\Desktop\forge>gradlew build
>****************************
> Powered By MCP:
> http://mcp.ocean-labs.de/
> Searge, ProfMobius, Fesh0r,
> R4wk, ZeuX, IngisKahn, bspkrs
> MCP Data version : unknown
>****************************
>:compileApiJava UP-TO-DATE
>:processApiResources UP-TO-DATE
>:apiClasses UP-TO-DATE
>:sourceMainJava
>C:\Users\jayjay\Desktop\forge\build\sources\java\mod\mcreator\ModName.java:109: error: cannot find symbol
>mcreator_wonderFulForestDimension mcreator_1 = new mcreator_wonderFulForestDimension();
>^
> symbol: class mcreator_wonderFulForestDimension
> location: class ModName
>C:\Users\jayjay\Desktop\forge\build\sources\java\mod\mcreator\ModName.java:110: error: cannot find symbol
>mcreator_tropicalPinaple mcreator_2 = new mcreator_tropicalPinaple();
>^
> symbol: class mcreator_tropicalPinaple
> location: class ModName
>C:\Users\jayjay\Desktop\forge\build\sources\java\mod\mcreator\ModName.java:111: error: cannot find symbol
>mcreator_log mcreator_3 = new mcreator_log();
>^
> symbol: class mcreator_log
> location: class ModName
>C:\Users\jayjay\Desktop\forge\build\sources\java\mod\mcreator\ModName.java:112: error: cannot find symbol
>mcreator_tropical mcreator_4 = new mcreator_tropical();
>^
> symbol: class mcreator_tropical
> location: class ModName
>C:\Users\jayjay\Desktop\forge\build\sources\java\mod\mcreator\ModName.java:109: error: cannot find symbol
>mcreator_wonderFulForestDimension mcreator_1 = new mcreator_wonderFulForestDimension();
> ^
> symbol: class mcreator_wonderFulForestDimension
> location: class ModName
>C:\Users\jayjay\Desktop\forge\build\sources\java\mod\mcreator\ModName.java:110: error: cannot find symbol
>mcreator_tropicalPinaple mcreator_2 = new mcreator_tropicalPinaple();
> ^
> symbol: class mcreator_tropicalPinaple
> location: class ModName
>C:\Users\jayjay\Desktop\forge\build\sources\java\mod\mcreator\ModName.java:111: error: cannot find symbol
>mcreator_log mcreator_3 = new mcreator_log();
> ^
> symbol: class mcreator_log
> location: class ModName
>C:\Users\jayjay\Desktop\forge\build\sources\java\mod\mcreator\ModName.java:112: error: cannot find symbol
>mcreator_tropical mcreator_4 = new mcreator_tropical();
> ^
> symbol: class mcreator_tropical
> location: class ModName
>8 errors
>:compileJava FAILED
>FAILURE: Build failed with an exception.
>* What went wrong:
>Execution failed for task ':compileJava'.
>BUILD FAILED
>> 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.
>Total time: 7.785 secs
>C:\Users\jayjay\Desktop\forge>
>Task completed with return code 0 in 8377 milliseconds
i have to reinstall this mod maker over again ive already done it about 5 times.
*about 1 hour later*
nope 6 times
Make sure the name for the custom model is 100% same as in Techne.That fixed it for me.
I made a mod and when I compile it there is no problem but when I change of workspace MCretor can't find a symbol and there are many errors. I don't use Techne. How can I fix that ?
PS: I'm French so my English can be difficult to understand
I find how to fix the problem !
Go in the MCreator file and search the folder : forge\buil\sources\java\mod\mcreator\
If the symbol isn't here, reload the workspace with the symbol copy it and paste it in the workspace wich tell that there is a problem.
@#5 What?
@#5 What?
@#5 What is a symbol?
the only way ive found to fix the problem is to delete all the problem elements manualy and remake them, this fixes it and its not too hard to redo them beccause you already had everything done, you just need to copy it
What does this error mean?
The "Cannot find symbol" errors generally occur when you try to reference an undeclared variable in your code. A "Cannot find symbol" error means that the compiler cannot do this. Your code appears to be referring to something that the compiler doesn't understand.
What things can cause this error?
The general causes for a Cannot find symbol error are things like:
Incorrect spelling.
Wrong case. Halo is different from halo.
Improper use of acceptable identifier values (letters, numbers, underscore, dollar sign), my-class is not the same as myclass.
No variable declaration or variable is outside of the scope you are referencing it in.
More about...cannot find symbol Error
Clint
I dont understand what is happening with my mob. None of those solutions helped. Here is the console
C:\Users\%&#@\MCreatorWorkspaces\many_mobs_mod\src\main\java\net\mcreator\many_mobs_mod\MCreatorForum.java:154: error: cannot find symbol
public static class ModelLibModelFourm extends LibModelBase {
^
symbol: class LibModelBase
location: class MCreatorForum
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
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 3s
1 actionable task: 1 executed
BUILD FAILED
In case if it matters the mob is named Forum and It was made in Techne.Pls help if you can
I've had this problem for over a year, and after enough time not being able to do anything about it no matter what, I just know that there's no way to fix it. And there never will be. Just let me freaking do stuff, MCreator