Class AxolotlModel<T extends Axolotl & LerpingModel>


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

  • Constructor Details Link icon

    • AxolotlModel Link icon

      public AxolotlModel(ModelPart p_170370_)
  • Method Details Link icon

    • createBodyLayer Link icon

      public static LayerDefinition createBodyLayer()
    • headParts Link icon

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

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

      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 Link icon

      private void saveAnimationValues(T p_170389_)
    • getRotationVector Link icon

      private org.joml.Vector3f getRotationVector(ModelPart p_254355_)
    • setRotationFromVector Link icon

      private void setRotationFromVector(ModelPart p_254301_, org.joml.Vector3f p_253783_)
    • setupInitialAnimationValues Link icon

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

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

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

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

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

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

      private void setupWaterHoveringAnimation(float p_170373_)
    • setupSwimmingAnimation Link icon

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

      private void setupPlayDeadAnimation(float p_170413_)
    • applyMirrorLegRotations Link icon

      private void applyMirrorLegRotations()