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:
Consumer<ModelRenderer>
,IHasHead
,IHeadToggle
- Direct Known Subclasses:
WitchModel
public class VillagerModel<T extends Entity>
extends SegmentedModel<T>
implements IHasHead, IHeadToggle
-
Field Summary
Modifier and TypeFieldDescriptionprotected final ModelRenderer
protected final ModelRenderer
protected ModelRenderer
protected final ModelRenderer
protected ModelRenderer
protected final ModelRenderer
protected final ModelRenderer
protected final ModelRenderer
protected final ModelRenderer
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
ConstructorDescriptionVillagerModel
(float p_i1163_1_) VillagerModel
(float p_i51059_1_, int p_i51059_2_, int p_i51059_3_) -
Method Summary
Modifier and TypeMethodDescriptiongetHead()
void
hatVisible
(boolean p_217146_1_) 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 Details
-
head
-
hat
-
hatRim
-
body
-
jacket
-
arms
-
leg0
-
leg1
-
nose
-
-
Constructor Details
-
VillagerModel
public VillagerModel(float p_i1163_1_) -
VillagerModel
public VillagerModel(float p_i51059_1_, int p_i51059_2_, int p_i51059_3_)
-
-
Method Details
-
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
-
hatVisible
public void hatVisible(boolean p_217146_1_) - Specified by:
hatVisible
in interfaceIHeadToggle
-