Class OcelotEntityModel<T extends Entity>
java.lang.Object
net.minecraft.client.model.Model
net.minecraft.client.render.entity.model.EntityModel<E>
net.minecraft.client.render.entity.model.AnimalModel<T>
net.minecraft.client.render.entity.model.OcelotEntityModel<T>
- Direct Known Subclasses:
CatEntityModel
@Environment(CLIENT) public class OcelotEntityModel<T extends Entity> extends AnimalModel<T>
-
Field Summary
Fields Modifier and Type Field Description protected intanimationStateprotected ModelPartheadprotected ModelPartleftBackLegprotected ModelPartleftFrontLegprotected ModelPartlowerTailprotected ModelPartrightBackLegprotected ModelPartrightFrontLegprotected ModelParttorsoprotected ModelPartupperTailFields inherited from class net.minecraft.client.render.entity.model.EntityModel
child, handSwingProgress, ridingFields inherited from class net.minecraft.client.model.Model
layerFactory, textureHeight, textureWidth -
Constructor Summary
Constructors Constructor Description OcelotEntityModel(float scale) -
Method Summary
Modifier and Type Method Description voidanimateModel(T entity, float limbAngle, float limbDistance, float tickDelta)protected Iterable<ModelPart>getBodyParts()protected Iterable<ModelPart>getHeadParts()voidsetAngles(T entity, float limbAngle, float limbDistance, float animationProgress, float headYaw, float headPitch)Methods inherited from class net.minecraft.client.render.entity.model.AnimalModel
renderMethods inherited from class net.minecraft.client.render.entity.model.EntityModel
copyStateTo
-
Field Details
-
leftBackLeg
-
rightBackLeg
-
leftFrontLeg
-
rightFrontLeg
-
upperTail
-
lowerTail
-
head
-
torso
-
animationState
protected int animationState
-
-
Constructor Details
-
OcelotEntityModel
public OcelotEntityModel(float scale)
-
-
Method Details
-
getHeadParts
- Specified by:
getHeadPartsin classAnimalModel<T extends Entity>
-
getBodyParts
- Specified by:
getBodyPartsin classAnimalModel<T extends Entity>
-
setAngles
public void setAngles(T entity, float limbAngle, float limbDistance, float animationProgress, float headYaw, float headPitch)- Specified by:
setAnglesin classEntityModel<T extends Entity>
-
animateModel
- Overrides:
animateModelin classEntityModel<T extends Entity>
-