public class IllagerModel<T extends AbstractIllagerEntity> extends SegmentedModel<T> implements IHasArm, IHasHead
Modifier and Type | Field and Description |
---|---|
private ModelRenderer |
arms |
private ModelRenderer |
body |
private ModelRenderer |
field_217143_g |
private ModelRenderer |
field_217144_h |
private float |
field_217145_m |
private ModelRenderer |
hat |
private ModelRenderer |
head |
private ModelRenderer |
leftArm |
private ModelRenderer |
rightArm |
isChild, isSitting, swingProgress
renderType, textureHeight, textureWidth
Constructor and Description |
---|
IllagerModel(float scaleFactor,
float p_i47227_2_,
int textureWidthIn,
int textureHeightIn) |
Modifier and Type | Method and Description |
---|---|
ModelRenderer |
func_205062_a() |
private ModelRenderer |
getArm(HandSide p_191216_1_) |
ModelRenderer |
getModelHead() |
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) |
void |
translateHand(HandSide sideIn,
MatrixStack matrixStackIn) |
render
copyModelAttributesTo
accept, getRenderType
private final ModelRenderer head
private final ModelRenderer hat
private final ModelRenderer body
private final ModelRenderer arms
private final ModelRenderer field_217143_g
private final ModelRenderer field_217144_h
private final ModelRenderer rightArm
private final ModelRenderer leftArm
private float field_217145_m
public IllagerModel(float scaleFactor, float p_i47227_2_, int textureWidthIn, int textureHeightIn)
public java.lang.Iterable<ModelRenderer> getParts()
getParts
in class SegmentedModel<T extends AbstractIllagerEntity>
public void setRotationAngles(T entityIn, float limbSwing, float limbSwingAmount, float ageInTicks, float netHeadYaw, float headPitch)
setRotationAngles
in class EntityModel<T extends AbstractIllagerEntity>
public void setLivingAnimations(T entityIn, float limbSwing, float limbSwingAmount, float partialTick)
setLivingAnimations
in class EntityModel<T extends AbstractIllagerEntity>
private ModelRenderer getArm(HandSide p_191216_1_)
public ModelRenderer func_205062_a()
public ModelRenderer getModelHead()
getModelHead
in interface IHasHead
public void translateHand(HandSide sideIn, MatrixStack matrixStackIn)
translateHand
in interface IHasArm