Package net.minecraft.client.model
Class VillagerModel<T extends Entity>
java.lang.Object
net.minecraft.client.model.Model
net.minecraft.client.model.EntityModel<E>
net.minecraft.client.model.HierarchicalModel<T>
net.minecraft.client.model.VillagerModel<T>
- All Implemented Interfaces:
HeadedModel
,VillagerHeadModel
- Direct Known Subclasses:
WitchModel
public class VillagerModel<T extends Entity>
extends HierarchicalModel<T>
implements HeadedModel, VillagerHeadModel
-
Field Summary
Modifier and TypeFieldDescriptionprivate final ModelPart
private final ModelPart
private final ModelPart
private final ModelPart
protected final ModelPart
private final ModelPart
private final ModelPart
Fields inherited from class net.minecraft.client.model.EntityModel
attackTime, riding, young
Fields inherited from class net.minecraft.client.model.Model
renderType
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic MeshDefinition
getHead()
void
hatVisible
(boolean p_104060_) root()
void
setupAnim
(T p_104053_, float p_104054_, float p_104055_, float p_104056_, float p_104057_, float p_104058_) Methods inherited from class net.minecraft.client.model.HierarchicalModel
animate, animate, getAnyDescendantWithName, renderToBuffer
Methods inherited from class net.minecraft.client.model.EntityModel
copyPropertiesTo, prepareMobModel
Methods inherited from class net.minecraft.client.model.Model
renderType
-
Field Details
-
root
-
head
-
hat
-
hatRim
-
rightLeg
-
leftLeg
-
nose
-
-
Constructor Details
-
VillagerModel
-
-
Method Details
-
createBodyModel
-
root
- Specified by:
root
in classHierarchicalModel<T extends Entity>
-
setupAnim
public void setupAnim(T p_104053_, float p_104054_, float p_104055_, float p_104056_, float p_104057_, float p_104058_) - Specified by:
setupAnim
in classEntityModel<T extends Entity>
-
getHead
- Specified by:
getHead
in interfaceHeadedModel
-
hatVisible
public void hatVisible(boolean p_104060_) - Specified by:
hatVisible
in interfaceVillagerHeadModel
-