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 String
private final ModelPart
private static final String
private final ModelPart
private final ModelPart
private static final String
private static final float
private static final String
private final ModelPart
private final ModelPart
private final ModelPart
private static final float
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 LayerDefinition
createBodyLayer
(CubeDeformation pCubeDeformation) void
prepareMobModel
(T pEntity, float pLimbSwing, float pLimbSwingAmount, float pPartialTick) root()
void
setupAnim
(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, renderToBuffer
Methods inherited from class net.minecraft.client.model.EntityModel
copyPropertiesTo
Methods 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:
root
in 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:
setupAnim
in classEntityModel<T extends WitherBoss>
-
prepareMobModel
public void prepareMobModel(T pEntity, float pLimbSwing, float pLimbSwingAmount, float pPartialTick) - Overrides:
prepareMobModel
in classEntityModel<T extends WitherBoss>
-
setupHeadRotation
-