Package net.minecraft.client.model
Class AxolotlModel<T extends Axolotl & LerpingModel>
java.lang.Object
net.minecraft.client.model.Model
net.minecraft.client.model.EntityModel<T>
net.minecraft.client.model.AgeableListModel<T>
net.minecraft.client.model.AxolotlModel<T>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate 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
attackTime, riding, youngFields inherited from class net.minecraft.client.model.Model
renderType -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate voidstatic LayerDefinitionprivate org.joml.Vector3fgetRotationVector(ModelPart part) private voidprivate floatlerpTo(float start, float end) private floatlerpTo(float delta, float start, float end) private voidsaveAnimationValues(T axolotl) private voidsetRotationFromVector(ModelPart part, org.joml.Vector3f rotation) voidsetupAnim(T entity, float limbSwing, float limbSwingAmount, float ageInTicks, float netHeadYaw, float headPitch) Sets this entity's model rotation anglesprivate voidsetupGroundCrawlingAnimation(float ageInTicks, float netHeadYaw) private voidsetupInitialAnimationValues(T axolotl, float netHeadYaw, float headPitch) private voidsetupLayStillOnGroundAnimation(float ageInTicks, float netHeadYaw) private voidsetupPlayDeadAnimation(float netHeadYaw) private voidsetupSwimmingAnimation(float ageInTicks, float headPitch) private voidsetupWaterHoveringAnimation(float ageInTicks) Methods inherited from class net.minecraft.client.model.AgeableListModel
renderToBufferMethods inherited from class net.minecraft.client.model.EntityModel
copyPropertiesTo, prepareMobModelMethods inherited from class net.minecraft.client.model.Model
renderToBuffer, renderType
-
Field Details
-
SWIMMING_LEG_XROT
public static final float SWIMMING_LEG_XROT- See Also:
-
tail
-
leftHindLeg
-
rightHindLeg
-
leftFrontLeg
-
rightFrontLeg
-
body
-
head
-
topGills
-
leftGills
-
rightGills
-
-
Constructor Details
-
AxolotlModel
-
-
Method Details
-
createBodyLayer
-
headParts
- Specified by:
headPartsin classAgeableListModel<T extends Axolotl & LerpingModel>
-
bodyParts
- Specified by:
bodyPartsin classAgeableListModel<T extends Axolotl & LerpingModel>
-
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:
setupAnimin classEntityModel<T extends Axolotl & LerpingModel>
-
saveAnimationValues
-
getRotationVector
-
setRotationFromVector
-
setupInitialAnimationValues
-
lerpTo
private float lerpTo(float start, float end) -
lerpTo
private float lerpTo(float delta, float start, float end) -
lerpPart
-
setupLayStillOnGroundAnimation
private void setupLayStillOnGroundAnimation(float ageInTicks, float netHeadYaw) -
setupGroundCrawlingAnimation
private void setupGroundCrawlingAnimation(float ageInTicks, float netHeadYaw) -
setupWaterHoveringAnimation
private void setupWaterHoveringAnimation(float ageInTicks) -
setupSwimmingAnimation
private void setupSwimmingAnimation(float ageInTicks, float headPitch) -
setupPlayDeadAnimation
private void setupPlayDeadAnimation(float netHeadYaw) -
applyMirrorLegRotations
private void applyMirrorLegRotations()
-