How to get Tabula models to work in MCreator (For Minecraft versions 1.8 and above)

Started by Vegetto on

Topic category: User side tutorials

Last seen on 22:44, 19. May 2021
Joined Jan 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to get Tabula models to work in MCreator (For Minecraft versions 1.8 and above)
Wed, 01/31/2018 - 17:46 (edited)

So today i thought i would make this little tutorial on how to use models imported from Tabula in MCreator. Now unfortunately, this won't work for Minecraft 1.7.10. It can only work for 1.8 and above. (Well, the models work, but i can't find any way of animating the models in 1.7.10 since the codes i tried didn't work. But they work in 1.8 and above)

So first off, you are going to want to open Tabula. When you install it, click on the T to open it.

 

Next, you are gonig to want to start or select your model. Note that this is not a tutorial on parenting the model nor modelling itself. What you do to start making the model, click the blank page with the green plus in the top left corner.

 

Once you have your model done, I am using the Bamster model from my World Trigger mod as an example, you are going to want to make sure you have it completed. Also decide whether or not you are going to scale the model or not.

 

Then you click on the blank page with the red arrow. To get a file to use to texture your model, select texturemap. Not project texture. To export, click Java class.

 

Next what you will want to do is you will have to make sure the name of your model is spelt correctly. Make sure that it matches the name of the class but has "Model" infront of it. For example, i will have named the class for the Bamster "Bamster" in MCreator. If I import the model just being called "Bamster", you will get errors. So when exporting it, make it like "ModelBamster". No spaces between "Model" and the name of your mob. Also make sure the M is capitalized. In the package for class section, make sure you put net.minecraft.src. Do not put anything else there besides that otherwise you will get errors.

 

Lastly, I am unsure how to take screenshots of notepad ++, so you are going to have to read carefully. If you scaled your model, open up the export and remove all imports. They are not necessary. The imports you should remove look like this:

"import net.minecraft.client.model.ModelBase;
import net.minecraft.client.model.ModelRenderer;
import net.minecraft.entity.Entity;
import net.minecraft.client.renderer.GlStateManager;
import org.lwjgl.opengl.GL11;"

 

After that, you will want to go into MCreator and create a mob class. Like said before, put in the exact name for your model. (minus the model part). And do everything else like you normally would.

 

If you want to have animations to work, i am afraid i can only help with the simple walking animation. MCreator does not recognize Tabula models for it's animation segment, but taking the code from a model that was previously animated in MCreator, that will just work fine. 

Look for the code that looks like this: 

"   public void setRotateAngle(ModelRenderer modelRenderer, float x, float y, float z) {
        modelRenderer.rotateAngleX = x;
        modelRenderer.rotateAngleY = y;
        modelRenderer.rotateAngleZ = z;
    }
}

"

It should be all the way at the bottom. Simply replace it with the following code:

"

public void setRotationAngles(float f, float f1, float f2, float f3, float f4, float f5, Entity entity)
{
super.setRotationAngles(f, f1, f2, f3, f4, f5, entity);
this.HEAD.rotateAngleY = f3 / (180F / (float)Math.PI);
this.HEAD.rotateAngleX = f4 / (180F / (float)Math.PI);
this.LEFTARM.rotateAngleX = MathHelper.cos(f * 1.0F) * -1.0F * f1;
this.RIGHTARM.rotateAngleX = MathHelper.cos(f * 1.0F) * 1.0F * f1;
this.LEFTLEG.rotateAngleX = MathHelper.cos(f * 0.6662F + (float)Math.PI) * 2.0F * f1 * 0.5F;
this.RIGHTLEG.rotateAngleX = MathHelper.cos(f * 0.6662F) * 2.0F * f1 * 0.5F;
}

}

"

Then replace the capitalized portions with the corresponding piece in your model. For example, if the piece you want animated is titled "Shape55" replace the corresponding part with "Shape55". Also yes, there has to be two parts for the head area.

 

Anyways, that concludes the little tutorial. Hope you can find it useful.

Edited by Klemen on Wed, 01/31/2018 - 17:46
Last seen on 17:33, 20. Apr 2020
Joined Dec 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Hello, can you tell me if it…
Mon, 02/25/2019 - 01:57

Hello, can you tell me if it is okay? 

{
super.setRotationAngles(f, f1, f2, f3, f4, f5, entity);
this.HEAD.rotateAngleY = field_78116_c / (180F / (float)Math.PI);
this.HEAD.rotateAngleX = field_78116_c / (180F / (float)Math.PI);
this.LEFTARM.rotateAngleX = MathHelper.cos(f * 1.0F) * -1.0F * field_178724_i;
this.RIGHTARM.rotateAngleX = MathHelper.cos(f * 1.0F) * 1.0F * field_178723_h;
this.LEFTLEG.rotateAngleX = MathHelper.cos(f * 0.6662F + (float)Math.PI) * 2.0F * field_178722_k_1 * 0.5F;
this.RIGHTLEG.rotateAngleX = MathHelper.cos(f * 0.6662F) * 2.0F * field_178722_k_2 * 0.5F;
}

}
 

 

