Class AxolotlModel
java.lang.Object
net.minecraft.client.model.Model<AxolotlRenderState>
net.minecraft.client.model.EntityModel<AxolotlRenderState>
net.minecraft.client.model.animal.axolotl.AxolotlModel
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.client.model.Model
Model.Simple -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final MeshTransformerprivate final ModelPartprivate final ModelPartprivate final ModelPartprivate final ModelPartprivate final ModelPartprivate final ModelPartprivate final ModelPartprivate final ModelPartstatic final floatprivate final ModelPartprivate final ModelPartFields inherited from class net.minecraft.client.model.EntityModel
MODEL_Y_OFFSETFields inherited from class net.minecraft.client.model.Model
renderType, root -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate voidapplyMirrorLegRotations(float factor) static LayerDefinitionvoidsetupAnim(AxolotlRenderState p_478616_) private voidsetupGroundCrawlingAnimation(float ageInTicks, float deltaYHeadRot) private voidsetupLayStillOnGroundAnimation(float ageInTicks, float deltaYHeadRot) private voidsetupPlayDeadAnimation(float playingDeadFactor) private voidsetupSwimmingAnimation(float ageInTicks, float xRot, float movingFactor) private voidsetupWaterHoveringAnimation(float ageInTicks, float swimmingFactor) Methods inherited from class net.minecraft.client.model.Model
allParts, getAnimation, renderToBuffer, renderToBuffer, renderType, resetPose, root
-
Field Details
-
SWIMMING_LEG_XROT
public static final float SWIMMING_LEG_XROT- See Also:
-
BABY_TRANSFORMER
-
tail
-
leftHindLeg
-
rightHindLeg
-
leftFrontLeg
-
rightFrontLeg
-
body
-
head
-
topGills
-
leftGills
-
rightGills
-
-
Constructor Details
-
AxolotlModel
-
-
Method Details
-
createBodyLayer
-
setupAnim
- Overrides:
setupAnimin classModel<AxolotlRenderState>
-
setupLayStillOnGroundAnimation
private void setupLayStillOnGroundAnimation(float ageInTicks, float deltaYHeadRot) -
setupGroundCrawlingAnimation
private void setupGroundCrawlingAnimation(float ageInTicks, float deltaYHeadRot) -
setupWaterHoveringAnimation
private void setupWaterHoveringAnimation(float ageInTicks, float swimmingFactor) -
setupSwimmingAnimation
private void setupSwimmingAnimation(float ageInTicks, float xRot, float movingFactor) -
setupPlayDeadAnimation
private void setupPlayDeadAnimation(float playingDeadFactor) -
applyMirrorLegRotations
private void applyMirrorLegRotations(float factor)
-