public class PlayerModel<T extends LivingEntity> extends BipedModel<T>
BipedModel.ArmPose
Modifier and Type | Field and Description |
---|---|
ModelRenderer |
bipedBodyWear |
private ModelRenderer |
bipedCape |
private ModelRenderer |
bipedDeadmau5Head |
ModelRenderer |
bipedLeftArmwear |
ModelRenderer |
bipedLeftLegwear |
ModelRenderer |
bipedRightArmwear |
ModelRenderer |
bipedRightLegwear |
private java.util.List<ModelRenderer> |
modelRenderers |
private boolean |
smallArms |
bipedBody, bipedHead, bipedHeadwear, bipedLeftArm, bipedLeftLeg, bipedRightArm, bipedRightLeg, isSneak, leftArmPose, rightArmPose, swimAnimation
isChild, isSitting, swingProgress
renderType, textureHeight, textureWidth
Constructor and Description |
---|
PlayerModel(float modelSize,
boolean smallArmsIn) |
Modifier and Type | Method and Description |
---|---|
void |
accept(ModelRenderer p_accept_1_) |
protected java.lang.Iterable<ModelRenderer> |
getBodyParts() |
ModelRenderer |
getRandomModelRenderer(java.util.Random randomIn) |
void |
renderCape(MatrixStack matrixStackIn,
IVertexBuilder bufferIn,
int packedLightIn,
int packedOverlayIn) |
void |
renderEars(MatrixStack matrixStackIn,
IVertexBuilder bufferIn,
int packedLightIn,
int packedOverlayIn) |
void |
setRotationAngles(T entityIn,
float limbSwing,
float limbSwingAmount,
float ageInTicks,
float netHeadYaw,
float headPitch) |
void |
setVisible(boolean visible) |
void |
translateHand(HandSide sideIn,
MatrixStack matrixStackIn) |
getArmForSide, getHeadParts, getMainHand, getModelHead, rotLerpRad, setLivingAnimations, setModelAttributes
render
copyModelAttributesTo
getRenderType
private java.util.List<ModelRenderer> modelRenderers
public final ModelRenderer bipedLeftArmwear
public final ModelRenderer bipedRightArmwear
public final ModelRenderer bipedLeftLegwear
public final ModelRenderer bipedRightLegwear
public final ModelRenderer bipedBodyWear
private final ModelRenderer bipedCape
private final ModelRenderer bipedDeadmau5Head
private final boolean smallArms
protected java.lang.Iterable<ModelRenderer> getBodyParts()
getBodyParts
in class BipedModel<T extends LivingEntity>
public void renderEars(MatrixStack matrixStackIn, IVertexBuilder bufferIn, int packedLightIn, int packedOverlayIn)
public void renderCape(MatrixStack matrixStackIn, IVertexBuilder bufferIn, int packedLightIn, int packedOverlayIn)
public void setRotationAngles(T entityIn, float limbSwing, float limbSwingAmount, float ageInTicks, float netHeadYaw, float headPitch)
setRotationAngles
in class BipedModel<T extends LivingEntity>
public void setVisible(boolean visible)
setVisible
in class BipedModel<T extends LivingEntity>
public void translateHand(HandSide sideIn, MatrixStack matrixStackIn)
translateHand
in interface IHasArm
translateHand
in class BipedModel<T extends LivingEntity>
public ModelRenderer getRandomModelRenderer(java.util.Random randomIn)
public void accept(ModelRenderer p_accept_1_)
accept
in interface java.util.function.Consumer<ModelRenderer>
accept
in class Model