Last seen on 08:50, 22. Apr 2023
Joined Mar 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Thank you! This is amazing!…
Wed, 02/27/2019 - 02:24

Thank you! This is amazing! Btw is there a possible way to add animations for when this model attacks? Thanks!

Last seen on 22:11, 3. Dec 2020
Joined Oct 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
i did the tutorial exactly…
Sun, 03/24/2019 - 18:40

i did the tutorial exactly but it always just reverts back to its placeholder steve model

Last seen on 14:25, 28. Jul 2023
Joined Oct 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How you mean that with…
Mon, 03/25/2019 - 13:16

How you mean that with techne. It will not be suported? or will be more supported? And also. Someone said there mcanimator would be great to have compatibility.

Last seen on 18:12, 2. Aug 2019
Joined Aug 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
hey i think in am a bit late…
Fri, 08/02/2019 - 16:09

hey i think in am a bit late but i tried your method but still dont work can you plss point out the problem

here the console

 

C:\Pylo\MCreator178\forge\build\sources\main\java\mod\mcreator\mcreator_pumbaaa.java:259: error: cannot find symbol
this.setRotateAngle(cone_4, 0.5667084081225587F, 0.0F, 0.0F);
    ^
  symbol: method setRotateAngle(ModelRenderer,float,float,float)
C:\Pylo\MCreator178\forge\build\sources\main\java\mod\mcreator\mcreator_pumbaaa.java:263: error: cannot find symbol
this.setRotateAngle(ears_1, 0.1780235837034216F, 0.6981317007977318F, -1.5707963267948966F);
    ^
  symbol: method setRotateAngle(ModelRenderer,float,float,float)
C:\Pylo\MCreator178\forge\build\sources\main\java\mod\mcreator\mcreator_pumbaaa.java:267: error: cannot find symbol
this.setRotateAngle(Legs3, 0.2792526803190927F, 0.0F, 0.0F);
    ^
  symbol: method setRotateAngle(ModelRenderer,float,float,float)
C:\Pylo\MCreator178\forge\build\sources\main\java\mod\mcreator\mcreator_pumbaaa.java:271: error: cannot find symbol
this.setRotateAngle(cone_1, 0.5667084081225587F, 0.0F, 0.0F);
    ^
  symbol: method setRotateAngle(ModelRenderer,float,float,float)
C:\Pylo\MCreator178\forge\build\sources\main\java\mod\mcreator\mcreator_pumbaaa.java:275: error: cannot find symbol
this.setRotateAngle(horn_2, 0.008726646259971648F, 0.0F, 0.3543018381548489F);
    ^
  symbol: method setRotateAngle(ModelRenderer,float,float,float)
C:\Pylo\MCreator178\forge\build\sources\main\java\mod\mcreator\mcreator_pumbaaa.java:279: error: cannot find symbol
this.setRotateAngle(calf_1, -0.45378560551852565F, 0.0F, 0.0F);
    ^
  symbol: method setRotateAngle(ModelRenderer,float,float,float)
C:\Pylo\MCreator178\forge\build\sources\main\java\mod\mcreator\mcreator_pumbaaa.java:283: error: cannot find symbol
this.setRotateAngle(tail_top, 1.3203415791337103F, 0.0F, 0.0F);
    ^
  symbol: method setRotateAngle(ModelRenderer,float,float,float)
C:\Pylo\MCreator178\forge\build\sources\main\java\mod\mcreator\mcreator_pumbaaa.java:287: error: cannot find symbol
this.setRotateAngle(cone_5, 1.3089969389957472F, 0.0F, 0.0F);
    ^
  symbol: method setRotateAngle(ModelRenderer,float,float,float)
C:\Pylo\MCreator178\forge\build\sources\main\java\mod\mcreator\mcreator_pumbaaa.java:291: error: cannot find symbol
this.setRotateAngle(cone_2, 0.5667084081225587F, 0.0F, 0.0F);
    ^
  symbol: method setRotateAngle(ModelRenderer,float,float,float)
C:\Pylo\MCreator178\forge\build\sources\main\java\mod\mcreator\mcreator_pumbaaa.java:298: error: cannot find symbol
this.setRotateAngle(feet_1, 0.3490658503988659F, 0.0F, 0.0F);
    ^
  symbol: method setRotateAngle(ModelRenderer,float,float,float)
C:\Pylo\MCreator178\forge\build\sources\main\java\mod\mcreator\mcreator_pumbaaa.java:302: error: cannot find symbol
this.setRotateAngle(upper_mouth, 0.8726646259971648F, 0.0F, 0.0F);
    ^
  symbol: method setRotateAngle(ModelRenderer,float,float,float)
