Started by
LordGael22
on
Topic category: Troubleshooting, bugs, and solutions
Hello fellow moddevs here I need your help , as Techne is not longer available I've decided to use blockbench as it is recommended on many discussions but ! There is a problem , I was doing the model and when done I've extract it under .java file (the only file mcreator reconize for mobs model) and after doing the mob on mcreator using the model.java the is a run task error , the recompilation fail because of the model . If someone can help me you are welcome !
Also I'm using the last versions of mcreator and blockbench .
Edited by LordGael22 on Wed, 03/06/2019 - 11:00
You will need to show the error and the code of your model so we can help you.
Ok I'll do it .
Here is the model code
Code error :
C:\Pylo\MCreator182\forge\build\sources\main\java\mod\mcreator\mcreator_dz.java:101: error: ';' expected
private final ModelRenderer jambe droite;
^
C:\Pylo\MCreator182\forge\build\sources\main\java\mod\mcreator\mcreator_dz.java:101: error: <identifier> expected
private final ModelRenderer jambe droite;
^
C:\Pylo\MCreator182\forge\build\sources\main\java\mod\mcreator\mcreator_dz.java:102: error: ';' expected
private final ModelRenderer jambe gauche;
^
C:\Pylo\MCreator182\forge\build\sources\main\java\mod\mcreator\mcreator_dz.java:102: error: <identifier> expected
private final ModelRenderer jambe gauche;
^
C:\Pylo\MCreator182\forge\build\sources\main\java\mod\mcreator\mcreator_dz.java:105: error: ';' expected
private final ModelRenderer bras droit;
^
C:\Pylo\MCreator182\forge\build\sources\main\java\mod\mcreator\mcreator_dz.java:105: error: <identifier> expected
private final ModelRenderer bras droit;
^
C:\Pylo\MCreator182\forge\build\sources\main\java\mod\mcreator\mcreator_dz.java:106: error: ';' expected
private final ModelRenderer bras gauche;
^
C:\Pylo\MCreator182\forge\build\sources\main\java\mod\mcreator\mcreator_dz.java:106: error: <identifier> expected
private final ModelRenderer bras gauche;
^
C:\Pylo\MCreator182\forge\build\sources\main\java\mod\mcreator\mcreator_dz.java:112: error: ';' expected
jambe droite.setRotationPoint(0.0F, 24.0F, 0.0F);
^
C:\Pylo\MCreator182\forge\build\sources\main\java\mod\mcreator\mcreator_dz.java:113: error: ';' expected
jambe droite.cubeList.add(new ModelBox(jambe droite, 0, 16, 1.0F, -12.0F, -1.0F, 2, 12, 2, 0.0F, false));
^
C:\Pylo\MCreator182\forge\build\sources\main\java\mod\mcreator\mcreator_dz.java:113: error: ')' expected
jambe droite.cubeList.add(new ModelBox(jambe droite, 0, 16, 1.0F, -12.0F, -1.0F, 2, 12, 2, 0.0F, false));
^
C:\Pylo\MCreator182\forge\build\sources\main\java\mod\mcreator\mcreator_dz.java:113: error: ';' expected
jambe droite.cubeList.add(new ModelBox(jambe droite, 0, 16, 1.0F, -12.0F, -1.0F, 2, 12, 2, 0.0F, false));
^
C:\Pylo\MCreator182\forge\build\sources\main\java\mod\mcreator\mcreator_dz.java:113: error: not a statement
jambe droite.cubeList.add(new ModelBox(jambe droite, 0, 16, 1.0F, -12.0F, -1.0F, 2, 12, 2, 0.0F, false));
^
C:\Pylo\MCreator182\forge\build\sources\main\java\mod\mcreator\mcreator_dz.java:113: error: ';' expected
jambe droite.cubeList.add(new ModelBox(jambe droite, 0, 16, 1.0F, -12.0F, -1.0F, 2, 12, 2, 0.0F, false));
^
C:\Pylo\MCreator182\forge\build\sources\main\java\mod\mcreator\mcreator_dz.java:115: error: ';' expected
jambe gauche.setRotationPoint(0.0F, 24.0F, 0.0F);
^
C:\Pylo\MCreator182\forge\build\sources\main\java\mod\mcreator\mcreator_dz.java:116: error: ';' expected
jambe gauche.cubeList.add(new ModelBox(jambe gauche, 0, 16, -3.0F, -12.0F, -1.0F, 2, 12, 2, 0.0F, false));
^
C:\Pylo\MCreator182\forge\build\sources\main\java\mod\mcreator\mcreator_dz.java:116: error: ')' expected
jambe gauche.cubeList.add(new ModelBox(jambe gauche, 0, 16, -3.0F, -12.0F, -1.0F, 2, 12, 2, 0.0F, false));
^
C:\Pylo\MCreator182\forge\build\sources\main\java\mod\mcreator\mcreator_dz.java:116: error: ';' expected
jambe gauche.cubeList.add(new ModelBox(jambe gauche, 0, 16, -3.0F, -12.0F, -1.0F, 2, 12, 2, 0.0F, false));
^
C:\Pylo\MCreator182\forge\build\sources\main\java\mod\mcreator\mcreator_dz.java:116: error: not a statement
jambe gauche.cubeList.add(new ModelBox(jambe gauche, 0, 16, -3.0F, -12.0F, -1.0F, 2, 12, 2, 0.0F, false));
^
C:\Pylo\MCreator182\forge\build\sources\main\java\mod\mcreator\mcreator_dz.java:116: error: ';' expected
jambe gauche.cubeList.add(new ModelBox(jambe gauche, 0, 16, -3.0F, -12.0F, -1.0F, 2, 12, 2, 0.0F, false));
^
C:\Pylo\MCreator182\forge\build\sources\main\java\mod\mcreator\mcreator_dz.java:124: error: ';' expected
bras droit.setRotationPoint(0.0F, 24.0F, 0.0F);
^
C:\Pylo\MCreator182\forge\build\sources\main\java\mod\mcreator\mcreator_dz.java:125: error: ';' expected
bras droit.cubeList.add(new ModelBox(bras droit, 40, 16, 4.0F, -24.0F, -1.0F, 2, 12, 2, 0.0F, false));
^
C:\Pylo\MCreator182\forge\build\sources\main\java\mod\mcreator\mcreator_dz.java:125: error: ')' expected
bras droit.cubeList.add(new ModelBox(bras droit, 40, 16, 4.0F, -24.0F, -1.0F, 2, 12, 2, 0.0F, false));
^
C:\Pylo\MCreator182\forge\build\sources\main\java\mod\mcreator\mcreator_dz.java:125: error: ';' expected
bras droit.cubeList.add(new ModelBox(bras droit, 40, 16, 4.0F, -24.0F, -1.0F, 2, 12, 2, 0.0F, false));
^
C:\Pylo\MCreator182\forge\build\sources\main\java\mod\mcreator\mcreator_dz.java:125: error: not a statement
bras droit.cubeList.add(new ModelBox(bras droit, 40, 16, 4.0F, -24.0F, -1.0F, 2, 12, 2, 0.0F, false));
^
C:\Pylo\MCreator182\forge\build\sources\main\java\mod\mcreator\mcreator_dz.java:125: error: ';' expected
bras droit.cubeList.add(new ModelBox(bras droit, 40, 16, 4.0F, -24.0F, -1.0F, 2, 12, 2, 0.0F, false));
^
C:\Pylo\MCreator182\forge\build\sources\main\java\mod\mcreator\mcreator_dz.java:127: error: ';' expected
bras gauche.setRotationPoint(0.0F, 24.0F, 0.0F);
^
C:\Pylo\MCreator182\forge\build\sources\main\java\mod\mcreator\mcreator_dz.java:128: error: ';' expected
bras gauche.cubeList.add(new ModelBox(bras gauche, 40, 16, -6.0F, -24.0F, -1.0F, 2, 12, 2, 0.0F, false));
^
C:\Pylo\MCreator182\forge\build\sources\main\java\mod\mcreator\mcreator_dz.java:128: error: ')' expected
bras gauche.cubeList.add(new ModelBox(bras gauche, 40, 16, -6.0F, -24.0F, -1.0F, 2, 12, 2, 0.0F, false));
^
C:\Pylo\MCreator182\forge\build\sources\main\java\mod\mcreator\mcreator_dz.java:128: error: ';' expected
bras gauche.cubeList.add(new ModelBox(bras gauche, 40, 16, -6.0F, -24.0F, -1.0F, 2, 12, 2, 0.0F, false));
^
C:\Pylo\MCreator182\forge\build\sources\main\java\mod\mcreator\mcreator_dz.java:128: error: not a statement
bras gauche.cubeList.add(new ModelBox(bras gauche, 40, 16, -6.0F, -24.0F, -1.0F, 2, 12, 2, 0.0F, false));
^
C:\Pylo\MCreator182\forge\build\sources\main\java\mod\mcreator\mcreator_dz.java:128: error: ';' expected
bras gauche.cubeList.add(new ModelBox(bras gauche, 40, 16, -6.0F, -24.0F, -1.0F, 2, 12, 2, 0.0F, false));
^
C:\Pylo\MCreator182\forge\build\sources\main\java\mod\mcreator\mcreator_dz.java:135: error: ';' expected
jambe droite.render(f5);
^
C:\Pylo\MCreator182\forge\build\sources\main\java\mod\mcreator\mcreator_dz.java:136: error: ';' expected
jambe gauche.render(f5);
^
C:\Pylo\MCreator182\forge\build\sources\main\java\mod\mcreator\mcreator_dz.java:139: error: ';' expected
bras droit.render(f5);
^
C:\Pylo\MCreator182\forge\build\sources\main\java\mod\mcreator\mcreator_dz.java:140: error: ';' expected
bras gauche.render(f5);
^
36 errors
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
BUILD FAILED in 27s
The issue is that you use spaces in your model parts names. You can only use Java valid name characters.
Ah ok , thanks I will try it , gtg for now , I'll say later today if it work . Thanks you very much for the help .
No problem :D
Finnaly I've done it quickly and it is working fine now ! Thanks you again !
I have a similar problem but I have no space and it doesn't chew