Class VillagerModel<T extends Entity>
- java.lang.Object
-
- net.minecraft.client.renderer.model.Model
-
- net.minecraft.client.renderer.entity.model.EntityModel<E>
-
- net.minecraft.client.renderer.entity.model.SegmentedModel<T>
-
- net.minecraft.client.renderer.entity.model.VillagerModel<T>
-
- All Implemented Interfaces:
java.util.function.Consumer<ModelRenderer>
,IHasHead
,IHeadToggle
- Direct Known Subclasses:
WitchModel
public class VillagerModel<T extends Entity> extends SegmentedModel<T> implements IHasHead, IHeadToggle
-
-
Field Summary
Fields Modifier and Type Field Description protected ModelRenderer
arms
protected ModelRenderer
body
protected ModelRenderer
hat
protected ModelRenderer
hatRim
protected ModelRenderer
head
protected ModelRenderer
jacket
protected ModelRenderer
leg0
protected ModelRenderer
leg1
protected ModelRenderer
nose
-
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 VillagerModel(float p_i1163_1_)
VillagerModel(float p_i51059_1_, int p_i51059_2_, int p_i51059_3_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ModelRenderer
getHead()
void
hatVisible(boolean p_217146_1_)
java.lang.Iterable<ModelRenderer>
parts()
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.SegmentedModel
renderToBuffer
-
Methods inherited from class net.minecraft.client.renderer.entity.model.EntityModel
copyPropertiesTo, prepareMobModel
-
Methods inherited from class net.minecraft.client.renderer.model.Model
accept, renderType
-
-
-
-
Field Detail
-
head
protected ModelRenderer head
-
hat
protected ModelRenderer hat
-
hatRim
protected final ModelRenderer hatRim
-
body
protected final ModelRenderer body
-
jacket
protected final ModelRenderer jacket
-
arms
protected final ModelRenderer arms
-
leg0
protected final ModelRenderer leg0
-
leg1
protected final ModelRenderer leg1
-
nose
protected final ModelRenderer nose
-
-
Method Detail
-
parts
public java.lang.Iterable<ModelRenderer> parts()
- Specified by:
parts
in classSegmentedModel<T extends Entity>
-
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 Entity>
-
getHead
public ModelRenderer getHead()
-
hatVisible
public void hatVisible(boolean p_217146_1_)
- Specified by:
hatVisible
in interfaceIHeadToggle
-
-