C:\Pylo\MCreator178\forge\build\sources\main\java\mod\mcreator\mcreator_pumbaaa.java:306: error: cannot find symbol
this.setRotateAngle(tail_2, 0.31869712141416456F, 0.0F, 0.0F);
    ^
  symbol: method setRotateAngle(ModelRenderer,float,float,float)
C:\Pylo\MCreator178\forge\build\sources\main\java\mod\mcreator\mcreator_pumbaaa.java:310: error: cannot find symbol
this.setRotateAngle(fangs_1, 0.0F, 0.0F, -0.06806784082777885F);
    ^
  symbol: method setRotateAngle(ModelRenderer,float,float,float)
C:\Pylo\MCreator178\forge\build\sources\main\java\mod\mcreator\mcreator_pumbaaa.java:314: error: cannot find symbol
this.setRotateAngle(feet_3, 0.06981317007977318F, 0.0F, 0.0F);
    ^
  symbol: method setRotateAngle(ModelRenderer,float,float,float)
C:\Pylo\MCreator178\forge\build\sources\main\java\mod\mcreator\mcreator_pumbaaa.java:318: error: cannot find symbol
this.setRotateAngle(hair_1, 0.6640977803838424F, -0.26529004630313807F, 0.20245819323134223F);
    ^
  symbol: method setRotateAngle(ModelRenderer,float,float,float)
C:\Pylo\MCreator178\forge\build\sources\main\java\mod\mcreator\mcreator_pumbaaa.java:322: error: cannot find symbol
this.setRotateAngle(hair_2, 1.1838568316277536F, 0.3078760800517997F, 0.091106186954104F);
    ^
  symbol: method setRotateAngle(ModelRenderer,float,float,float)
C:\Pylo\MCreator178\forge\build\sources\main\java\mod\mcreator\mcreator_pumbaaa.java:326: error: cannot find symbol
this.setRotateAngle(Legs1, 0.2617993877991494F, 0.0F, 0.0F);
    ^
  symbol: method setRotateAngle(ModelRenderer,float,float,float)
C:\Pylo\MCreator178\forge\build\sources\main\java\mod\mcreator\mcreator_pumbaaa.java:330: error: cannot find symbol
this.setRotateAngle(Legs4, 0.2792526803190927F, 0.0F, 0.0F);
    ^
  symbol: method setRotateAngle(ModelRenderer,float,float,float)
C:\Pylo\MCreator178\forge\build\sources\main\java\mod\mcreator\mcreator_pumbaaa.java:334: error: cannot find symbol
this.setRotateAngle(lower_mouth, 0.6829473363053812F, 0.0F, 0.0F);
    ^
  symbol: method setRotateAngle(ModelRenderer,float,float,float)
C:\Pylo\MCreator178\forge\build\sources\main\java\mod\mcreator\mcreator_pumbaaa.java:341: error: cannot find symbol
this.setRotateAngle(tail_1, -0.36425021489121656F, 0.0F, 0.0F);
    ^
  symbol: method setRotateAngle(ModelRenderer,float,float,float)
C:\Pylo\MCreator178\forge\build\sources\main\java\mod\mcreator\mcreator_pumbaaa.java:345: error: cannot find symbol
this.setRotateAngle(fangs_2, 0.0F, 0.0F, 0.08726646259971647F);
    ^
  symbol: method setRotateAngle(ModelRenderer,float,float,float)
C:\Pylo\MCreator178\forge\build\sources\main\java\mod\mcreator\mcreator_pumbaaa.java:349: error: cannot find symbol
this.setRotateAngle(horn_1, 0.019198621771937624F, 0.0F, -0.31066860685499065F);
    ^
  symbol: method setRotateAngle(ModelRenderer,float,float,float)
C:\Pylo\MCreator178\forge\build\sources\main\java\mod\mcreator\mcreator_pumbaaa.java:353: error: cannot find symbol
this.setRotateAngle(feet_2, 0.3490658503988659F, 0.0F, 0.0F);
    ^
  symbol: method setRotateAngle(ModelRenderer,float,float,float)
C:\Pylo\MCreator178\forge\build\sources\main\java\mod\mcreator\mcreator_pumbaaa.java:357: error: cannot find symbol
this.setRotateAngle(hair_3, 0.5585053606381855F, 0.0F, 0.0F);
    ^
  symbol: method setRotateAngle(ModelRenderer,float,float,float)
C:\Pylo\MCreator178\forge\build\sources\main\java\mod\mcreator\mcreator_pumbaaa.java:361: error: cannot find symbol
this.setRotateAngle(calf_4, -0.296705972839036F, 0.0F, 0.0F);
    ^
  symbol: method setRotateAngle(ModelRenderer,float,float,float)
