Custom model not working (cannot find symbol)

Started by PlayandTuto on

Topic category: Troubleshooting, bugs, and solutions

Joined Jul 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Custom model not working (cannot find symbol)

I used blockbench to make a custom model, but when I create a mob and give him a custom model, it does not work and it crashes

Executing Gradle task: build
Build info: MCreator 2022.1.20510, forge-1.16.5, 64-bit, 16290 MB, Windows 10, JVM 17.0.1, JAVA_HOME: C:\Program Files\Pylo\MCreator\jdk, started on: 2022-07-08-21:32:38

> Task :compileJava FAILED
C:\Users\User\MCreatorWorkspaces\lands\src\main\java\net\mcreator\lands\entity\renderer\EyeRenderer.java:74: error: cannot find symbol public void setupAnim(T entity, float limbSwing, float limbSwingAmount, float ageInTicks, float netHeadYaw, float headPitch) {
^
symbol: class T
location: class net.mcreator.lands.entity.renderer.EyeRenderer.Modeleye
C:\Users\User\MCreatorWorkspaces\lands\src\main\java\net\mcreator\lands\entity\renderer\EyeRenderer.java:42: error: net.mcreator.lands.entity.renderer.EyeRenderer.Modeleye is not abstract and does not override abstract method setRotationAngles(net.minecraft.entity.Entity,float,float,float,float,float) in net.minecraft.client.renderer.entity.model.EntityModel public static class Modeleye extends EntityModel<Entity> {

this is not the entire log because site regulations do not allow me

How do I do it, mod for 1.16 and changed the model for the mc version.

The solution to this problem…
Wed, 08/10/2022 - 16:32

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.

Joined Aug 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Did the delete gradle folder…
Thu, 09/08/2022 - 19:59

Did the delete gradle folder thing, didn't work.

Joined Jul 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Hi @Klemen, i'm sorry to…
Wed, 07/03/2024 - 14:23

Hi @Klemen, i'm sorry to bring back this subject nearly 2 years later but i'm afraid i have the exact same problem than @Dartrix. 

I did follow a lot of advices to fix this issue, on this forum and others. I've also checked the documentation and ensured my versions are supported (Forge version). I've red the article that i think you are talking about in your answer (https://mcreator.net/wiki/common-blockbench-issues-mcreator) but the solution didn't work either. 
 

I've tried latest forge / mcreator version, aswell as some previous versions but the exact same error occurs every time.


I'm kinda lost right know, is there any other information that i could give you to better identify the reason this happens?