Class CamelModel
java.lang.Object
net.minecraft.client.model.Model<CamelRenderState>
net.minecraft.client.model.EntityModel<CamelRenderState>
net.minecraft.client.model.animal.camel.CamelModel
- Direct Known Subclasses:
AdultCamelModel, BabyCamelModel
-
Nested Class Summary
Nested classes/interfaces inherited from class Model
Model.Simple -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final KeyframeAnimationprotected final ModelPartprivate final KeyframeAnimationprivate static final floatprivate final KeyframeAnimationprivate final KeyframeAnimationprivate final KeyframeAnimationprivate static final floatprivate final KeyframeAnimationFields inherited from class EntityModel
MODEL_Y_OFFSETFields inherited from class Model
renderType, root -
Constructor Summary
ConstructorsConstructorDescriptionCamelModel(ModelPart root, AnimationDefinition walk, AnimationDefinition sit, AnimationDefinition sitPose, AnimationDefinition standup, AnimationDefinition idle, AnimationDefinition dash) -
Method Summary
Modifier and TypeMethodDescriptionprivate voidapplyHeadRotation(CamelRenderState state, float yRot, float xRot) voidsetupAnim(CamelRenderState state) Methods inherited from class Model
allParts, getAnimation, renderToBuffer, renderToBuffer, renderType, resetPose, root
-
Field Details
-
MAX_WALK_ANIMATION_SPEED
private static final float MAX_WALK_ANIMATION_SPEED- See Also:
-
WALK_ANIMATION_SCALE_FACTOR
private static final float WALK_ANIMATION_SCALE_FACTOR- See Also:
-
head
-
walkAnimation
-
sitAnimation
-
sitPoseAnimation
-
standupAnimation
-
idleAnimation
-
dashAnimation
-
-
Constructor Details
-
CamelModel
public CamelModel(ModelPart root, AnimationDefinition walk, AnimationDefinition sit, AnimationDefinition sitPose, AnimationDefinition standup, AnimationDefinition idle, AnimationDefinition dash)
-
-
Method Details
-
setupAnim
- Overrides:
setupAnimin classModel<CamelRenderState>
-
applyHeadRotation
-