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 pVisible) root()
void
setupAnim
(T pEntity, float pLimbSwing, float pLimbSwingAmount, float pAgeInTicks, float pNetHeadYaw, float pHeadPitch) 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 pEntity, float pLimbSwing, float pLimbSwingAmount, float pAgeInTicks, float pNetHeadYaw, float pHeadPitch) 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 pVisible) - Specified by:
hatVisible
in interfaceVillagerHeadModel
-