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

Active 3 years ago
Joined Jan 2015
Points:
845

User statistics:

  • Modifications: 6
  • Forum topics: 7
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 68
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
Active 3 years ago
Joined Apr 2016
Points:
778

User statistics:

  • Modifications: 0
  • Forum topics: 9
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 56
For the people still…
Sun, 03/04/2018 - 21:15

For the people still wondering on how to fix the error when adding animations for a tabula model; Dont replace that piece of code that is mentioned by the OP but instead keep it and add the animations after with a } between the 2 pieces of code.

Active 6 years ago
Joined Mar 2018
Points:
687

User statistics:

  • Modifications: 0
  • Forum topics: 1
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 2
i exported it but where does…
Wed, 03/21/2018 - 23:28

i exported it but where does it go? what file

Active 6 years ago
Joined Mar 2018
Points:
687

User statistics:

  • Modifications: 0
  • Forum topics: 1
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 2
never mind i derped for a…
Wed, 03/21/2018 - 23:29

never mind i derped for a second 

Active 6 years ago
Joined Dec 2017
Points:
688

User statistics:

  • Modifications: 0
  • Forum topics: 0
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 8
Has the issue been resolved?…
Wed, 04/04/2018 - 15:31

Has the issue been resolved? I'd like to get on with my modpack /:

Active 6 years ago
Joined Dec 2017
Points:
688

User statistics:

  • Modifications: 0
  • Forum topics: 0
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 8
Hi there, could you help me…
Tue, 04/03/2018 - 19:46

Hi there, could you help me resolve this issue please?

(sorry if theres a huge wall of text underneath, no idea why it does that)

Active 5 months ago
Joined Apr 2014
Points:
1223

User statistics:

  • Modifications: 2
  • Forum topics: 27
  • Wiki pages: 1
  • MCreator plugins: 0
  • Comments: 656
hey can you help me ? I got…
Fri, 04/06/2018 - 22:40

hey can you help me ?
I got this error
C:\Pylo\MCreator178\forge\build\sources\main\java\mod\mcreator\mcreator_woodGolem.java:59: error: cannot find symbol
        RenderLiving customRender = new RenderLiving(Minecraft.getMinecraft().getRenderManager(), new mcreator_woodGolem.Modelolem(), 0) {
                                   ^

I did all that was in your tutorial

Active 5 months ago
Joined Apr 2014
Points:
1223

User statistics:

  • Modifications: 2
  • Forum topics: 27
  • Wiki pages: 1
  • MCreator plugins: 0
  • Comments: 656
I had fixed my error but you…
Sat, 04/07/2018 - 00:11

I had fixed my error but you have forgot to add this import

import net.minecraft.util.math.MathHelper;

without it you will get error when making animation for your model

Active 5 years ago
Joined Aug 2016
Points:
916

User statistics:

  • Modifications: 4
  • Forum topics: 16
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 186
I'm trying this.
Sat, 04/21/2018 - 12:29

I'm trying this.

Active 5 years ago
Joined Aug 2016
Points:
916

User statistics:

  • Modifications: 4
  • Forum topics: 16
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 186
Play Dash verified, worked…
Sat, 04/21/2018 - 12:50

Play Dash verified, worked and i have a Bob-omb :)

Active 1 month ago
Joined Feb 2018
Points:
731

User statistics:

  • Modifications: 0
  • Forum topics: 9
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 9
Does anyone know how to fix…
Sun, 05/06/2018 - 19:23

Does anyone know how to fix the animation error yet?

Active 1 month ago
Joined Feb 2018
Points:
731

User statistics:

  • Modifications: 0
  • Forum topics: 9
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 9
Has anyone fixed the…
Sun, 05/06/2018 - 19:25

Has anyone fixed the animation issue yet

Active 1 year ago
Joined Jun 2017
Points:
693

User statistics:

  • Modifications: 0
  • Forum topics: 0
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 1
This is good, Techne is Shit…
Sun, 05/20/2018 - 12:23

This is good, Techne is Shit, but TABULA IS Very Good for Models Mob

 

Active 5 years ago
Joined Mar 2016
Points:
1311

User statistics:

  • Modifications: 7
  • Forum topics: 76
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 310
well i can not make that …
Mon, 05/21/2018 - 08:02

well i can not make that  want i like make something like that but it give me error  crash and it shut down 

Active 3 years ago
Joined Jan 2015
Points:
845

User statistics:

  • Modifications: 6
  • Forum topics: 7
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 68
That import wasn't needed…
Sat, 05/26/2018 - 02:27

That import wasn't needed with version 1.8. I tried it out and it works perfectly on 1.12. Thank you for that as i had no idea what the problem with the later versions was lol. I will make an updated tutorial and will credit you for finding the fix!