Package net.minecraft.client.model
Class HorseModel<T extends AbstractHorse>
java.lang.Object
net.minecraft.client.model.Model
net.minecraft.client.model.EntityModel<T>
net.minecraft.client.model.AgeableListModel<T>
net.minecraft.client.model.HorseModel<T>
- Direct Known Subclasses:
ChestedHorseModel
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final ModelPartprivate static final floatprivate static final floatprivate static final floatprivate static final floatprivate static final floatprotected static final Stringprivate static final Stringprotected final ModelPartprivate static final Stringprivate static final Stringprivate static final Stringprivate static final Stringprivate final ModelPartprivate final ModelPartprivate final ModelPartprivate final ModelPartprivate static final Stringprivate final ModelPart[]private static final Stringprivate static final Stringprivate static final Stringprivate static final Stringprivate final ModelPartprivate final ModelPartprivate final ModelPartprivate final ModelPartprivate static final Stringprivate final ModelPart[]private final ModelPartFields inherited from class net.minecraft.client.model.EntityModel
attackTime, riding, youngFields inherited from class net.minecraft.client.model.Model
renderType -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic MeshDefinitioncreateBodyMesh(CubeDeformation pCubeDeformation) voidprepareMobModel(T pEntity, float pLimbSwing, float pLimbSwingAmount, float pPartialTick) voidsetupAnim(T pEntity, float pLimbSwing, float pLimbSwingAmount, float pAgeInTicks, float pNetHeadYaw, float pHeadPitch) Sets this entity's model rotation anglesMethods inherited from class net.minecraft.client.model.AgeableListModel
renderToBufferMethods inherited from class net.minecraft.client.model.EntityModel
copyPropertiesToMethods inherited from class net.minecraft.client.model.Model
renderToBuffer, renderType
-
Field Details
-
DEG_125
private static final float DEG_125- See Also:
-
DEG_60
private static final float DEG_60- See Also:
-
DEG_45
private static final float DEG_45- See Also:
-
DEG_30
private static final float DEG_30- See Also:
-
DEG_15
private static final float DEG_15- See Also:
-
HEAD_PARTS
- See Also:
-
LEFT_HIND_BABY_LEG
- See Also:
-
RIGHT_HIND_BABY_LEG
- See Also:
-
LEFT_FRONT_BABY_LEG
- See Also:
-
RIGHT_FRONT_BABY_LEG
- See Also:
-
SADDLE
- See Also:
-
LEFT_SADDLE_MOUTH
- See Also:
-
LEFT_SADDLE_LINE
- See Also:
-
RIGHT_SADDLE_MOUTH
- See Also:
-
RIGHT_SADDLE_LINE
- See Also:
-
HEAD_SADDLE
- See Also:
-
MOUTH_SADDLE_WRAP
- See Also:
-
body
-
headParts
-
rightHindLeg
-
leftHindLeg
-
rightFrontLeg
-
leftFrontLeg
-
rightHindBabyLeg
-
leftHindBabyLeg
-
rightFrontBabyLeg
-
leftFrontBabyLeg
-
tail
-
saddleParts
-
ridingParts
-
-
Constructor Details
-
HorseModel
-
-
Method Details
-
createBodyMesh
-
setupAnim
public void setupAnim(T pEntity, float pLimbSwing, float pLimbSwingAmount, float pAgeInTicks, float pNetHeadYaw, float pHeadPitch) Sets this entity's model rotation angles- Specified by:
setupAnimin classEntityModel<T extends AbstractHorse>
-
headParts
- Specified by:
headPartsin classAgeableListModel<T extends AbstractHorse>
-
bodyParts
- Specified by:
bodyPartsin classAgeableListModel<T extends AbstractHorse>
-
prepareMobModel
public void prepareMobModel(T pEntity, float pLimbSwing, float pLimbSwingAmount, float pPartialTick) - Overrides:
prepareMobModelin classEntityModel<T extends AbstractHorse>
-