Package net.minecraft.client.model
Class VillagerModel<T extends Entity>
java.lang.Object
net.minecraft.client.model.Model
net.minecraft.client.model.EntityModel<T>
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
FieldsModifier 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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic MeshDefinition
getHead()
void
hatVisible
(boolean visible) root()
void
setupAnim
(T entity, float limbSwing, float limbSwingAmount, float ageInTicks, float netHeadYaw, float headPitch) Sets this entity's model rotation anglesMethods inherited from class net.minecraft.client.model.HierarchicalModel
animate, animate, animate, animate, animateWalk, animateWalk, applyStatic, applyStatic, getAnimation, getAnyDescendantWithName, renderToBuffer
Methods inherited from class net.minecraft.client.model.EntityModel
copyPropertiesTo, prepareMobModel
Methods inherited from class net.minecraft.client.model.Model
renderToBuffer, 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 entity, float limbSwing, float limbSwingAmount, float ageInTicks, float netHeadYaw, float headPitch) Sets this entity's model rotation angles- Specified by:
setupAnim
in classEntityModel<T extends Entity>
-
getHead
- Specified by:
getHead
in interfaceHeadedModel
-
hatVisible
public void hatVisible(boolean visible) - Specified by:
hatVisible
in interfaceVillagerHeadModel
-