C:\Pylo\MCreator178\forge\build\sources\main\java\mod\mcreator\mcreator_pumbaaa.java:365: error: cannot find symbol
this.setRotateAngle(horn_3_1, 0.008726646259971648F, 0.0F, 0.6981317007977318F);
    ^
  symbol: method setRotateAngle(ModelRenderer,float,float,float)
C:\Pylo\MCreator178\forge\build\sources\main\java\mod\mcreator\mcreator_pumbaaa.java:369: error: cannot find symbol
this.setRotateAngle(ears_2, 0.6981317007977318F, 0.08726646259971647F, 0.10122909661567112F);
    ^
  symbol: method setRotateAngle(ModelRenderer,float,float,float)
C:\Pylo\MCreator178\forge\build\sources\main\java\mod\mcreator\mcreator_pumbaaa.java:373: error: cannot find symbol
this.setRotateAngle(calf_3, -0.296705972839036F, 0.0F, 0.0F);
    ^
  symbol: method setRotateAngle(ModelRenderer,float,float,float)
C:\Pylo\MCreator178\forge\build\sources\main\java\mod\mcreator\mcreator_pumbaaa.java:377: error: cannot find symbol
this.setRotateAngle(nose, -0.06981317007977318F, 0.0F, 0.0F);
    ^
  symbol: method setRotateAngle(ModelRenderer,float,float,float)
C:\Pylo\MCreator178\forge\build\sources\main\java\mod\mcreator\mcreator_pumbaaa.java:381: error: cannot find symbol
this.setRotateAngle(horn_3, 0.019198621771937624F, 0.0F, -0.6981317007977318F);
    ^
  symbol: method setRotateAngle(ModelRenderer,float,float,float)
C:\Pylo\MCreator178\forge\build\sources\main\java\mod\mcreator\mcreator_pumbaaa.java:385: error: cannot find symbol
this.setRotateAngle(calf_2, -0.45378560551852565F, 0.0F, 0.0F);
    ^
  symbol: method setRotateAngle(ModelRenderer,float,float,float)
C:\Pylo\MCreator178\forge\build\sources\main\java\mod\mcreator\mcreator_pumbaaa.java:389: error: cannot find symbol
this.setRotateAngle(moecut, -0.2436479635784084F, 0.0F, 0.0F);
    ^
  symbol: method setRotateAngle(ModelRenderer,float,float,float)
C:\Pylo\MCreator178\forge\build\sources\main\java\mod\mcreator\mcreator_pumbaaa.java:393: error: cannot find symbol
this.setRotateAngle(Head, -0.3490658503988659F, 0.0F, 0.0F);
    ^
  symbol: method setRotateAngle(ModelRenderer,float,float,float)
C:\Pylo\MCreator178\forge\build\sources\main\java\mod\mcreator\mcreator_pumbaaa.java:397: error: cannot find symbol
this.setRotateAngle(Legs2, 0.2617993877991494F, 0.0F, 0.0F);
    ^
  symbol: method setRotateAngle(ModelRenderer,float,float,float)
C:\Pylo\MCreator178\forge\build\sources\main\java\mod\mcreator\mcreator_pumbaaa.java:401: error: cannot find symbol
this.setRotateAngle(feet_4, 0.06981317007977318F, 0.0F, 0.0F);
    ^
  symbol: method setRotateAngle(ModelRenderer,float,float,float)
C:\Pylo\MCreator178\forge\build\sources\main\java\mod\mcreator\mcreator_pumbaaa.java:405: error: cannot find symbol
this.setRotateAngle(cone_3, 0.5667084081225587F, 0.0F, 0.0F);
    ^
  symbol: method setRotateAngle(ModelRenderer,float,float,float)
36 errors
:compileJava FAILED
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.
BUILD FAILED
Total time: 1 mins 33.383 secs
C:\Pylo\MCreator178\forge>
Task completed with return code 0 in 96688 milliseconds

          and here is the code

 

package net.Minecraft.src;

/**
 * pumbaa - rayshad
 * Created using Tabula 7.0.1
 */
public class ModelPumbaaa extends ModelBase {
    public ModelRenderer body;
    public ModelRenderer Head;
    public ModelRenderer Legs1;
    public ModelRenderer Legs2;
    public ModelRenderer Legs3;
    public ModelRenderer Legs4;
    public ModelRenderer moecut;
    public ModelRenderer tail_1;
    public ModelRenderer tail_2;
    public ModelRenderer tail_top;
    public ModelRenderer upper_mouth;
    public ModelRenderer lower_mouth;
    public ModelRenderer ears_1;
    public ModelRenderer ears_2;
    public ModelRenderer cone_1;
    public ModelRenderer cone_2;
    public ModelRenderer cone_3;
    public ModelRenderer cone_4;
    public ModelRenderer cone_5;
    public ModelRenderer hair_1;
    public ModelRenderer hair_2;
    public ModelRenderer hair_3;
    public ModelRenderer nose;
    public ModelRenderer fangs_1;
    public ModelRenderer fangs_2;
    public ModelRenderer horn_1;
    public ModelRenderer horn_2;
    public ModelRenderer horn_3;
    public ModelRenderer horn_3_1;
    public ModelRenderer teeth_1;
    public ModelRenderer calf_1;
    public ModelRenderer feet_1;
    public ModelRenderer calf_2;
    public ModelRenderer feet_2;
    public ModelRenderer calf_3;
    public ModelRenderer feet_3;
    public ModelRenderer calf_4;
    public ModelRenderer feet_4;

