My model erroring in javacompile

Started by nikkk on Mon, 05/18/2020 - 12:59

Topic category: Help with modding (Java Edition)

Last seen on 17:37, 25. Jul 2021
Joined Dec 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
public astronomia { This…
Mon, 05/18/2020 - 15:09
public astronomia { 

This does not seem like proper Java. Did you code this model yourself or mess with the code?

Last seen on 21:18, 4. Aug 2021
Joined Mar 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
I think there isn't supposed…
Mon, 05/18/2020 - 15:39

I think there isn't supposed to be a space here, correct me if I'm wrong:

astronomia {
public class astronomia { …
Mon, 05/18/2020 - 15:44
public class astronomia { 

At least this is wrong. This is 99.9% caused because OP tried to rename model manually.

Last seen on 17:37, 25. Jul 2021
Joined Dec 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
I have used blockbench
Tue, 05/19/2020 - 11:38

I have used blockbench

Last seen on 17:37, 25. Jul 2021
Joined Dec 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
  If I do not rename, then…
Tue, 05/19/2020 - 11:55

 

If I do not rename, then mcreator throws an error "Your model is not valid java name"

ERROR: 

https://drive.google.com/open?id=1e5PkstMjA3M8v3WpoknUjxbGtVPezsef

This is an unchanged model:

https://drive.google.com/open?id=1GFRD6oYWVr2bEJobgYjdPaTt8lUJVgUF

 

Last seen on 21:18, 4. Aug 2021
Joined Mar 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Oh, and to have Blockbench…
Mon, 06/08/2020 - 18:40

Oh, and to have Blockbench automatically name your model, click on “project” and than type your the name and export.

Last seen on 17:37, 25. Jul 2021
Joined Dec 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Thank you all for your help…
Tue, 06/09/2020 - 16:53

Thank you all for your help. The solution was to delete the comments inside the model.