All blocks have "Error: cannot find symbol"

Started by HorizoNHasty nV on

Topic category: Help with MCreator software

Last seen on 06:31, 22. Jul 2022
Joined Apr 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
All blocks have "Error: cannot find symbol"

Every block in my mod has "error: cannot find symbol"

I've tried every single way the app and website told me to, and nothing changes it.

I'm using MCreator 2021.3 EAP (49312)

Last seen on 06:15, 11. Jul 2022
Joined Nov 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
did you edit the codes…
Fri, 12/10/2021 - 10:16

did you edit the codes directly? if you did do so, that means that the ones you added are wrong, this can be one of the alot of things but a few examples are as follows:

this.rightHand
this.RightHand
Then your code is looking for rightHand but you put RightHand, it will cause that error.

Some others are like the code you added are called by something that you didnt declare, declaring it my importing the right minecraft code, you know, sample is:
import net.minecraft.***********

****** = name of the source
something like that, it's really impossible to know what causes your error without knowing what you're trying to do.

Last seen on 06:31, 22. Jul 2022
Joined Apr 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
It didn't give me an error…
Fri, 12/10/2021 - 13:07

It didn't give me an error until I made a tool with a custom .json model. Even when I delete everything to do with the models and export/import, I get the same error.