@Environment(value=CLIENT) public class PlayerEntityModel<T extends LivingEntity> extends BipedEntityModel<T>
BipedEntityModel.ArmPose| Modifier and Type | Field and Description |
|---|---|
private ModelPart |
cape |
private ModelPart |
ears |
private List<ModelPart> |
field_27466 |
ModelPart |
jacket |
ModelPart |
leftPantLeg |
ModelPart |
leftSleeve |
ModelPart |
rightPantLeg |
ModelPart |
rightSleeve |
private boolean |
thinArms |
field_27433, head, helmet, leaningPitch, leftArmPose, leftLeg, rightArm, rightArmPose, rightLeg, sneaking, torsochild, handSwingProgress, ridinglayerFactory| Constructor and Description |
|---|
PlayerEntityModel(ModelPart modelPart,
boolean thinArms) |
| Modifier and Type | Method and Description |
|---|---|
protected Iterable<ModelPart> |
getBodyParts() |
ModelPart |
getRandomPart(Random random) |
static class_5609 |
method_32028(class_5605 class_5605,
boolean bool) |
void |
renderCape(MatrixStack matrices,
VertexConsumer vertices,
int light,
int overlay) |
void |
renderEars(MatrixStack matrices,
VertexConsumer vertices,
int light,
int overlay) |
void |
setAngles(T t,
float float2,
float float3,
float float4,
float float5,
float float6) |
void |
setArmAngle(Arm arm,
MatrixStack matrices) |
void |
setVisible(boolean visible) |
animateModel, getArm, getHead, getHeadParts, lerpAngle, method_29353, method_32011, setAttributesrendercopyStateTopublic final ModelPart leftSleeve
public final ModelPart rightSleeve
public final ModelPart leftPantLeg
public final ModelPart rightPantLeg
public final ModelPart jacket
private final ModelPart cape
private final ModelPart ears
private final boolean thinArms
public PlayerEntityModel(ModelPart modelPart, boolean thinArms)
public static class_5609 method_32028(class_5605 class_5605, boolean bool)
protected Iterable<ModelPart> getBodyParts()
getBodyParts in class BipedEntityModel<T extends LivingEntity>public void renderEars(MatrixStack matrices, VertexConsumer vertices, int light, int overlay)
public void renderCape(MatrixStack matrices, VertexConsumer vertices, int light, int overlay)
public void setAngles(T t, float float2, float float3, float float4, float float5, float float6)
setAngles in class BipedEntityModel<T extends LivingEntity>public void setVisible(boolean visible)
setVisible in class BipedEntityModel<T extends LivingEntity>public void setArmAngle(Arm arm, MatrixStack matrices)
setArmAngle in interface ModelWithArmssetArmAngle in class BipedEntityModel<T extends LivingEntity>