cawezs_mantle_to_stratus/models/animations/nymbus_modelAnimation.java

38 lines
1.8 KiB
Java

// Save this class in your mod and generate all required imports
/**
* Made with Blockbench 4.12.3 Exported for Minecraft version 1.19 or later with
* Mojang mappings
*
* @author Author
*/
public class nymbus_modelAnimation {
public static final AnimationDefinition nymbus_animation = AnimationDefinition.Builder.withLength(6.0F).looping()
.addAnimation("bone",
new AnimationChannel(AnimationChannel.Targets.ROTATION,
new Keyframe(0.0F, KeyframeAnimations.degreeVec(0.0F, 20.0F, 0.0F),
AnimationChannel.Interpolations.LINEAR),
new Keyframe(5.9583F, KeyframeAnimations.degreeVec(0.0F, 380.0F, 0.0F),
AnimationChannel.Interpolations.LINEAR)))
.addAnimation("bone2",
new AnimationChannel(AnimationChannel.Targets.ROTATION,
new Keyframe(0.0F, KeyframeAnimations.degreeVec(0.0F, 0.0F, 17.5F),
AnimationChannel.Interpolations.LINEAR),
new Keyframe(6.0F, KeyframeAnimations.degreeVec(0.0F, 0.0F, 377.5F),
AnimationChannel.Interpolations.LINEAR)))
.addAnimation("bone3",
new AnimationChannel(AnimationChannel.Targets.ROTATION,
new Keyframe(0.0F, KeyframeAnimations.degreeVec(-45.0F, 0.0F, 0.0F),
AnimationChannel.Interpolations.LINEAR),
new Keyframe(6.0F, KeyframeAnimations.degreeVec(-405.0F, 0.0F, 0.0F),
AnimationChannel.Interpolations.LINEAR)))
.addAnimation("bone4",
new AnimationChannel(AnimationChannel.Targets.ROTATION,
new Keyframe(0.0F, KeyframeAnimations.degreeVec(41.7371F, -9.9186F, 33.3083F),
AnimationChannel.Interpolations.LINEAR),
new Keyframe(3.0F, KeyframeAnimations.degreeVec(138.1991F, -63.9144F, 59.6859F),
AnimationChannel.Interpolations.LINEAR),
new Keyframe(5.9583F, KeyframeAnimations.degreeVec(41.7371F, -9.9186F, 33.3083F),
AnimationChannel.Interpolations.LINEAR)))
.build();
}