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 pPart) private voidprivate floatlerpTo(float pStart, float pEnd) private floatlerpTo(float pDelta, float pStart, float pEnd) private voidsaveAnimationValues(T pAxolotl) private voidsetRotationFromVector(ModelPart pPart, org.joml.Vector3f pRotation) voidsetupAnim(T pEntity, float pLimbSwing, float pLimbSwingAmount, float pAgeInTicks, float pNetHeadYaw, float pHeadPitch) Sets this entity's model rotation anglesprivate voidsetupGroundCrawlingAnimation(float pAgeInTicks, float pNetHeadYaw) private voidsetupInitialAnimationValues(T pAxolotl, float pNetHeadYaw, float pHeadPitch) private voidsetupLayStillOnGroundAnimation(float pAgeInTicks, float pNetHeadYaw) private voidsetupPlayDeadAnimation(float pNetHeadYaw) private voidsetupSwimmingAnimation(float pAgeInTicks, float pHeadPitch) private voidsetupWaterHoveringAnimation(float pAgeInTicks) 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 pEntity, float pLimbSwing, float pLimbSwingAmount, float pAgeInTicks, float pNetHeadYaw, float pHeadPitch) Sets this entity's model rotation angles- Specified by:
setupAnimin classEntityModel<T extends Axolotl & LerpingModel>
-
saveAnimationValues
-
getRotationVector
-
setRotationFromVector
-
setupInitialAnimationValues
-
lerpTo
private float lerpTo(float pStart, float pEnd) -
lerpTo
private float lerpTo(float pDelta, float pStart, float pEnd) -
lerpPart
-
setupLayStillOnGroundAnimation
private void setupLayStillOnGroundAnimation(float pAgeInTicks, float pNetHeadYaw) -
setupGroundCrawlingAnimation
private void setupGroundCrawlingAnimation(float pAgeInTicks, float pNetHeadYaw) -
setupWaterHoveringAnimation
private void setupWaterHoveringAnimation(float pAgeInTicks) -
setupSwimmingAnimation
private void setupSwimmingAnimation(float pAgeInTicks, float pHeadPitch) -
setupPlayDeadAnimation
private void setupPlayDeadAnimation(float pNetHeadYaw) -
applyMirrorLegRotations
private void applyMirrorLegRotations()
-