Class AxolotlModel<T extends Axolotl & LerpingModel>


public class AxolotlModel<T extends Axolotl & LerpingModel> extends AgeableListModel<T>
  • Field Details

  • Constructor Details

    • AxolotlModel

      public AxolotlModel(ModelPart p_170370_)
  • Method Details

    • createBodyLayer

      public static LayerDefinition createBodyLayer()
    • headParts

      protected Iterable<ModelPart> headParts()
      Specified by:
      headParts in class AgeableListModel<T extends Axolotl & LerpingModel>
    • bodyParts

      protected Iterable<ModelPart> bodyParts()
      Specified by:
      bodyParts in class AgeableListModel<T extends Axolotl & LerpingModel>
    • setupAnim

      public void setupAnim(T p_170395_, float p_170396_, float p_170397_, float p_170398_, float p_170399_, float p_170400_)
      Specified by:
      setupAnim in class EntityModel<T extends Axolotl & LerpingModel>
    • saveAnimationValues

      private void saveAnimationValues(T p_170389_)
    • getRotationVector

      private Vector3f getRotationVector(ModelPart p_170402_)
    • setRotationFromVector

      private void setRotationFromVector(ModelPart p_170409_, Vector3f p_170410_)
    • setupInitialAnimationValues

      private void setupInitialAnimationValues(T p_170391_, float p_170392_, float p_170393_)
    • lerpTo

      private float lerpTo(float p_170375_, float p_170376_)
    • lerpTo

      private float lerpTo(float p_170378_, float p_170379_, float p_170380_)
    • lerpPart

      private void lerpPart(ModelPart p_170404_, float p_170405_, float p_170406_, float p_170407_)
    • setupLayStillOnGroundAnimation

      private void setupLayStillOnGroundAnimation(float p_170415_, float p_170416_)
    • setupGroundCrawlingAnimation

      private void setupGroundCrawlingAnimation(float p_170419_, float p_170420_)
    • setupWaterHoveringAnimation

      private void setupWaterHoveringAnimation(float p_170373_)
    • setupSwimmingAnimation

      private void setupSwimmingAnimation(float p_170423_, float p_170424_)
    • setupPlayDeadAnimation

      private void setupPlayDeadAnimation(float p_170413_)
    • applyMirrorLegRotations

      private void applyMirrorLegRotations()