cawezs_mantle_to_stratus/models/animations/CallionAnimation.java
2025-06-02 10:05:26 -04:00

128 lines
6.9 KiB
Java

// Save this class in your mod and generate all required imports
/**
* Made with Blockbench 4.12.4 Exported for Minecraft version 1.19 or later with
* Mojang mappings
*
* @author Author
*/
public class CallionAnimation {
public static final AnimationDefinition callionanimation = AnimationDefinition.Builder.withLength(1.0F).looping()
.addAnimation("bone",
new AnimationChannel(AnimationChannel.Targets.ROTATION,
new Keyframe(0.0F, KeyframeAnimations.degreeVec(0.0F, 0.0F, 0.0F),
AnimationChannel.Interpolations.LINEAR),
new Keyframe(1.0F, KeyframeAnimations.degreeVec(0.0F, 0.0F, 0.0F),
AnimationChannel.Interpolations.LINEAR)))
.addAnimation("bone",
new AnimationChannel(AnimationChannel.Targets.POSITION,
new Keyframe(0.0F, KeyframeAnimations.posVec(0.0F, 0.0F, 0.0F),
AnimationChannel.Interpolations.LINEAR),
new Keyframe(0.1667F, KeyframeAnimations.posVec(0.0F, 0.0F, 2.0F),
AnimationChannel.Interpolations.LINEAR),
new Keyframe(0.6667F, KeyframeAnimations.posVec(0.0F, 2.0F, 0.0F),
AnimationChannel.Interpolations.LINEAR),
new Keyframe(0.8333F, KeyframeAnimations.posVec(0.0F, 0.0F, 0.0F),
AnimationChannel.Interpolations.LINEAR),
new Keyframe(1.0F, KeyframeAnimations.posVec(0.0F, 0.0F, 0.0F),
AnimationChannel.Interpolations.LINEAR)))
.addAnimation("bone",
new AnimationChannel(AnimationChannel.Targets.SCALE,
new Keyframe(0.0F, KeyframeAnimations.scaleVec(1.0F, 1.0F, 1.0F),
AnimationChannel.Interpolations.LINEAR),
new Keyframe(0.25F, KeyframeAnimations.scaleVec(0.9F, 1.0F, 0.9F),
AnimationChannel.Interpolations.LINEAR),
new Keyframe(0.75F, KeyframeAnimations.scaleVec(0.9F, 1.0F, 0.9F),
AnimationChannel.Interpolations.LINEAR),
new Keyframe(1.0F, KeyframeAnimations.scaleVec(1.0F, 1.0F, 1.0F),
AnimationChannel.Interpolations.LINEAR)))
.addAnimation("bone2",
new AnimationChannel(AnimationChannel.Targets.ROTATION,
new Keyframe(0.0F, KeyframeAnimations.degreeVec(0.0F, 0.0F, 0.0F),
AnimationChannel.Interpolations.LINEAR),
new Keyframe(1.0F, KeyframeAnimations.degreeVec(0.0F, 0.0F, 0.0F),
AnimationChannel.Interpolations.LINEAR)))
.addAnimation("bone2",
new AnimationChannel(AnimationChannel.Targets.POSITION,
new Keyframe(0.0F, KeyframeAnimations.posVec(0.0F, 0.0F, 0.0F),
AnimationChannel.Interpolations.LINEAR),
new Keyframe(0.1667F, KeyframeAnimations.posVec(0.0F, 2.0F, 0.0F),
AnimationChannel.Interpolations.LINEAR),
new Keyframe(0.4167F, KeyframeAnimations.posVec(0.0F, 0.0F, 0.0F),
AnimationChannel.Interpolations.LINEAR),
new Keyframe(1.0F, KeyframeAnimations.posVec(0.0F, 0.0F, 0.0F),
AnimationChannel.Interpolations.LINEAR)))
.addAnimation("bone2",
new AnimationChannel(AnimationChannel.Targets.SCALE,
new Keyframe(0.0F, KeyframeAnimations.scaleVec(1.0F, 1.0F, 1.0F),
AnimationChannel.Interpolations.LINEAR),
new Keyframe(0.25F, KeyframeAnimations.scaleVec(0.9F, 1.0F, 0.9F),
AnimationChannel.Interpolations.LINEAR),
new Keyframe(0.75F, KeyframeAnimations.scaleVec(0.9F, 1.0F, 0.9F),
AnimationChannel.Interpolations.LINEAR),
new Keyframe(1.0F, KeyframeAnimations.scaleVec(1.0F, 1.0F, 1.0F),
AnimationChannel.Interpolations.LINEAR)))
.addAnimation("bone3",
new AnimationChannel(AnimationChannel.Targets.ROTATION,
new Keyframe(0.0F, KeyframeAnimations.degreeVec(0.0F, 0.0F, 0.0F),
AnimationChannel.Interpolations.LINEAR),
new Keyframe(1.0F, KeyframeAnimations.degreeVec(0.0F, 0.0F, 0.0F),
AnimationChannel.Interpolations.LINEAR)))
.addAnimation("bone3",
new AnimationChannel(AnimationChannel.Targets.POSITION,
new Keyframe(0.0F, KeyframeAnimations.posVec(0.0F, 0.0F, 0.0F),
AnimationChannel.Interpolations.LINEAR),
new Keyframe(0.1667F, KeyframeAnimations.posVec(0.0F, 0.0F, 2.0F),
AnimationChannel.Interpolations.LINEAR),
new Keyframe(0.6667F, KeyframeAnimations.posVec(0.0F, 1.0F, 1.0F),
AnimationChannel.Interpolations.LINEAR),
new Keyframe(0.8333F, KeyframeAnimations.posVec(0.0F, 0.0F, 0.0F),
AnimationChannel.Interpolations.LINEAR),
new Keyframe(1.0F, KeyframeAnimations.posVec(0.0F, 0.0F, 0.0F),
AnimationChannel.Interpolations.LINEAR)))
.addAnimation("bone3",
new AnimationChannel(AnimationChannel.Targets.SCALE,
new Keyframe(0.0F, KeyframeAnimations.scaleVec(1.0F, 1.0F, 1.0F),
AnimationChannel.Interpolations.LINEAR),
new Keyframe(0.25F, KeyframeAnimations.scaleVec(0.9F, 1.0F, 0.9F),
AnimationChannel.Interpolations.LINEAR),
new Keyframe(0.75F, KeyframeAnimations.scaleVec(0.9F, 1.0F, 0.9F),
AnimationChannel.Interpolations.LINEAR),
new Keyframe(1.0F, KeyframeAnimations.scaleVec(1.0F, 1.0F, 1.0F),
AnimationChannel.Interpolations.LINEAR)))
.addAnimation("bone4",
new AnimationChannel(AnimationChannel.Targets.ROTATION,
new Keyframe(0.0F, KeyframeAnimations.degreeVec(0.0F, 0.0F, 0.0F),
AnimationChannel.Interpolations.LINEAR),
new Keyframe(1.0F, KeyframeAnimations.degreeVec(0.0F, 0.0F, 0.0F),
AnimationChannel.Interpolations.LINEAR)))
.addAnimation("bone4",
new AnimationChannel(AnimationChannel.Targets.POSITION,
new Keyframe(0.0F, KeyframeAnimations.posVec(0.0F, 0.0F, 0.0F),
AnimationChannel.Interpolations.LINEAR),
new Keyframe(0.1667F, KeyframeAnimations.posVec(0.0F, 2.0F, 2.0F),
AnimationChannel.Interpolations.LINEAR),
new Keyframe(0.2917F, KeyframeAnimations.posVec(0.0F, 2.0F, 0.0F),
AnimationChannel.Interpolations.LINEAR),
new Keyframe(0.4167F, KeyframeAnimations.posVec(0.0F, 0.0F, 0.0F),
AnimationChannel.Interpolations.LINEAR),
new Keyframe(1.0F, KeyframeAnimations.posVec(0.0F, 0.0F, 0.0F),
AnimationChannel.Interpolations.LINEAR)))
.addAnimation("bone4",
new AnimationChannel(AnimationChannel.Targets.SCALE,
new Keyframe(0.0F, KeyframeAnimations.scaleVec(1.0F, 1.0F, 1.0F),
AnimationChannel.Interpolations.LINEAR),
new Keyframe(0.25F, KeyframeAnimations.scaleVec(0.9F, 1.0F, 0.9F),
AnimationChannel.Interpolations.LINEAR),
new Keyframe(0.75F, KeyframeAnimations.scaleVec(0.9F, 1.0F, 0.9F),
AnimationChannel.Interpolations.LINEAR),
new Keyframe(1.0F, KeyframeAnimations.scaleVec(1.0F, 1.0F, 1.0F),
AnimationChannel.Interpolations.LINEAR)))
.addAnimation("bone5",
new AnimationChannel(AnimationChannel.Targets.POSITION,
new Keyframe(0.0F, KeyframeAnimations.posVec(0.0F, 0.0F, 0.0F),
AnimationChannel.Interpolations.LINEAR),
new Keyframe(1.0F, KeyframeAnimations.posVec(0.0F, 0.0F, 0.0F),
AnimationChannel.Interpolations.LINEAR)))
.build();
}