Class HorseEntityModel<T extends HorseBaseEntity>
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.HorseEntityModel<T>
- Direct Known Subclasses:
DonkeyEntityModel
@Environment(CLIENT) public class HorseEntityModel<T extends HorseBaseEntity> extends AnimalModel<T>
-
Field Summary
Fields Modifier and Type Field Description protected ModelPart
body
protected ModelPart
head
private ModelPart
leftFrontBabyLeg
private ModelPart
leftFrontLeg
private ModelPart
leftHindBabyLeg
private ModelPart
leftHindLeg
private ModelPart
rightFrontBabyLeg
private ModelPart
rightFrontLeg
private ModelPart
rightHindBabyLeg
private ModelPart
rightHindLeg
private ModelPart[]
saddle
private ModelPart[]
straps
private ModelPart
tail
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 HorseEntityModel(ModelPart root)
-
Method Summary
Modifier and Type Method Description void
animateModel(T t, float float2, float float3, float float4)
protected Iterable<ModelPart>
getBodyParts()
Iterable<ModelPart>
getHeadParts()
static ModelData
getModelData(Dilation dilation)
void
setAngles(T t, float float2, float float3, float float4, float float5, float float6)
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
-
body
-
head
-
rightHindLeg
-
leftHindLeg
-
rightFrontLeg
-
leftFrontLeg
-
rightHindBabyLeg
-
leftHindBabyLeg
-
rightFrontBabyLeg
-
leftFrontBabyLeg
-
tail
-
saddle
-
straps
-
-
Constructor Details
-
HorseEntityModel
-
-
Method Details
-
getModelData
-
setAngles
- Specified by:
setAngles
in classEntityModel<T extends HorseBaseEntity>
-
getHeadParts
- Specified by:
getHeadParts
in classAnimalModel<T extends HorseBaseEntity>
-
getBodyParts
- Specified by:
getBodyParts
in classAnimalModel<T extends HorseBaseEntity>
-
animateModel
- Overrides:
animateModel
in classEntityModel<T extends HorseBaseEntity>
-