Package net.minecraft.client.model
Class WardenModel<T extends Warden>
java.lang.Object
net.minecraft.client.model.Model
net.minecraft.client.model.EntityModel<T>
net.minecraft.client.model.HierarchicalModel<T>
net.minecraft.client.model.WardenModel<T>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final ModelPartprotected final ModelPartprivate static final floatprivate static final floatprotected final ModelPartprotected final ModelPartprotected final ModelPartprotected final ModelPartprotected final ModelPartprotected final ModelPartprotected final ModelPartprotected final ModelPartprotected 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 TypeMethodDescriptionprivate voidanimateHeadLookTarget(float yaw, float pitch) private voidanimateIdlePose(float ageInTicks) private voidanimateTendrils(T entity, float ageInTicks, float partialTick) private voidanimateWalk(float limbSwing, float limbSwingAmount) static LayerDefinitionprivate voidroot()voidsetupAnim(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, renderToBufferMethods inherited from class net.minecraft.client.model.EntityModel
copyPropertiesTo, prepareMobModelMethods inherited from class net.minecraft.client.model.Model
renderToBuffer, renderType
-
Field Details
-
DEFAULT_ARM_X_Y
private static final float DEFAULT_ARM_X_Y- See Also:
-
DEFAULT_ARM_Z
private static final float DEFAULT_ARM_Z- See Also:
-
root
-
bone
-
body
-
head
-
rightTendril
-
leftTendril
-
leftLeg
-
leftArm
-
leftRibcage
-
rightArm
-
rightLeg
-
rightRibcage
-
tendrilsLayerModelParts
-
heartLayerModelParts
-
bioluminescentLayerModelParts
-
pulsatingSpotsLayerModelParts
-
-
Constructor Details
-
WardenModel
-
-
Method Details
-
createBodyLayer
-
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 Warden>
-
animateHeadLookTarget
private void animateHeadLookTarget(float yaw, float pitch) -
animateIdlePose
private void animateIdlePose(float ageInTicks) -
animateWalk
private void animateWalk(float limbSwing, float limbSwingAmount) -
resetArmPoses
private void resetArmPoses() -
animateTendrils
-
root
- Specified by:
rootin classHierarchicalModel<T extends Warden>
-
getTendrilsLayerModelParts
-
getHeartLayerModelParts
-
getBioluminescentLayerModelParts
-
getPulsatingSpotsLayerModelParts
-