Package net.minecraft.client.model
Class OcelotModel<T extends Entity>
java.lang.Object
net.minecraft.client.model.Model
net.minecraft.client.model.EntityModel<T>
net.minecraft.client.model.AgeableListModel<T>
net.minecraft.client.model.OcelotModel<T>
- Direct Known Subclasses:
CatModel
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final floatprotected static final floatprotected final ModelPartprivate static final floatprivate static final floatprivate static final intprotected static final floatprivate static final floatprotected final ModelPartprivate static final floatprivate static final floatprotected final ModelPartprotected final ModelPartprotected final ModelPartprotected final ModelPartprotected static final intprivate static final intprotected intprivate static final Stringprivate static final floatprivate static final floatprivate static final Stringprivate static final floatprivate static final floatprotected final ModelPartprotected final ModelPartprivate static final intprivate static final floatprivate static final floatprivate static final floatFields 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
-
CROUCH_STATE
private static final int CROUCH_STATE- See Also:
-
WALK_STATE
private static final int WALK_STATE- See Also:
-
SPRINT_STATE
private static final int SPRINT_STATE- See Also:
-
SITTING_STATE
protected static final int SITTING_STATE- See Also:
-
XO
private static final float XO- See Also:
-
YO
private static final float YO- See Also:
-
ZO
private static final float ZO- See Also:
-
HEAD_WALK_Y
private static final float HEAD_WALK_Y- See Also:
-
HEAD_WALK_Z
private static final float HEAD_WALK_Z- See Also:
-
BODY_WALK_Y
private static final float BODY_WALK_Y- See Also:
-
BODY_WALK_Z
private static final float BODY_WALK_Z- See Also:
-
TAIL_1_WALK_Y
private static final float TAIL_1_WALK_Y- See Also:
-
TAIL_1_WALK_Z
private static final float TAIL_1_WALK_Z- See Also:
-
TAIL_2_WALK_Y
private static final float TAIL_2_WALK_Y- See Also:
-
TAIL_2_WALK_Z
private static final float TAIL_2_WALK_Z- See Also:
-
BACK_LEG_Y
protected static final float BACK_LEG_Y- See Also:
-
BACK_LEG_Z
protected static final float BACK_LEG_Z- See Also:
-
FRONT_LEG_Y
protected static final float FRONT_LEG_Y- See Also:
-
FRONT_LEG_Z
private static final float FRONT_LEG_Z- See Also:
-
TAIL_1
- See Also:
-
TAIL_2
- See Also:
-
leftHindLeg
-
rightHindLeg
-
leftFrontLeg
-
rightFrontLeg
-
tail1
-
tail2
-
head
-
body
-
state
protected int state
-
-
Constructor Details
-
OcelotModel
-
-
Method Details
-
createBodyMesh
-
headParts
- Specified by:
headPartsin classAgeableListModel<T extends Entity>
-
bodyParts
- Specified by:
bodyPartsin classAgeableListModel<T extends Entity>
-
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 Entity>
-
prepareMobModel
public void prepareMobModel(T pEntity, float pLimbSwing, float pLimbSwingAmount, float pPartialTick) - Overrides:
prepareMobModelin classEntityModel<T extends Entity>
-