mcreator gives the error level has private access when it is public

Started by iker garcia araluze on

Topic category: Troubleshooting, bugs, and solutions

Joined Apr 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
mcreator gives the error level has private access when it is public

I don't know if this is the right place for this,For some reason when you add a level in the code mcreator says that it is private when it is public, I have noticed this when editing the code of some mobs that I have created, but from what I have seen when looking for a solution others have had the same problem with other elements that include some level somewhere in the code, I know that the error is not on my part, I checked the imports and the lines of code that I copied from vanilla mobs and I checked if it was really private or not in the file It says that it is private and it says that it is public, so I don't know where the error could be, but it has to be something either in the program or in the forge.

Joined Apr 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Thanks for the help, but in…
Wed, 09/13/2023 - 17:36

Thanks for the help, but in the end I saw that the error was due to the fact that for some reason the vanilla code that I copied was not loaded correctly, that's why it gave errors, because I couldn't copy it correctly, luckily the error was corrected when I returned to load the project, we would have to look at why it gives those problems, note the problem arose after updating the program to change the project from 1.19.4 to 1.20.1