public class IronGolemModel<T extends IronGolemEntity> extends SegmentedModel<T>
Modifier and Type | Field and Description |
---|---|
private ModelRenderer |
ironGolemBody |
private ModelRenderer |
ironGolemHead |
private ModelRenderer |
ironGolemLeftArm |
private ModelRenderer |
ironGolemLeftLeg |
private ModelRenderer |
ironGolemRightArm |
private ModelRenderer |
ironGolemRightLeg |
isChild, isSitting, swingProgress
renderType, textureHeight, textureWidth
Constructor and Description |
---|
IronGolemModel() |
Modifier and Type | Method and Description |
---|---|
ModelRenderer |
getArmHoldingRose() |
java.lang.Iterable<ModelRenderer> |
getParts() |
void |
setLivingAnimations(T entityIn,
float limbSwing,
float limbSwingAmount,
float partialTick) |
void |
setRotationAngles(T entityIn,
float limbSwing,
float limbSwingAmount,
float ageInTicks,
float netHeadYaw,
float headPitch) |
private float |
triangleWave(float p_78172_1_,
float p_78172_2_) |
render
copyModelAttributesTo
accept, getRenderType
private final ModelRenderer ironGolemHead
private final ModelRenderer ironGolemBody
private final ModelRenderer ironGolemRightArm
private final ModelRenderer ironGolemLeftArm
private final ModelRenderer ironGolemLeftLeg
private final ModelRenderer ironGolemRightLeg
public java.lang.Iterable<ModelRenderer> getParts()
getParts
in class SegmentedModel<T extends IronGolemEntity>
public void setRotationAngles(T entityIn, float limbSwing, float limbSwingAmount, float ageInTicks, float netHeadYaw, float headPitch)
setRotationAngles
in class EntityModel<T extends IronGolemEntity>
public void setLivingAnimations(T entityIn, float limbSwing, float limbSwingAmount, float partialTick)
setLivingAnimations
in class EntityModel<T extends IronGolemEntity>
private float triangleWave(float p_78172_1_, float p_78172_2_)
public ModelRenderer getArmHoldingRose()