How to add animations for Tabula models (minecraft versions 1.10+)

Started by Vegetto on Wed, 06/27/2018 - 17:56

Topic category: User side tutorials

Last seen on 22:43, 3. Aug 2020
Joined Jan 2015
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
How to add animations for Tabula models (minecraft versions 1.10+)
Wed, 06/27/2018 - 17:56

So, if you've followed my tutorial for tabula from before, you'll notice that with minecraft versions 1.10 and up, the animations bring errors instead of being carried over. Well, now there's a fix! (special thanks to https://mcreator.net/user/36404/wes for part of the fix)

Model that will be used for this mini tutorial

For this mini tutorial, i will be using this Morgana model. So simply follow the same tutorial as before for the in tabula part and then come back here when you get to the code part. (Here's the link: https://mcreator.net/forum/35866/how-get-tabula-models-work-mcreator-minecraft-versions-18-and-above?page=0)

 

So like before, you should remove all of these imports that tabula makes for you:

import net.minecraft.client.model.ModelBase;
import net.minecraft.client.model.ModelRenderer;
import net.minecraft.entity.Entity;
 

(If there are more than just those, remove those as well)

 

So here is where things get different and where they stay the same.

 

For MCreator versions BELOW 1.7.9 (so 1.7.8 and under) you will have to add this import:

import net.minecraft.util.math.MathHelper;

Without this import, the animations won't work and you'll just get an error. (This is where Wes had helped out)

 

You will continue to add the same animation code as before, so that part stays the same. Make sure it is added in the correct spot for it to really work properly.

 

Now then, for MCreator version 1.7.9, simply follow the same tutorial as before. The 1.7.9 version of MCreator doesn't need you to add that import yourself, as it does it automatically.

 

In-game screenshot

So now, you should be able to have the model in the game with animations like before! Hope you enjoyed this little fix update!

Last seen on 20:36, 14. Jul 2019
Joined Oct 2014
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
When I try setting up the…
Thu, 06/28/2018 - 14:56

When I try setting up the code, it says that it can't quite find the method setRotationAngle. I'm not sure if I made a mistake on my part when going through the instructions when it comes to setting up the model's animation.

Last seen on 09:06, 14. Jul 2019
Joined Aug 2016
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
why my model is crashing the…
Wed, 04/03/2019 - 19:36

why my model is crashing the game