@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 |
ModelPart |
jacket |
ModelPart |
leftPantLeg |
ModelPart |
leftSleeve |
private List<ModelPart> |
parts |
ModelPart |
rightPantLeg |
ModelPart |
rightSleeve |
private boolean |
thinArms |
head, helmet, leaningPitch, leftArm, leftArmPose, leftLeg, rightArm, rightArmPose, rightLeg, sneaking, torsochild, handSwingProgress, ridinglayerFactory, textureHeight, textureWidth| Constructor and Description |
|---|
PlayerEntityModel(float scale,
boolean thinArms) |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(ModelPart modelPart) |
protected Iterable<ModelPart> |
getBodyParts() |
ModelPart |
getRandomPart(Random random) |
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, getPreferredArm, lerpAngle, method_29353, 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
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>