    public ModelPumbaaa() {
        this.textureWidth = 160;
        this.textureHeight = 110;
        this.cone_4 = new ModelRenderer(this, 1, 9);
        this.cone_4.setRotationPoint(-7.9F, 0.5F, -4.7F);
        this.cone_4.addBox(0.0F, 0.0F, 0.0F, 2, 2, 2, 0.0F);
        this.setRotateAngle(cone_4, 0.5667084081225587F, 0.0F, 0.0F);
        this.ears_1 = new ModelRenderer(this, 59, 5);
        this.ears_1.setRotationPoint(3.2F, -4.0F, -6.2F);
        this.ears_1.addBox(-1.7F, -0.4F, -0.4F, 3, 3, 1, 0.0F);
        this.setRotateAngle(ears_1, 0.1780235837034216F, 0.6981317007977318F, -1.5707963267948966F);
        this.Legs3 = new ModelRenderer(this, 109, 35);
        this.Legs3.setRotationPoint(1.0F, 13.0F, -8.5F);
        this.Legs3.addBox(0.0F, -1.5F, -2.5F, 4, 6, 5, 0.0F);
        this.setRotateAngle(Legs3, 0.2792526803190927F, 0.0F, 0.0F);
        this.cone_1 = new ModelRenderer(this, 43, 8);
        this.cone_1.setRotationPoint(3.0F, -0.3F, -4.9F);
        this.cone_1.addBox(0.0F, 0.0F, 0.0F, 3, 3, 3, 0.0F);
        this.setRotateAngle(cone_1, 0.5667084081225587F, 0.0F, 0.0F);
        this.horn_2 = new ModelRenderer(this, 0, 38);
        this.horn_2.setRotationPoint(-1.0F, 2.0F, -3.3F);
        this.horn_2.addBox(-3.3F, -1.0F, -1.0F, 3, 2, 2, 0.0F);
        this.setRotateAngle(horn_2, 0.008726646259971648F, 0.0F, 0.3543018381548489F);
        this.calf_1 = new ModelRenderer(this, 71, 8);
        this.calf_1.setRotationPoint(1.8F, 2.6F, -0.8F);
        this.calf_1.addBox(-1.3F, 0.4F, 0.1F, 3, 5, 3, 0.0F);
        this.setRotateAngle(calf_1, -0.45378560551852565F, 0.0F, 0.0F);
        this.tail_top = new ModelRenderer(this, 31, 67);
        this.tail_top.setRotationPoint(-0.1F, -2.0F, 21.4F);
        this.tail_top.addBox(-0.5F, -0.5F, 0.2F, 1, 1, 2, 0.0F);
        this.setRotateAngle(tail_top, 1.3203415791337103F, 0.0F, 0.0F);
        this.cone_5 = new ModelRenderer(this, 2, 51);
        this.cone_5.setRotationPoint(0.0F, 2.3F, -6.3F);
        this.cone_5.addBox(-2.0F, -0.5F, -3.5F, 4, 2, 8, 0.0F);
        this.setRotateAngle(cone_5, 1.3089969389957472F, 0.0F, 0.0F);
        this.cone_2 = new ModelRenderer(this, 32, 47);
        this.cone_2.setRotationPoint(-6.0F, 0.2F, -5.3F);
        this.cone_2.addBox(0.0F, 0.0F, 0.0F, 3, 3, 3, 0.0F);
        this.setRotateAngle(cone_2, 0.5667084081225587F, 0.0F, 0.0F);
        this.teeth_1 = new ModelRenderer(this, 104, 76);
        this.teeth_1.setRotationPoint(-0.4F, 1.3F, -6.5F);
        this.teeth_1.addBox(-5.5F, -0.5F, 0.0F, 11, 1, 1, 0.0F);
        this.feet_1 = new ModelRenderer(this, 91, 2);
        this.feet_1.setRotationPoint(-0.8F, 3.9F, 0.1F);
        this.feet_1.addBox(0.0F, 0.0F, 0.0F, 2, 5, 2, 0.0F);
        this.setRotateAngle(feet_1, 0.3490658503988659F, 0.0F, 0.0F);
        this.upper_mouth = new ModelRenderer(this, 2, 86);
        this.upper_mouth.setRotationPoint(-0.5F, 1.7F, -5.4F);
        this.upper_mouth.addBox(-2.5F, 0.0F, -6.0F, 6, 3, 8, 0.0F);
        this.setRotateAngle(upper_mouth, 0.8726646259971648F, 0.0F, 0.0F);
        this.tail_2 = new ModelRenderer(this, 64, 68);
        this.tail_2.setRotationPoint(0.1F, -0.6F, 16.3F);
        this.tail_2.addBox(-0.7F, -0.6F, -0.3F, 1, 1, 6, 0.0F);
        this.setRotateAngle(tail_2, 0.31869712141416456F, 0.0F, 0.0F);
        this.fangs_1 = new ModelRenderer(this, 53, 36);
        this.fangs_1.setRotationPoint(2.8F, 0.9F, -3.3F);
        this.fangs_1.addBox(-1.0F, -1.0F, -1.0F, 2, 2, 3, 0.0F);
        this.setRotateAngle(fangs_1, 0.0F, 0.0F, -0.06806784082777885F);
        this.feet_3 = new ModelRenderer(this, 114, 2);
        this.feet_3.setRotationPoint(0.0F, 3.5F, 0.0F);
        this.feet_3.addBox(-1.0F, 0.0F, -1.0F, 2, 5, 2, 0.0F);
        this.setRotateAngle(feet_3, 0.06981317007977318F, 0.0F, 0.0F);
        this.hair_1 = new ModelRenderer(this, 96, 64);
        this.hair_1.setRotationPoint(2.8F, 2.0F, -3.2F);
        this.hair_1.addBox(0.0F, 0.0F, -3.0F, 5, 0, 5, 0.0F);
        this.setRotateAngle(hair_1, 0.6640977803838424F, -0.26529004630313807F, 0.20245819323134223F);
        this.hair_2 = new ModelRenderer(this, 77, 64);
        this.hair_2.setRotationPoint(-2.2F, 3.3F, -3.7F);
        this.hair_2.addBox(-5.0F, 0.0F, -3.0F, 5, 0, 5, 0.0F);
        this.setRotateAngle(hair_2, 1.1838568316277536F, 0.3078760800517997F, 0.091106186954104F);
        this.Legs1 = new ModelRenderer(this, 85, 35);
        this.Legs1.setRotationPoint(1.5F, 13.0F, 6.0F);
        this.Legs1.addBox(0.0F, -1.5F, -3.0F, 4, 6, 6, 0.0F);
        this.setRotateAngle(Legs1, 0.2617993877991494F, 0.0F, 0.0F);
        this.Legs4 = new ModelRenderer(this, 109, 50);
        this.Legs4.setRotationPoint(-1.0F, 13.0F, -8.5F);
        this.Legs4.addBox(-4.0F, -1.5F, -2.5F, 4, 6, 5, 0.0F);
        this.setRotateAngle(Legs4, 0.2792526803190927F, 0.0F, 0.0F);
        this.lower_mouth = new ModelRenderer(this, 34, 87);
        this.lower_mouth.setRotationPoint(0.5F, 1.6F, -1.0F);
        this.lower_mouth.addBox(-2.5F, 0.0F, -7.0F, 4, 2, 8, 0.0F);
        this.setRotateAngle(lower_mouth, 0.6829473363053812F, 0.0F, 0.0F);
        this.body = new ModelRenderer(this, 0, 0);
        this.body.setRotationPoint(0.0F, 13.0F, -3.5F);
        this.body.addBox(-4.0F, -3.6F, -7.8F, 8, 7, 20, 0.0F);
        this.tail_1 = new ModelRenderer(this, 43, 67);
        this.tail_1.setRotationPoint(-0.3F, -1.1F, 13.0F);
        this.tail_1.addBox(-0.8F, -1.9F, -2.4F, 2, 2, 6, 0.0F);
        this.setRotateAngle(tail_1, -0.36425021489121656F, 0.0F, 0.0F);
        this.fangs_2 = new ModelRenderer(this, 85, 73);
        this.fangs_2.setRotationPoint(-1.8F, 0.9F, -3.3F);
        this.fangs_2.addBox(-1.0F, -1.0F, -1.5F, 2, 2, 3, 0.0F);
        this.setRotateAngle(fangs_2, 0.0F, 0.0F, 0.08726646259971647F);
        this.horn_1 = new ModelRenderer(this, 73, 36);
        this.horn_1.setRotationPoint(2.2F, 1.9F, -2.05F);
        this.horn_1.addBox(0.2F, -1.0F, -1.7F, 3, 2, 2, 0.0F);
        this.setRotateAngle(horn_1, 0.019198621771937624F, 0.0F, -0.31066860685499065F);
        this.feet_2 = new ModelRenderer(this, 103, 2);
        this.feet_2.setRotationPoint(0.1F, 4.5F, -0.2F);
        this.feet_2.addBox(-1.0F, 0.0F, -1.0F, 2, 4, 2, 0.0F);
        this.setRotateAngle(feet_2, 0.3490658503988659F, 0.0F, 0.0F);
        this.hair_3 = new ModelRenderer(this, 73, 79);
        this.hair_3.setRotationPoint(0.0F, -3.6F, -5.2F);
        this.hair_3.addBox(-0.5F, -1.5F, -1.4F, 1, 3, 4, 0.0F);
        this.setRotateAngle(hair_3, 0.5585053606381855F, 0.0F, 0.0F);
        this.calf_4 = new ModelRenderer(this, 108, 23);
        this.calf_4.setRotationPoint(-2.0F, 3.0F, 0.5F);
        this.calf_4.addBox(-1.5F, 0.0F, -1.5F, 3, 5, 3, 0.0F);
        this.setRotateAngle(calf_4, -0.296705972839036F, 0.0F, 0.0F);
        this.horn_3_1 = new ModelRenderer(this, 19, 44);
        this.horn_3_1.setRotationPoint(-3.0F, 1.4F, -3.3F);
        this.horn_3_1.addBox(-4.7F, -0.5F, -0.5F, 5, 1, 1, 0.0F);
        this.setRotateAngle(horn_3_1, 0.008726646259971648F, 0.0F, 0.6981317007977318F);
        this.ears_2 = new ModelRenderer(this, 72, 23);
        this.ears_2.setRotationPoint(-3.0F, -3.5F, -6.0F);
        this.ears_2.addBox(-2.9F, -1.9F, -0.5F, 3, 3, 1, 0.0F);
        this.setRotateAngle(ears_2, 0.6981317007977318F, 0.08726646259971647F, 0.10122909661567112F);
        this.calf_3 = new ModelRenderer(this, 107, 12);
        this.calf_3.setRotationPoint(2.0F, 3.0F, 0.5F);
        this.calf_3.addBox(-1.5F, 0.0F, -1.5F, 3, 5, 3, 0.0F);
        this.setRotateAngle(calf_3, -0.296705972839036F, 0.0F, 0.0F);
        this.nose = new ModelRenderer(this, 26, 29);
        this.nose.setRotationPoint(0.5F, 1.0F, -5.0F);
        this.nose.addBox(-2.0F, -1.4F, -2.1F, 4, 3, 2, 0.0F);
        this.setRotateAngle(nose, -0.06981317007977318F, 0.0F, 0.0F);
        this.horn_3 = new ModelRenderer(this, 56, 29);
        this.horn_3.setRotationPoint(4.0F, 1.7F, -4.3F);
        this.horn_3.addBox(0.0F, -0.5F, 1.0F, 5, 1, 1, 0.0F);
        this.setRotateAngle(horn_3, 0.019198621771937624F, 0.0F, -0.6981317007977318F);
        this.calf_2 = new ModelRenderer(this, 92, 23);
        this.calf_2.setRotationPoint(-2.2F, 3.4F, 0.6F);
        this.calf_2.addBox(-1.4F, 0.4F, -1.5F, 3, 5, 3, 0.0F);
        this.setRotateAngle(calf_2, -0.45378560551852565F, 0.0F, 0.0F);
        this.moecut = new ModelRenderer(this, 5, 64);
        this.moecut.setRotationPoint(-0.5F, -7.8F, -6.0F);
        this.moecut.addBox(0.0F, 0.0F, 0.0F, 1, 4, 16, 0.0F);
        this.setRotateAngle(moecut, -0.2436479635784084F, 0.0F, 0.0F);
        this.Head = new ModelRenderer(this, 44, 47);
        this.Head.setRotationPoint(0.0F, 13.0F, -9.5F);
        this.Head.addBox(-4.0F, -3.8F, -5.9F, 8, 7, 7, 0.0F);
        this.setRotateAngle(Head, -0.3490658503988659F, 0.0F, 0.0F);
        this.Legs2 = new ModelRenderer(this, 85, 49);
        this.Legs2.setRotationPoint(-1.5F, 13.0F, 6.0F);
        this.Legs2.addBox(-4.0F, -1.5F, -3.0F, 4, 6, 6, 0.0F);
        this.setRotateAngle(Legs2, 0.2617993877991494F, 0.0F, 0.0F);
        this.feet_4 = new ModelRenderer(this, 92, 12);
        this.feet_4.setRotationPoint(0.0F, 3.4F, 0.0F);
        this.feet_4.addBox(-1.0F, 0.0F, -1.0F, 2, 5, 2, 0.0F);
        this.setRotateAngle(feet_4, 0.06981317007977318F, 0.0F, 0.0F);
        this.cone_3 = new ModelRenderer(this, 10, 13);
        this.cone_3.setRotationPoint(5.8F, -0.1F, -4.2F);
        this.cone_3.addBox(0.0F, 0.0F, 0.0F, 2, 2, 2, 0.0F);
        this.setRotateAngle(cone_3, 0.5667084081225587F, 0.0F, 0.0F);
        this.Head.addChild(this.cone_4);
        this.Head.addChild(this.ears_1);
        this.Head.addChild(this.cone_1);
        this.upper_mouth.addChild(this.horn_2);
        this.Legs1.addChild(this.calf_1);
        this.body.addChild(this.tail_top);
        this.Head.addChild(this.cone_5);
        this.Head.addChild(this.cone_2);
        this.lower_mouth.addChild(this.teeth_1);
        this.calf_1.addChild(this.feet_1);
        this.Head.addChild(this.upper_mouth);
        this.body.addChild(this.tail_2);
        this.upper_mouth.addChild(this.fangs_1);
        this.calf_3.addChild(this.feet_3);
        this.Head.addChild(this.hair_1);
        this.Head.addChild(this.hair_2);
        this.Head.addChild(this.lower_mouth);
        this.body.addChild(this.tail_1);
        this.upper_mouth.addChild(this.fangs_2);
        this.upper_mouth.addChild(this.horn_1);
        this.calf_2.addChild(this.feet_2);
        this.Head.addChild(this.hair_3);
        this.Legs4.addChild(this.calf_4);
        this.upper_mouth.addChild(this.horn_3_1);
        this.Head.addChild(this.ears_2);
        this.Legs3.addChild(this.calf_3);
        this.upper_mouth.addChild(this.nose);
        this.upper_mouth.addChild(this.horn_3);
        this.Legs2.addChild(this.calf_2);
        this.body.addChild(this.moecut);
        this.calf_4.addChild(this.feet_4);
        this.Head.addChild(this.cone_3);
    }

