cawezs_mantle_to_stratus/models/animations/ceilock_modelAnimation.java

52 lines
2.6 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 ceilock_modelAnimation {
public static final AnimationDefinition idle = AnimationDefinition.Builder.withLength(8.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.5833F, KeyframeAnimations.degreeVec(0.0F, 0.0F, -5.0F),
AnimationChannel.Interpolations.LINEAR),
new Keyframe(4.0F, KeyframeAnimations.degreeVec(0.0F, 0.0F, 0.0F),
AnimationChannel.Interpolations.LINEAR),
new Keyframe(6.0F, KeyframeAnimations.degreeVec(0.0F, 0.0F, -5.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(2.375F, KeyframeAnimations.degreeVec(5.0F, 0.0F, 0.0F),
AnimationChannel.Interpolations.LINEAR),
new Keyframe(4.5833F, KeyframeAnimations.degreeVec(0.0F, 0.0F, 0.0F),
AnimationChannel.Interpolations.LINEAR),
new Keyframe(6.0F, KeyframeAnimations.degreeVec(5.0F, 0.0F, 0.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.375F, KeyframeAnimations.degreeVec(-7.5F, 0.0F, 0.0F),
AnimationChannel.Interpolations.LINEAR),
new Keyframe(3.4167F, KeyframeAnimations.degreeVec(0.0F, 0.0F, 0.0F),
AnimationChannel.Interpolations.LINEAR),
new Keyframe(6.0F, KeyframeAnimations.degreeVec(-7.5F, 0.0F, 0.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(2.4583F, KeyframeAnimations.degreeVec(0.0F, 0.0F, 10.0F),
AnimationChannel.Interpolations.LINEAR),
new Keyframe(4.3333F, KeyframeAnimations.degreeVec(0.0F, 0.0F, 0.0F),
AnimationChannel.Interpolations.LINEAR),
new Keyframe(6.0F, KeyframeAnimations.degreeVec(0.0F, 0.0F, 10.0F),
AnimationChannel.Interpolations.LINEAR)))
.build();
}