Started by
gustavowizard123
on
Topic category: Help with Minecraft modding (Java Edition)
Hey guys im updating my tame code to 1.15 (from 1.12); the mob already is tameable, now im trying to make it´s model to sit when clicked (when tamed), everything is ready except this code part here; can someone help me to convert this code to 1.15? thanks!
public void setLivingAnimations(EntityLivingBase entitylivingbaseIn, float limbSwing, float limbSwingAmount, float partialTickTime)
{
EntitycapuchinBlond entitycapuchinBlond = (EntitycapuchinBlond)entitylivingbaseIn;
if (entitycapuchinBlond.isSitting())
{
this.Head.setRotationPoint(0.5F, 17F, -1F);
this.Body.setRotationPoint(0F, 18.5F, -0.5F);
this.Body.rotateAngleX = 0.5235988F;
...
}
else
{
this.Head.setRotationPoint(0.5F, 15F, -1F);
this.Body.setRotationPoint(0F, 16.5F, -0.5F);
this.Body.rotateAngleX = 1.047198F;
....
}
}
i tried like this: but im still missing something on the second class name there..
nobody? :)
please :D