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 ModelPartprivate final ModelPartprivate final ModelPartprivate final ModelPartprotected final ModelPartprivate final ModelPartprivate final ModelPartFields inherited from class net.minecraft.client.model.EntityModel
attackTime, riding, youngFields inherited from class net.minecraft.client.model.Model
renderType -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic MeshDefinitiongetHead()voidhatVisible(boolean pVisible) root()voidsetupAnim(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, renderToBufferMethods inherited from class net.minecraft.client.model.EntityModel
copyPropertiesTo, prepareMobModelMethods 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:
rootin 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:
setupAnimin classEntityModel<T extends Entity>
-
getHead
- Specified by:
getHeadin interfaceHeadedModel
-
hatVisible
public void hatVisible(boolean pVisible) - Specified by:
hatVisiblein interfaceVillagerHeadModel
-