    @Override
    public void render(Entity entity, float f, float f1, float f2, float f3, float f4, float f5) { 
        this.Legs3.render(f5);
        this.Legs1.render(f5);
        this.Legs4.render(f5);
        this.body.render(f5);
        this.Head.render(f5);
        this.Legs2.render(f5);
    }

    /**
     * This is a helper function from Tabula to set the rotation of model parts
     */
    public void setRotationAngles(float f, float f1, float f2, float f3, float f4, float f5, Entity entity)
{
     super.setRotationAngles(f, f1, f2, f3, f4, f5, entity);
     this.Head.rotateAngleY = f3 / (180F / (float)Math.PI);
     this.Head.rotateAngleX = f4 / (180F / (float)Math.PI);
     this.Legs1.rotateAngleX = MathHelper.cos(f * 1.0F) * -1.0F * f1;
     this.Legs2.rotateAngleX = MathHelper.cos(f * 1.0F) * 1.0F * f1;
     this.Legs3.rotateAngleX = MathHelper.cos(f * 0.6662F + (float)Math.PI) * 2.0F * f1 * 0.5F;
     this.Legs4.rotateAngleX = MathHelper.cos(f * 0.6662F) * 2.0F * f1 * 0.5F;
    }
}

         BTW i am making a lion king mod i just started form pumbaa

                   i hope you can help me

