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 int
animationState
protected ModelPart
body
protected ModelPart
head
protected ModelPart
leftFrontLeg
protected ModelPart
leftHindLeg
protected ModelPart
lowerTail
protected ModelPart
rightFrontLeg
protected ModelPart
rightHindLeg
protected ModelPart
upperTail
Fields inherited from class net.minecraft.client.render.entity.model.EntityModel
child, handSwingProgress, riding
Fields inherited from class net.minecraft.client.model.Model
layerFactory
-
Constructor Summary
Constructors Constructor Description OcelotEntityModel(ModelPart root)
-
Method Summary
Modifier and Type Method Description void
animateModel(T entity, float limbAngle, float limbDistance, float tickDelta)
protected Iterable<ModelPart>
getBodyParts()
protected Iterable<ModelPart>
getHeadParts()
static ModelData
getModelData(Dilation dilation)
void
setAngles(T entity, float limbAngle, float limbDistance, float animationProgress, float headYaw, float headPitch)
Methods inherited from class net.minecraft.client.render.entity.model.AnimalModel
render
Methods inherited from class net.minecraft.client.render.entity.model.EntityModel
copyStateTo
-
Field Details
-
leftHindLeg
-
rightHindLeg
-
leftFrontLeg
-
rightFrontLeg
-
upperTail
-
lowerTail
-
head
-
body
-
animationState
protected int animationState
-
-
Constructor Details
-
OcelotEntityModel
-
-
Method Details
-
getModelData
-
getHeadParts
- Specified by:
getHeadParts
in classAnimalModel<T extends Entity>
-
getBodyParts
- Specified by:
getBodyParts
in classAnimalModel<T extends Entity>
-
setAngles
public void setAngles(T entity, float limbAngle, float limbDistance, float animationProgress, float headYaw, float headPitch)- Specified by:
setAngles
in classEntityModel<T extends Entity>
-
animateModel
- Overrides:
animateModel
in classEntityModel<T extends Entity>
-