Class HorseModel<T extends AbstractHorseEntity>
- java.lang.Object
-
- net.minecraft.client.renderer.model.Model
-
- net.minecraft.client.renderer.entity.model.EntityModel<E>
-
- net.minecraft.client.renderer.entity.model.AgeableModel<T>
-
- net.minecraft.client.renderer.entity.model.HorseModel<T>
-
- All Implemented Interfaces:
java.util.function.Consumer<ModelRenderer>
- Direct Known Subclasses:
HorseArmorChestsModel
public class HorseModel<T extends AbstractHorseEntity> extends AgeableModel<T>
-
-
Field Summary
Fields Modifier and Type Field Description private ModelRenderer
babyLeg1
private ModelRenderer
babyLeg2
private ModelRenderer
babyLeg3
private ModelRenderer
babyLeg4
protected ModelRenderer
body
protected ModelRenderer
headParts
private ModelRenderer
leg1
private ModelRenderer
leg2
private ModelRenderer
leg3
private ModelRenderer
leg4
private ModelRenderer[]
ridingParts
private ModelRenderer[]
saddleParts
private ModelRenderer
tail
-
Fields inherited from class net.minecraft.client.renderer.entity.model.EntityModel
attackTime, riding, young
-
Fields inherited from class net.minecraft.client.renderer.model.Model
renderType, texHeight, texWidth
-
-
Constructor Summary
Constructors Constructor Description HorseModel(float p_i51065_1_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
addEarModels(ModelRenderer p_199047_1_)
protected java.lang.Iterable<ModelRenderer>
bodyParts()
java.lang.Iterable<ModelRenderer>
headParts()
void
prepareMobModel(T p_212843_1_, float p_212843_2_, float p_212843_3_, float p_212843_4_)
void
setupAnim(T p_225597_1_, float p_225597_2_, float p_225597_3_, float p_225597_4_, float p_225597_5_, float p_225597_6_)
-
Methods inherited from class net.minecraft.client.renderer.entity.model.AgeableModel
renderToBuffer
-
Methods inherited from class net.minecraft.client.renderer.entity.model.EntityModel
copyPropertiesTo
-
Methods inherited from class net.minecraft.client.renderer.model.Model
accept, renderType
-
-
-
-
Field Detail
-
body
protected final ModelRenderer body
-
headParts
protected final ModelRenderer headParts
-
leg1
private final ModelRenderer leg1
-
leg2
private final ModelRenderer leg2
-
leg3
private final ModelRenderer leg3
-
leg4
private final ModelRenderer leg4
-
babyLeg1
private final ModelRenderer babyLeg1
-
babyLeg2
private final ModelRenderer babyLeg2
-
babyLeg3
private final ModelRenderer babyLeg3
-
babyLeg4
private final ModelRenderer babyLeg4
-
tail
private final ModelRenderer tail
-
saddleParts
private final ModelRenderer[] saddleParts
-
ridingParts
private final ModelRenderer[] ridingParts
-
-
Method Detail
-
addEarModels
protected void addEarModels(ModelRenderer p_199047_1_)
-
setupAnim
public void setupAnim(T p_225597_1_, float p_225597_2_, float p_225597_3_, float p_225597_4_, float p_225597_5_, float p_225597_6_)
- Specified by:
setupAnim
in classEntityModel<T extends AbstractHorseEntity>
-
headParts
public java.lang.Iterable<ModelRenderer> headParts()
- Specified by:
headParts
in classAgeableModel<T extends AbstractHorseEntity>
-
bodyParts
protected java.lang.Iterable<ModelRenderer> bodyParts()
- Specified by:
bodyParts
in classAgeableModel<T extends AbstractHorseEntity>
-
prepareMobModel
public void prepareMobModel(T p_212843_1_, float p_212843_2_, float p_212843_3_, float p_212843_4_)
- Overrides:
prepareMobModel
in classEntityModel<T extends AbstractHorseEntity>
-
-