Package net.minecraft.client.model
Class IllagerModel<T extends AbstractIllager>
java.lang.Object
net.minecraft.client.model.Model
net.minecraft.client.model.EntityModel<T>
net.minecraft.client.model.HierarchicalModel<T>
net.minecraft.client.model.IllagerModel<T>
- All Implemented Interfaces:
ArmedModel,HeadedModel
public class IllagerModel<T extends AbstractIllager>
extends HierarchicalModel<T>
implements ArmedModel, HeadedModel
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final ModelPartprivate final ModelPartprivate final ModelPartprivate final ModelPartprivate final ModelPartprivate 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 LayerDefinitionprivate ModelPartgetArm(HumanoidArm arm) getHat()getHead()root()voidsetupAnim(T entity, float limbSwing, float limbSwingAmount, float ageInTicks, float netHeadYaw, float headPitch) Sets this entity's model rotation anglesvoidtranslateToHand(HumanoidArm side, PoseStack poseStack) Methods 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
-
arms
-
leftLeg
-
rightLeg
-
rightArm
-
leftArm
-
-
Constructor Details
-
IllagerModel
-
-
Method Details
-
createBodyLayer
-
root
- Specified by:
rootin classHierarchicalModel<T extends AbstractIllager>
-
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:
setupAnimin classEntityModel<T extends AbstractIllager>
-
getArm
-
getHat
-
getHead
- Specified by:
getHeadin interfaceHeadedModel
-
translateToHand
- Specified by:
translateToHandin interfaceArmedModel
-