Package net.minecraft.client.model
Class WitherBossModel<T extends WitherBoss>
java.lang.Object
net.minecraft.client.model.Model
net.minecraft.client.model.EntityModel<T>
net.minecraft.client.model.HierarchicalModel<T>
net.minecraft.client.model.WitherBossModel<T>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final Stringprivate final ModelPartprivate static final Stringprivate final ModelPartprivate final ModelPartprivate static final Stringprivate static final floatprivate static final Stringprivate final ModelPartprivate final ModelPartprivate final ModelPartprivate static final floatFields 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 LayerDefinitioncreateBodyLayer(CubeDeformation pCubeDeformation) voidprepareMobModel(T pEntity, float pLimbSwing, float pLimbSwingAmount, float pPartialTick) root()voidsetupAnim(T pEntity, float pLimbSwing, float pLimbSwingAmount, float pAgeInTicks, float pNetHeadYaw, float pHeadPitch) Sets this entity's model rotation anglesprivate static <T extends WitherBoss>
voidsetupHeadRotation(T pWither, ModelPart pPart, int pHead) 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
copyPropertiesToMethods inherited from class net.minecraft.client.model.Model
renderToBuffer, renderType
-
Field Details
-
RIBCAGE
- See Also:
-
CENTER_HEAD
- See Also:
-
RIGHT_HEAD
- See Also:
-
LEFT_HEAD
- See Also:
-
RIBCAGE_X_ROT_OFFSET
private static final float RIBCAGE_X_ROT_OFFSET- See Also:
-
TAIL_X_ROT_OFFSET
private static final float TAIL_X_ROT_OFFSET- See Also:
-
root
-
centerHead
-
rightHead
-
leftHead
-
ribcage
-
tail
-
-
Constructor Details
-
WitherBossModel
-
-
Method Details
-
createBodyLayer
-
root
- Specified by:
rootin classHierarchicalModel<T extends WitherBoss>
-
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 WitherBoss>
-
prepareMobModel
public void prepareMobModel(T pEntity, float pLimbSwing, float pLimbSwingAmount, float pPartialTick) - Overrides:
prepareMobModelin classEntityModel<T extends WitherBoss>
-
setupHeadRotation
-