public class ModelBiped extends ModelBase
Modifier and Type | Class and Description |
---|---|
static class |
ModelBiped.ArmPose |
Modifier and Type | Field and Description |
---|---|
ModelRenderer |
bipedBody |
ModelRenderer |
bipedHead |
ModelRenderer |
bipedHeadwear |
ModelRenderer |
bipedLeftArm |
ModelRenderer |
bipedLeftLeg |
ModelRenderer |
bipedRightArm |
ModelRenderer |
bipedRightLeg |
boolean |
isSneak |
ModelBiped.ArmPose |
leftArmPose |
ModelBiped.ArmPose |
rightArmPose |
boxList, isChild, isRiding, swingProgress, textureHeight, textureWidth
Constructor and Description |
---|
ModelBiped() |
ModelBiped(float modelSize) |
ModelBiped(float modelSize,
float p_i1149_2_,
int textureWidthIn,
int textureHeightIn) |
Modifier and Type | Method and Description |
---|---|
protected ModelRenderer |
getArmForSide(EnumHandSide side) |
protected EnumHandSide |
getMainHand(Entity entityIn) |
void |
postRenderArm(float scale,
EnumHandSide side) |
void |
render(Entity entityIn,
float limbSwing,
float limbSwingAmount,
float ageInTicks,
float netHeadYaw,
float headPitch,
float scale) |
void |
setModelAttributes(ModelBase model) |
void |
setRotationAngles(float limbSwing,
float limbSwingAmount,
float ageInTicks,
float netHeadYaw,
float headPitch,
float scaleFactor,
Entity entityIn) |
void |
setVisible(boolean visible) |
copyModelAngles, getRandomModelBox, getTextureOffset, setLivingAnimations, setTextureOffset
public ModelRenderer bipedHead
public ModelRenderer bipedHeadwear
public ModelRenderer bipedBody
public ModelRenderer bipedRightArm
public ModelRenderer bipedLeftArm
public ModelRenderer bipedRightLeg
public ModelRenderer bipedLeftLeg
public ModelBiped.ArmPose leftArmPose
public ModelBiped.ArmPose rightArmPose
public boolean isSneak
public ModelBiped()
public ModelBiped(float modelSize)
public ModelBiped(float modelSize, float p_i1149_2_, int textureWidthIn, int textureHeightIn)
public void render(Entity entityIn, float limbSwing, float limbSwingAmount, float ageInTicks, float netHeadYaw, float headPitch, float scale)
public void setRotationAngles(float limbSwing, float limbSwingAmount, float ageInTicks, float netHeadYaw, float headPitch, float scaleFactor, Entity entityIn)
setRotationAngles
in class ModelBase
public void setModelAttributes(ModelBase model)
setModelAttributes
in class ModelBase
public void setVisible(boolean visible)
public void postRenderArm(float scale, EnumHandSide side)
protected ModelRenderer getArmForSide(EnumHandSide side)
protected EnumHandSide getMainHand(Entity entityIn)