public class ModelPlayer extends ModelBiped
ModelBiped.ArmPose
Modifier and Type | Field and Description |
---|---|
ModelRenderer |
bipedBodyWear |
private ModelRenderer |
bipedCape |
private ModelRenderer |
bipedDeadmau5Head |
ModelRenderer |
bipedLeftArmwear |
ModelRenderer |
bipedLeftLegwear |
ModelRenderer |
bipedRightArmwear |
ModelRenderer |
bipedRightLegwear |
private boolean |
smallArms |
bipedBody, bipedHead, bipedHeadwear, bipedLeftArm, bipedLeftLeg, bipedRightArm, bipedRightLeg, isSneak, leftArmPose, rightArmPose
boxList, isChild, isRiding, swingProgress, textureHeight, textureWidth
Constructor and Description |
---|
ModelPlayer(float modelSize,
boolean smallArmsIn) |
Modifier and Type | Method and Description |
---|---|
void |
postRenderArm(float scale,
EnumHandSide side) |
void |
render(Entity entityIn,
float limbSwing,
float limbSwingAmount,
float ageInTicks,
float netHeadYaw,
float headPitch,
float scale) |
void |
renderCape(float scale) |
void |
renderDeadmau5Head(float scale) |
void |
setRotationAngles(float limbSwing,
float limbSwingAmount,
float ageInTicks,
float netHeadYaw,
float headPitch,
float scaleFactor,
Entity entityIn) |
void |
setVisible(boolean visible) |
getArmForSide, getMainHand, setModelAttributes
copyModelAngles, getRandomModelBox, getTextureOffset, setLivingAnimations, setTextureOffset
public ModelRenderer bipedLeftArmwear
public ModelRenderer bipedRightArmwear
public ModelRenderer bipedLeftLegwear
public ModelRenderer bipedRightLegwear
public ModelRenderer bipedBodyWear
private final ModelRenderer bipedCape
private final ModelRenderer bipedDeadmau5Head
private final boolean smallArms
public void render(Entity entityIn, float limbSwing, float limbSwingAmount, float ageInTicks, float netHeadYaw, float headPitch, float scale)
render
in class ModelBiped
public void renderDeadmau5Head(float scale)
public void renderCape(float scale)
public void setRotationAngles(float limbSwing, float limbSwingAmount, float ageInTicks, float netHeadYaw, float headPitch, float scaleFactor, Entity entityIn)
setRotationAngles
in class ModelBiped
public void setVisible(boolean visible)
setVisible
in class ModelBiped
public void postRenderArm(float scale, EnumHandSide side)
postRenderArm
in class ModelBiped