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 cubeDeformation) void
prepareMobModel
(T entity, float limbSwing, float limbSwingAmount, float partialTick) root()
void
setupAnim
(T entity, float limbSwing, float limbSwingAmount, float ageInTicks, float netHeadYaw, float headPitch) Sets this entity's model rotation anglesprivate static <T extends WitherBoss>
voidsetupHeadRotation
(T wither, ModelPart part, int head) 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 entity, float limbSwing, float limbSwingAmount, float ageInTicks, float netHeadYaw, float headPitch) Sets this entity's model rotation angles- Specified by:
setupAnim
in classEntityModel<T extends WitherBoss>
-
prepareMobModel
- Overrides:
prepareMobModel
in classEntityModel<T extends WitherBoss>
-
setupHeadRotation
-