Last seen on 11:41, 7. Oct 2019
Joined Jun 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
could someone help me I'm…
Thu, 09/26/2019 - 14:42
could someone help me I'm with this error

this.head.rotateAngleY ​​= campo_78116_c / (180F / (flutuante) Math.PI);
         ^
C:\Pylo\MCreator173\forge\build\sources\java\mod\mcreator\mcreator_babyVegeta.java:406: error: ';' expected
this.head.rotateAngleY ​​= campo_78116_c / (180F / (flutuante) Math.PI);
                      ^
C:\Pylo\MCreator173\forge\build\sources\java\mod\mcreator\mcreator_babyVegeta.java:406: error: illegal character: '\u2039'
this.head.rotateAngleY ​​= campo_78116_c / (180F / (flutuante) Math.PI);
                         ^
C:\Pylo\MCreator173\forge\build\sources\java\mod\mcreator\mcreator_babyVegeta.java:406: error: not a statement
this.head.rotateAngleY ​​= campo_78116_c / (180F / (flutuante) Math.PI);
                       ^
C:\Pylo\MCreator173\forge\build\sources\java\mod\mcreator\mcreator_babyVegeta.java:406: error: illegal character: '\u2039'
this.head.rotateAngleY ​​= campo_78116_c / (180F / (flutuante) Math.PI);
                            ^
C:\Pylo\MCreator173\forge\build\sources\java\mod\mcreator\mcreator_babyVegeta.java:406: error: not a statement
this.head.rotateAngleY ​​= campo_78116_c / (180F / (flutuante) Math.PI);
                          ^
C:\Pylo\MCreator173\forge\build\sources\java\mod\mcreator\mcreator_babyVegeta.java:406: error: not a statement
this.head.rotateAngleY ​​= campo_78116_c / (180F / (flutuante) Math.PI);
                                             ^
7 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.