PalladiumEvents.registerAnimations((event) => {
    event.register('ninjago/earthdraconusspin', 10, (builder) => {
        const ninja_animation = animationUtil.getAnimationTimerAbilityValue(builder.getPlayer(), 'ninjago:earthdraconusform', 'ninja_animation', builder.getPartialTicks());

        if (builder.isFirstPerson()) {
            builder.get('body').setXRotDegrees(0).animate('InOut', ninja_animation);
            builder.get('body').setYRotDegrees(360).animate('', ninja_animation);
            builder.get('body').setZRotDegrees(0).animate('InOut', ninja_animation);
        } else {
            const ninja_animation = animationUtil.getAnimationTimerAbilityValue(builder.getPlayer(), 'ninjago:earthdraconusform', 'ninja_animation', builder.getPartialTicks());
            if (ninja_animation > 0.0) {
                builder.get('body').setXRotDegrees(0).animate('InOut', ninja_animation);
                builder.get('body').setYRotDegrees(360).animate('', ninja_animation);
                builder.get('body').setZRotDegrees(0).animate('InOut', ninja_animation);
            }
        }
    });
    event.register('ninjago/lightningdraconusspin', 10, (builder) => {
        const ninja_animation = animationUtil.getAnimationTimerAbilityValue(builder.getPlayer(), 'ninjago:lightningdraconusform', 'ninja_animation', builder.getPartialTicks());

        if (builder.isFirstPerson()) {
            builder.get('body').setXRotDegrees(0).animate('InOut', ninja_animation);
            builder.get('body').setYRotDegrees(360).animate('', ninja_animation);
            builder.get('body').setZRotDegrees(0).animate('InOut', ninja_animation);
        } else {
            const ninja_animation = animationUtil.getAnimationTimerAbilityValue(builder.getPlayer(), 'ninjago:lightningdraconusform', 'ninja_animation', builder.getPartialTicks());
            if (ninja_animation > 0.0) {
                builder.get('body').setXRotDegrees(0).animate('InOut', ninja_animation);
                builder.get('body').setYRotDegrees(360).animate('', ninja_animation);
                builder.get('body').setZRotDegrees(0).animate('InOut', ninja_animation);
            }
        }
    });
    event.register('ninjago/icedraconusspin', 10, (builder) => {
        const ninja_animation = animationUtil.getAnimationTimerAbilityValue(builder.getPlayer(), 'ninjago:icedraconusform', 'ninja_animation', builder.getPartialTicks());

        if (builder.isFirstPerson()) {
            builder.get('body').setXRotDegrees(0).animate('InOut', ninja_animation);
            builder.get('body').setYRotDegrees(360).animate('', ninja_animation);
            builder.get('body').setZRotDegrees(0).animate('InOut', ninja_animation);
        } else {
            const ninja_animation = animationUtil.getAnimationTimerAbilityValue(builder.getPlayer(), 'ninjago:icedraconusform', 'ninja_animation', builder.getPartialTicks());
            if (ninja_animation > 0.0) {
                builder.get('body').setXRotDegrees(0).animate('InOut', ninja_animation);
                builder.get('body').setYRotDegrees(360).animate('', ninja_animation);
                builder.get('body').setZRotDegrees(0).animate('InOut', ninja_animation);
            }
        }
    });
    event.register('ninjago/waterdraconusspin', 10, (builder) => {
        const ninja_animation = animationUtil.getAnimationTimerAbilityValue(builder.getPlayer(), 'ninjago:waterdraconusform', 'ninja_animation', builder.getPartialTicks());

        if (builder.isFirstPerson()) {
            builder.get('body').setXRotDegrees(0).animate('InOut', ninja_animation);
            builder.get('body').setYRotDegrees(360).animate('', ninja_animation);
            builder.get('body').setZRotDegrees(0).animate('InOut', ninja_animation);
        } else {
            const ninja_animation = animationUtil.getAnimationTimerAbilityValue(builder.getPlayer(), 'ninjago:waterdraconusform', 'ninja_animation', builder.getPartialTicks());
            if (ninja_animation > 0.0) {
                builder.get('body').setXRotDegrees(0).animate('InOut', ninja_animation);
                builder.get('body').setYRotDegrees(360).animate('', ninja_animation);
                builder.get('body').setZRotDegrees(0).animate('InOut', ninja_animation);
            }
        }
    });
	event.register('ninjago/staffspining', 35, (builder) => {
        const ninja_animation = animationUtil.getAnimationTimerAbilityValue(builder.getPlayer(), 'ninjago:wustaff', 'ninja_animation', builder.getPartialTicks());

        if (builder.isFirstPerson()) {
            builder.get('right_arm').setXRotDegrees(0).animate('InOut', ninja_animation);
            builder.get('right_arm').setYRotDegrees(360).animate('', ninja_animation);
            builder.get('right_arm').setZRotDegrees(0).animate('InOut', ninja_animation);
        } else {
            const ninja_animation = animationUtil.getAnimationTimerAbilityValue(builder.getPlayer(), 'ninjago:wustaff', 'ninja_animation', builder.getPartialTicks());
            if (ninja_animation > 0.0) {
                builder.get('right_arm').setXRotDegrees(0).animate('InOut', ninja_animation);
                builder.get('right_arm').setYRotDegrees(360).animate('', ninja_animation);
                builder.get('right_arm').setZRotDegrees(0).animate('InOut', ninja_animation);
            }
        }
    });
	event.register('ninjago/spinair', 35, (builder) => {
        const ninja_animation = animationUtil.getAnimationTimerAbilityValue(builder.getPlayer(), 'ninjago:air', 'ninja_animation', builder.getPartialTicks());

        if (builder.isFirstPerson()) {
            builder.get('body').setXRotDegrees(0).animate('InOut', ninja_animation);
            builder.get('body').setYRotDegrees(360).animate('', ninja_animation);
            builder.get('body').setZRotDegrees(0).animate('InOut', ninja_animation);
        } else {
            const ninja_animation = animationUtil.getAnimationTimerAbilityValue(builder.getPlayer(), 'ninjago:air', 'ninja_animation', builder.getPartialTicks());
            if (ninja_animation > 0.0) {
                builder.get('body').setXRotDegrees(0).animate('InOut', ninja_animation);
                builder.get('body').setYRotDegrees(360).animate('', ninja_animation);
                builder.get('body').setZRotDegrees(0).animate('InOut', ninja_animation);
            }
        }
    });
    event.register('ninjago/ninjaanimshattering', 103, (builder) => {
        const ninja_animation = animationUtil.getAnimationTimerAbilityValue(builder.getPlayer(), 'ninjago:shattering', 'shatter_animation', builder.getPartialTicks());

        if (builder.isFirstPerson()) {
            builder.get('body').setXRotDegrees(0).animate('InOut', ninja_animation);
            builder.get('body').setYRotDegrees(360).animate('', ninja_animation);
            builder.get('body').setZRotDegrees(0).animate('InOut', ninja_animation);
        } else {
            const ninja_animation = animationUtil.getAnimationTimerAbilityValue(builder.getPlayer(), 'ninjago:shattering', 'shatter_animation', builder.getPartialTicks());
            if (ninja_animation > 0.0) {
                builder.get('body').setXRotDegrees(0).animate('InOut', ninja_animation);
                builder.get('body').setYRotDegrees(360).animate('', ninja_animation);
                builder.get('body').setZRotDegrees(0).animate('InOut', ninja_animation);
            }
        }
    });
    event.register('ninjago/ninjaanimshatter', 103, (builder) => {
        const ninja_animation = animationUtil.getAnimationTimerAbilityValue(builder.getPlayer(), 'ninjago:shatter', 'ninja_animation', builder.getPartialTicks());

        if (builder.isFirstPerson()) {
            builder.get('body').setXRotDegrees(0).animate('InOut', ninja_animation);
            builder.get('body').setYRotDegrees(360).animate('', ninja_animation);
            builder.get('body').setZRotDegrees(0).animate('InOut', ninja_animation);
        } else {
            const ninja_animation = animationUtil.getAnimationTimerAbilityValue(builder.getPlayer(), 'ninjago:shatter', 'ninja_animation', builder.getPartialTicks());
            if (ninja_animation > 0.0) {
                builder.get('body').setXRotDegrees(0).animate('InOut', ninja_animation);
                builder.get('body').setYRotDegrees(360).animate('', ninja_animation);
                builder.get('body').setZRotDegrees(0).animate('InOut', ninja_animation);
            }
        }
    });
    event.register('ninjago/energydraconusspin', 6, (builder) => {
        const ninja_animation = animationUtil.getAnimationTimerAbilityValue(builder.getPlayer(), 'ninjago:energydraconusform', 'ninja_animation', builder.getPartialTicks());

        if (builder.isFirstPerson()) {
            builder.get('body').setXRotDegrees(0).animate('InOut', ninja_animation);
            builder.get('body').setYRotDegrees(360).animate('', ninja_animation);
            builder.get('body').setZRotDegrees(0).animate('InOut', ninja_animation);
        } else {
            const ninja_animation = animationUtil.getAnimationTimerAbilityValue(builder.getPlayer(), 'ninjago:energydraconusform', 'ninja_animation', builder.getPartialTicks());
            if (ninja_animation > 0.0) {
                builder.get('body').setXRotDegrees(0).animate('InOut', ninja_animation);
                builder.get('body').setYRotDegrees(360).animate('', ninja_animation);
                builder.get('body').setZRotDegrees(0).animate('InOut', ninja_animation);
            }
        }
    });
    event.register('ninjago/firedraconusspin', 10, (builder) => {
        const ninja_animation = animationUtil.getAnimationTimerAbilityValue(builder.getPlayer(), 'ninjago:firedraconusform', 'ninja_animation', builder.getPartialTicks());

        if (builder.isFirstPerson()) {
            builder.get('body').setXRotDegrees(0).animate('InOut', ninja_animation);
            builder.get('body').setYRotDegrees(360).animate('', ninja_animation);
            builder.get('body').setZRotDegrees(0).animate('InOut', ninja_animation);
        } else {
            const ninja_animation = animationUtil.getAnimationTimerAbilityValue(builder.getPlayer(), 'ninjago:firedraconusform', 'ninja_animation', builder.getPartialTicks());
            if (ninja_animation > 0.0) {
                builder.get('body').setXRotDegrees(0).animate('InOut', ninja_animation);
                builder.get('body').setYRotDegrees(360).animate('', ninja_animation);
                builder.get('body').setZRotDegrees(0).animate('InOut', ninja_animation);
            }
        }
    });
    event.register('ninjago/brownspin', 10, (builder) => {
        const ninja_animation = animationUtil.getAnimationTimerAbilityValue(builder.getPlayer(), 'ninjago:brownmaster', 'ninja_animation', builder.getPartialTicks());

        if (builder.isFirstPerson()) {
            builder.get('body').setXRotDegrees(0).animate('InOut', ninja_animation);
            builder.get('body').setYRotDegrees(360).animate('', ninja_animation);
            builder.get('body').setZRotDegrees(0).animate('InOut', ninja_animation);
        } else {
            const ninja_animation = animationUtil.getAnimationTimerAbilityValue(builder.getPlayer(), 'ninjago:brownmaster', 'ninja_animation', builder.getPartialTicks());
            if (ninja_animation > 0.0) {
                builder.get('body').setXRotDegrees(0).animate('InOut', ninja_animation);
                builder.get('body').setYRotDegrees(360).animate('', ninja_animation);
                builder.get('body').setZRotDegrees(0).animate('InOut', ninja_animation);
            }
        }
    });
    event.register('ninjago/ninja', 10, (builder) => {
        const ninja_animation = animationUtil.getAnimationTimerAbilityValue(builder.getPlayer(), 'ninjago:spin', 'ninja_animation', builder.getPartialTicks());

        if (builder.isFirstPerson()) {
            builder.get('body').setXRotDegrees(0).animate('InOut', ninja_animation);
            builder.get('body').setYRotDegrees(360).animate('', ninja_animation);
            builder.get('body').setZRotDegrees(0).animate('InOut', ninja_animation);
        } else {
            const ninja_animation = animationUtil.getAnimationTimerAbilityValue(builder.getPlayer(), 'ninjago:spin', 'ninja_animation', builder.getPartialTicks());
            if (ninja_animation > 0.0) {
                builder.get('body').setXRotDegrees(0).animate('InOut', ninja_animation);
                builder.get('body').setYRotDegrees(360).animate('', ninja_animation);
                builder.get('body').setZRotDegrees(0).animate('InOut', ninja_animation);
            }
        }
    });
    event.register('ninjago/mine', 35, (builder) => {
        const ninja_animation = animationUtil.getAnimationTimerAbilityValue(builder.getPlayer(), 'ninjago:earthmaster', 'path_pose', builder.getPartialTicks());
        if (builder.isFirstPerson()) {
            builder.get('body').setXRotDegrees(0).animate('InOut', ninja_animation);
            builder.get('body').setYRotDegrees(360).animate('', ninja_animation);
            builder.get('body').setZRotDegrees(0).animate('InOut', ninja_animation);
        } else {
            const ninja_animation = animationUtil.getAnimationTimerAbilityValue(builder.getPlayer(), 'ninjago:earthmaster', 'path_pose', builder.getPartialTicks());
            if (ninja_animation > 0.0) {
				builder.get('body').setXRotDegrees(0).animate('InOutBack', ninja_animation);
                builder.get('body').setYRotDegrees(360).animate('', ninja_animation);
                builder.get('body').setZRotDegrees(0).animate('InOut', ninja_animation);
            }
        }
    });
    event.register('ninjago/goldarmor', 35, (builder) => {
        const ninja_animation = animationUtil.getAnimationTimerAbilityValue(builder.getPlayer(), 'ninjago:goldenarmor', 'ninja_animation', builder.getPartialTicks());

        if (builder.isFirstPerson()) {
            builder.get('body').setXRotDegrees(0).animate('InOut', ninja_animation);
            builder.get('body').setYRotDegrees(360).animate('', ninja_animation);
            builder.get('body').setZRotDegrees(0).animate('InOut', ninja_animation);
        } else {
            const ninja_animation = animationUtil.getAnimationTimerAbilityValue(builder.getPlayer(), 'ninjago:goldenarmor', 'ninja_animation', builder.getPartialTicks());
            if (ninja_animation > 0.0) {
                builder.get('body').setXRotDegrees(0).animate('InOut', ninja_animation);
                builder.get('body').setYRotDegrees(360).animate('', ninja_animation);
                builder.get('body').setZRotDegrees(0).animate('InOut', ninja_animation);
            }
        }
    });
    event.register('ninjago/soulground', 2, (builder) => {
let animation_1 = animationUtil.getAnimationTimerAbilityValue(builder.getPlayer(), 'ninjago:soulmaster', 'Ground_Pound', builder.getPartialTicks(),5 ,8);
if (animation_1 > 0 && !builder.isFirstPerson()) {
	builder.get('body')
        .moveY(-8)
        .animate('InOutCubic', animation_1);
    builder.get('head')
        .setX(0)
        .setY(0.5)
        .setZ(-2.5)
        .setXRotDegrees(20)
        .setYRotDegrees(0)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

    builder.get('chest')
        .setX(0)
        .setY(0)
        .setZ(-2)
        .setXRotDegrees(17.5)
        .setYRotDegrees(0)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

    builder.get('right_arm')
        .setX(-5)
        .setY(5)
        .setZ(-3)
        .setXRotDegrees(0)
        .setYRotDegrees(-77.5)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

    builder.get('left_arm')
        .setXRotDegrees(54)
        .setYRotDegrees(-12)
        .setZRotDegrees(-16)
        .animate('InOutCubic', animation_1);

    builder.get('right_leg')
        .setX(-2.15)
        .setY(12)
        .setZ(-4)
        .setXRotDegrees(77.5)
        .setYRotDegrees(0)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

    builder.get('left_leg')
        .setX(2.1500000000000004)
        .setY(5)
        .setZ(-1)
        .setXRotDegrees(-5)
        .setYRotDegrees(0)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

}
    });
    event.register('ninjago/earthdraconus', 2, (builder) => {
let animation_1 = animationUtil.getAnimationTimerAbilityValue(builder.getPlayer(), 'ninjago:earthdraconusform', 'Ground_Pound', builder.getPartialTicks(),5 ,8);
if (animation_1 > 0 && !builder.isFirstPerson()) {
	builder.get('body')
        .moveY(-8)
        .animate('InOutCubic', animation_1);
    builder.get('head')
        .setX(0)
        .setY(0.5)
        .setZ(-2.5)
        .setXRotDegrees(20)
        .setYRotDegrees(0)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

    builder.get('chest')
        .setX(0)
        .setY(0)
        .setZ(-2)
        .setXRotDegrees(17.5)
        .setYRotDegrees(0)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

    builder.get('right_arm')
        .setX(-5)
        .setY(5)
        .setZ(-3)
        .setXRotDegrees(0)
        .setYRotDegrees(-77.5)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

    builder.get('left_arm')
        .setXRotDegrees(54)
        .setYRotDegrees(-12)
        .setZRotDegrees(-16)
        .animate('InOutCubic', animation_1);

    builder.get('right_leg')
        .setX(-2.15)
        .setY(12)
        .setZ(-4)
        .setXRotDegrees(77.5)
        .setYRotDegrees(0)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

    builder.get('left_leg')
        .setX(2.1500000000000004)
        .setY(5)
        .setZ(-1)
        .setXRotDegrees(-5)
        .setYRotDegrees(0)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

}
    });
    event.register('ninjago/icedraconus', 2, (builder) => {
let animation_1 = animationUtil.getAnimationTimerAbilityValue(builder.getPlayer(), 'ninjago:icedraconusform', 'Ground_Pound', builder.getPartialTicks(),5 ,8);
if (animation_1 > 0 && !builder.isFirstPerson()) {
	builder.get('body')
        .moveY(-8)
        .animate('InOutCubic', animation_1);
    builder.get('head')
        .setX(0)
        .setY(0.5)
        .setZ(-2.5)
        .setXRotDegrees(20)
        .setYRotDegrees(0)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

    builder.get('chest')
        .setX(0)
        .setY(0)
        .setZ(-2)
        .setXRotDegrees(17.5)
        .setYRotDegrees(0)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

    builder.get('right_arm')
        .setX(-5)
        .setY(5)
        .setZ(-3)
        .setXRotDegrees(0)
        .setYRotDegrees(-77.5)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

    builder.get('left_arm')
        .setXRotDegrees(54)
        .setYRotDegrees(-12)
        .setZRotDegrees(-16)
        .animate('InOutCubic', animation_1);

    builder.get('right_leg')
        .setX(-2.15)
        .setY(12)
        .setZ(-4)
        .setXRotDegrees(77.5)
        .setYRotDegrees(0)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

    builder.get('left_leg')
        .setX(2.1500000000000004)
        .setY(5)
        .setZ(-1)
        .setXRotDegrees(-5)
        .setYRotDegrees(0)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

}
    });
    event.register('ninjago/lightningdraconus', 2, (builder) => {
let animation_1 = animationUtil.getAnimationTimerAbilityValue(builder.getPlayer(), 'ninjago:lightningdraconusform', 'Ground_Pound', builder.getPartialTicks(),5 ,8);
if (animation_1 > 0 && !builder.isFirstPerson()) {
	builder.get('body')
        .moveY(-8)
        .animate('InOutCubic', animation_1);
    builder.get('head')
        .setX(0)
        .setY(0.5)
        .setZ(-2.5)
        .setXRotDegrees(20)
        .setYRotDegrees(0)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

    builder.get('chest')
        .setX(0)
        .setY(0)
        .setZ(-2)
        .setXRotDegrees(17.5)
        .setYRotDegrees(0)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

    builder.get('right_arm')
        .setX(-5)
        .setY(5)
        .setZ(-3)
        .setXRotDegrees(0)
        .setYRotDegrees(-77.5)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

    builder.get('left_arm')
        .setXRotDegrees(54)
        .setYRotDegrees(-12)
        .setZRotDegrees(-16)
        .animate('InOutCubic', animation_1);

    builder.get('right_leg')
        .setX(-2.15)
        .setY(12)
        .setZ(-4)
        .setXRotDegrees(77.5)
        .setYRotDegrees(0)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

    builder.get('left_leg')
        .setX(2.1500000000000004)
        .setY(5)
        .setZ(-1)
        .setXRotDegrees(-5)
        .setYRotDegrees(0)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

}
    });
    event.register('ninjago/waterdraconus', 2, (builder) => {
let animation_1 = animationUtil.getAnimationTimerAbilityValue(builder.getPlayer(), 'ninjago:waterdraconusform', 'Ground_Pound', builder.getPartialTicks(),5 ,8);
if (animation_1 > 0 && !builder.isFirstPerson()) {
	builder.get('body')
        .moveY(-8)
        .animate('InOutCubic', animation_1);
    builder.get('head')
        .setX(0)
        .setY(0.5)
        .setZ(-2.5)
        .setXRotDegrees(20)
        .setYRotDegrees(0)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

    builder.get('chest')
        .setX(0)
        .setY(0)
        .setZ(-2)
        .setXRotDegrees(17.5)
        .setYRotDegrees(0)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

    builder.get('right_arm')
        .setX(-5)
        .setY(5)
        .setZ(-3)
        .setXRotDegrees(0)
        .setYRotDegrees(-77.5)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

    builder.get('left_arm')
        .setXRotDegrees(54)
        .setYRotDegrees(-12)
        .setZRotDegrees(-16)
        .animate('InOutCubic', animation_1);

    builder.get('right_leg')
        .setX(-2.15)
        .setY(12)
        .setZ(-4)
        .setXRotDegrees(77.5)
        .setYRotDegrees(0)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

    builder.get('left_leg')
        .setX(2.1500000000000004)
        .setY(5)
        .setZ(-1)
        .setXRotDegrees(-5)
        .setYRotDegrees(0)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

}
    });
    event.register('ninjago/gliderw', 15, (builder) => { 
        let progress_path = animationUtil.getAnimationTimerAbilityValue(builder.getPlayer(), 'ninjago:gliderw', 'path_pose', builder.getPartialTicks());

        if (progress_path > 0.0) {
            if (builder.isFirstPerson()) {
                // do first-person animations

                builder.get('left_arm')
                .setXRotDegrees(0)
                .setYRotDegrees(0)
                .setZRotDegrees(0)
                .animate('InOutBack', progress_path);

            builder.get('right_arm')
                .setXRotDegrees(0)
                .setYRotDegrees(0)
                .setZRotDegrees(0)
                .animate('InOutBack', progress_path);
                
            } else {
                // do third-person animations
                builder.get('head')
                .setXRotDegrees(0)
                .setYRotDegrees(50)
                .setZRotDegrees(0)
                .animate('InOutBack', progress_path);

                builder.get('body')
                .setZ(0)
                .setY(-2)
                .setX(0)
                .setXRotDegrees(0)
                .setYRotDegrees(50)
                .setZRotDegrees(0)
                .animate('InOutBack', progress_path);
                
                builder.get('left_arm')
                .setXRotDegrees(10)
                .setZRotDegrees(-15)
                .setYRotDegrees(10)
                .animate('InOutBack', progress_path);

                builder.get('right_arm')
                .setXRotDegrees(-20)
                .setZRotDegrees(25)
                .setYRotDegrees(10)
                .animate('InOutBack', progress_path);
                    
                builder.get('right_leg')
                .setXRotDegrees(-6)
                .setZRotDegrees(7.5)
                .setYRotDegrees(0)
                .animate('InOutBack', progress_path);

                builder.get('left_leg')
                .setXRotDegrees(6)
                .setZRotDegrees(-7.5)
                .setYRotDegrees(0)
                .animate('InOutBack', progress_path);
            }
        }
	});
    event.register('ninjago/gliderb', 15, (builder) => { 
        let progress_path = animationUtil.getAnimationTimerAbilityValue(builder.getPlayer(), 'ninjago:gliderb', 'path_pose', builder.getPartialTicks());

        if (progress_path > 0.0) {
            if (builder.isFirstPerson()) {
                // do first-person animations

                builder.get('left_arm')
                .setXRotDegrees(0)
                .setYRotDegrees(0)
                .setZRotDegrees(0)
                .animate('InOutBack', progress_path);

            builder.get('right_arm')
                .setXRotDegrees(0)
                .setYRotDegrees(0)
                .setZRotDegrees(0)
                .animate('InOutBack', progress_path);
                
            } else {
                // do third-person animations
                builder.get('head')
                .setXRotDegrees(0)
                .setYRotDegrees(50)
                .setZRotDegrees(0)
                .animate('InOutBack', progress_path);

                builder.get('body')
                .setZ(0)
                .setY(-2)
                .setX(0)
                .setXRotDegrees(0)
                .setYRotDegrees(50)
                .setZRotDegrees(0)
                .animate('InOutBack', progress_path);
                
                builder.get('left_arm')
                .setXRotDegrees(10)
                .setZRotDegrees(-15)
                .setYRotDegrees(10)
                .animate('InOutBack', progress_path);

                builder.get('right_arm')
                .setXRotDegrees(-20)
                .setZRotDegrees(25)
                .setYRotDegrees(10)
                .animate('InOutBack', progress_path);
                    
                builder.get('right_leg')
                .setXRotDegrees(-6)
                .setZRotDegrees(7.5)
                .setYRotDegrees(0)
                .animate('InOutBack', progress_path);

                builder.get('left_leg')
                .setXRotDegrees(6)
                .setZRotDegrees(-7.5)
                .setYRotDegrees(0)
                .animate('InOutBack', progress_path);
            }
        }
	});
    event.register('ninjago/glider', 15, (builder) => { 
        let progress_path = animationUtil.getAnimationTimerAbilityValue(builder.getPlayer(), 'ninjago:glider', 'path_pose', builder.getPartialTicks());

        if (progress_path > 0.0) {
            if (builder.isFirstPerson()) {
                // do first-person animations

                builder.get('left_arm')
                .setXRotDegrees(0)
                .setYRotDegrees(0)
                .setZRotDegrees(0)
                .animate('InOutBack', progress_path);

            builder.get('right_arm')
                .setXRotDegrees(0)
                .setYRotDegrees(0)
                .setZRotDegrees(0)
                .animate('InOutBack', progress_path);
                
            } else {
                // do third-person animations
                builder.get('head')
                .setXRotDegrees(0)
                .setYRotDegrees(50)
                .setZRotDegrees(0)
                .animate('InOutBack', progress_path);

                builder.get('body')
                .setZ(0)
                .setY(-2)
                .setX(0)
                .setXRotDegrees(0)
                .setYRotDegrees(50)
                .setZRotDegrees(0)
                .animate('InOutBack', progress_path);
                
                builder.get('left_arm')
                .setXRotDegrees(10)
                .setZRotDegrees(-15)
                .setYRotDegrees(10)
                .animate('InOutBack', progress_path);

                builder.get('right_arm')
                .setXRotDegrees(-20)
                .setZRotDegrees(25)
                .setYRotDegrees(10)
                .animate('InOutBack', progress_path);
                    
                builder.get('right_leg')
                .setXRotDegrees(-6)
                .setZRotDegrees(7.5)
                .setYRotDegrees(0)
                .animate('InOutBack', progress_path);

                builder.get('left_leg')
                .setXRotDegrees(6)
                .setZRotDegrees(-7.5)
                .setYRotDegrees(0)
                .animate('InOutBack', progress_path);
            }
        }
	});
    event.register('ninjago/brownpath', 15, (builder) => { 
        let progress_path = animationUtil.getAnimationTimerAbilityValue(builder.getPlayer(), 'ninjago:brownmaster', 'path_pose', builder.getPartialTicks());

        if (progress_path > 0.0) {
            if (builder.isFirstPerson()) {
                // do first-person animations

                builder.get('left_arm')
                .setXRotDegrees(0)
                .setYRotDegrees(0)
                .setZRotDegrees(0)
                .animate('InOutBack', progress_path);

            builder.get('right_arm')
                .setXRotDegrees(0)
                .setYRotDegrees(0)
                .setZRotDegrees(0)
                .animate('InOutBack', progress_path);
                
            } else {
                // do third-person animations
                builder.get('head')
                .setXRotDegrees(0)
                .setYRotDegrees(30)
                .setZRotDegrees(0)
                .animate('InOutBack', progress_path);

                builder.get('body')
                .setZ(0)
                .setY(-2)
                .setX(0)
                .setXRotDegrees(0)
                .setYRotDegrees(35)
                .setZRotDegrees(0)
                .animate('InOutBack', progress_path);
                
                builder.get('left_arm')
                .setXRotDegrees(10)
                .setZRotDegrees(-15)
                .setYRotDegrees(10)
                .animate('InOutBack', progress_path);

                builder.get('right_arm')
                .setXRotDegrees(-20)
                .setZRotDegrees(25)
                .setYRotDegrees(10)
                .animate('InOutBack', progress_path);
                    
                builder.get('right_leg')
                .setXRotDegrees(-6)
                .setZRotDegrees(7.5)
                .setYRotDegrees(0)
                .animate('InOutBack', progress_path);

                builder.get('left_leg')
                .setXRotDegrees(6)
                .setZRotDegrees(-7.5)
                .setYRotDegrees(0)
                .animate('InOutBack', progress_path);
            }
        }
	});
    event.register('ninjago/icemaster_true', 15, (builder) => { 
        let progress_path = animationUtil.getAnimationTimerAbilityValue(builder.getPlayer(), 'ninjago:icemaster_true', 'path_pose', builder.getPartialTicks());

        if (progress_path > 0.0) {
            if (builder.isFirstPerson()) {
                // do first-person animations

                builder.get('left_arm')
                .setXRotDegrees(0)
                .setYRotDegrees(0)
                .setZRotDegrees(0)
                .animate('InOutBack', progress_path);

            builder.get('right_arm')
                .setXRotDegrees(0)
                .setYRotDegrees(0)
                .setZRotDegrees(0)
                .animate('InOutBack', progress_path);
                
            } else {
                // do third-person animations
                builder.get('head')
                .setXRotDegrees(0)
                .setYRotDegrees(30)
                .setZRotDegrees(0)
                .animate('InOutBack', progress_path);

                builder.get('body')
                .setZ(0)
                .setY(-2)
                .setX(0)
                .setXRotDegrees(0)
                .setYRotDegrees(35)
                .setZRotDegrees(0)
                .animate('InOutBack', progress_path);
                
                builder.get('left_arm')
                .setXRotDegrees(10)
                .setZRotDegrees(-15)
                .setYRotDegrees(10)
                .animate('InOutBack', progress_path);

                builder.get('right_arm')
                .setXRotDegrees(-20)
                .setZRotDegrees(25)
                .setYRotDegrees(10)
                .animate('InOutBack', progress_path);
                    
                builder.get('right_leg')
                .setXRotDegrees(-6)
                .setZRotDegrees(7.5)
                .setYRotDegrees(0)
                .animate('InOutBack', progress_path);

                builder.get('left_leg')
                .setXRotDegrees(6)
                .setZRotDegrees(-7.5)
                .setYRotDegrees(0)
                .animate('InOutBack', progress_path);
            }
        }
	});
    event.register('ninjago/icemaster', 15, (builder) => { 
        let progress_path = animationUtil.getAnimationTimerAbilityValue(builder.getPlayer(), 'ninjago:icemaster', 'path_pose', builder.getPartialTicks());

        if (progress_path > 0.0) {
            if (builder.isFirstPerson()) {
                // do first-person animations

                builder.get('left_arm')
                .setXRotDegrees(0)
                .setYRotDegrees(0)
                .setZRotDegrees(0)
                .animate('InOutBack', progress_path);

            builder.get('right_arm')
                .setXRotDegrees(0)
                .setYRotDegrees(0)
                .setZRotDegrees(0)
                .animate('InOutBack', progress_path);
                
            } else {
                // do third-person animations
                builder.get('head')
                .setXRotDegrees(0)
                .setYRotDegrees(30)
                .setZRotDegrees(0)
                .animate('InOutBack', progress_path);

                builder.get('body')
                .setZ(0)
                .setY(-2)
                .setX(0)
                .setXRotDegrees(0)
                .setYRotDegrees(35)
                .setZRotDegrees(0)
                .animate('InOutBack', progress_path);
                
                builder.get('left_arm')
                .setXRotDegrees(10)
                .setZRotDegrees(-15)
                .setYRotDegrees(10)
                .animate('InOutBack', progress_path);

                builder.get('right_arm')
                .setXRotDegrees(-20)
                .setZRotDegrees(25)
                .setYRotDegrees(10)
                .animate('InOutBack', progress_path);
                    
                builder.get('right_leg')
                .setXRotDegrees(-6)
                .setZRotDegrees(7.5)
                .setYRotDegrees(0)
                .animate('InOutBack', progress_path);

                builder.get('left_leg')
                .setXRotDegrees(6)
                .setZRotDegrees(-7.5)
                .setYRotDegrees(0)
                .animate('InOutBack', progress_path);
            }
        }
	});
    event.register('ninjago/energydraconus', 2, (builder) => {
let animation_1 = animationUtil.getAnimationTimerAbilityValue(builder.getPlayer(), 'ninjago:energydraconusform', 'Ground_Pound', builder.getPartialTicks(),5 ,8);
if (animation_1 > 0 && !builder.isFirstPerson()) {
	builder.get('body')
        .moveY(-8)
        .animate('InOutCubic', animation_1);
    builder.get('head')
        .setX(0)
        .setY(0.5)
        .setZ(-2.5)
        .setXRotDegrees(20)
        .setYRotDegrees(0)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

    builder.get('chest')
        .setX(0)
        .setY(0)
        .setZ(-2)
        .setXRotDegrees(17.5)
        .setYRotDegrees(0)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

    builder.get('right_arm')
        .setX(-5)
        .setY(5)
        .setZ(-3)
        .setXRotDegrees(0)
        .setYRotDegrees(-77.5)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

    builder.get('left_arm')
        .setXRotDegrees(54)
        .setYRotDegrees(-12)
        .setZRotDegrees(-16)
        .animate('InOutCubic', animation_1);

    builder.get('right_leg')
        .setX(-2.15)
        .setY(12)
        .setZ(-4)
        .setXRotDegrees(77.5)
        .setYRotDegrees(0)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

    builder.get('left_leg')
        .setX(2.1500000000000004)
        .setY(5)
        .setZ(-1)
        .setXRotDegrees(-5)
        .setYRotDegrees(0)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

}
    });
    event.register('ninjago/firedraconus', 2, (builder) => {
let animation_1 = animationUtil.getAnimationTimerAbilityValue(builder.getPlayer(), 'ninjago:firedraconusform', 'Ground_Pound', builder.getPartialTicks(),5 ,8);
if (animation_1 > 0 && !builder.isFirstPerson()) {
	builder.get('body')
        .moveY(-8)
        .animate('InOutCubic', animation_1);
    builder.get('head')
        .setX(0)
        .setY(0.5)
        .setZ(-2.5)
        .setXRotDegrees(20)
        .setYRotDegrees(0)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

    builder.get('chest')
        .setX(0)
        .setY(0)
        .setZ(-2)
        .setXRotDegrees(17.5)
        .setYRotDegrees(0)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

    builder.get('right_arm')
        .setX(-5)
        .setY(5)
        .setZ(-3)
        .setXRotDegrees(0)
        .setYRotDegrees(-77.5)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

    builder.get('left_arm')
        .setXRotDegrees(54)
        .setYRotDegrees(-12)
        .setZRotDegrees(-16)
        .animate('InOutCubic', animation_1);

    builder.get('right_leg')
        .setX(-2.15)
        .setY(12)
        .setZ(-4)
        .setXRotDegrees(77.5)
        .setYRotDegrees(0)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

    builder.get('left_leg')
        .setX(2.1500000000000004)
        .setY(5)
        .setZ(-1)
        .setXRotDegrees(-5)
        .setYRotDegrees(0)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

}
    });
    event.register('ninjago/energynuke', 2, (builder) => {
let animation_1 = animationUtil.getAnimationTimerAbilityValue(builder.getPlayer(), 'ninjago:nuclearenergymaster', 'Ground_Pound', builder.getPartialTicks(),5 ,8);
if (animation_1 > 0 && !builder.isFirstPerson()) {
	builder.get('body')
        .moveY(-8)
        .animate('InOutCubic', animation_1);
    builder.get('head')
        .setX(0)
        .setY(0.5)
        .setZ(-2.5)
        .setXRotDegrees(20)
        .setYRotDegrees(0)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

    builder.get('chest')
        .setX(0)
        .setY(0)
        .setZ(-2)
        .setXRotDegrees(17.5)
        .setYRotDegrees(0)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

    builder.get('right_arm')
        .setX(-5)
        .setY(5)
        .setZ(-3)
        .setXRotDegrees(0)
        .setYRotDegrees(-77.5)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

    builder.get('left_arm')
        .setXRotDegrees(54)
        .setYRotDegrees(-12)
        .setZRotDegrees(-16)
        .animate('InOutCubic', animation_1);

    builder.get('right_leg')
        .setX(-2.15)
        .setY(12)
        .setZ(-4)
        .setXRotDegrees(77.5)
        .setYRotDegrees(0)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

    builder.get('left_leg')
        .setX(2.1500000000000004)
        .setY(5)
        .setZ(-1)
        .setXRotDegrees(-5)
        .setYRotDegrees(0)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

}
    });
    event.register('ninjago/goldground', 2, (builder) => {
let animation_1 = animationUtil.getAnimationTimerAbilityValue(builder.getPlayer(), 'ninjago:goldground', 'Ground_Pound', builder.getPartialTicks(),5 ,8);
if (animation_1 > 0 && !builder.isFirstPerson()) {
	builder.get('body')
        .moveY(-8)
        .animate('InOutCubic', animation_1);
    builder.get('head')
        .setX(0)
        .setY(0.5)
        .setZ(-2.5)
        .setXRotDegrees(20)
        .setYRotDegrees(0)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

    builder.get('chest')
        .setX(0)
        .setY(0)
        .setZ(-2)
        .setXRotDegrees(17.5)
        .setYRotDegrees(0)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

    builder.get('right_arm')
        .setX(-5)
        .setY(5)
        .setZ(-3)
        .setXRotDegrees(0)
        .setYRotDegrees(-77.5)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

    builder.get('left_arm')
        .setXRotDegrees(54)
        .setYRotDegrees(-12)
        .setZRotDegrees(-16)
        .animate('InOutCubic', animation_1);

    builder.get('right_leg')
        .setX(-2.15)
        .setY(12)
        .setZ(-4)
        .setXRotDegrees(77.5)
        .setYRotDegrees(0)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

    builder.get('left_leg')
        .setX(2.1500000000000004)
        .setY(5)
        .setZ(-1)
        .setXRotDegrees(-5)
        .setYRotDegrees(0)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

}
    });
    event.register('ninjago/weaponground', 2, (builder) => {
let animation_1 = animationUtil.getAnimationTimerAbilityValue(builder.getPlayer(), 'ninjago:weaponground', 'Ground_Pound', builder.getPartialTicks(),5 ,8);
if (animation_1 > 0 && !builder.isFirstPerson()) {
	builder.get('body')
        .moveY(-8)
        .animate('InOutCubic', animation_1);
    builder.get('head')
        .setX(0)
        .setY(0.5)
        .setZ(-2.5)
        .setXRotDegrees(20)
        .setYRotDegrees(0)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

    builder.get('chest')
        .setX(0)
        .setY(0)
        .setZ(-2)
        .setXRotDegrees(17.5)
        .setYRotDegrees(0)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

    builder.get('right_arm')
        .setX(-5)
        .setY(5)
        .setZ(-3)
        .setXRotDegrees(0)
        .setYRotDegrees(-77.5)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

    builder.get('left_arm')
        .setXRotDegrees(54)
        .setYRotDegrees(-12)
        .setZRotDegrees(-16)
        .animate('InOutCubic', animation_1);

    builder.get('right_leg')
        .setX(-2.15)
        .setY(12)
        .setZ(-4)
        .setXRotDegrees(77.5)
        .setYRotDegrees(0)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

    builder.get('left_leg')
        .setX(2.1500000000000004)
        .setY(5)
        .setZ(-1)
        .setXRotDegrees(-5)
        .setYRotDegrees(0)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

}
    });
    event.register('ninjago/follyslam', 2, (builder) => {
let animation_1 = animationUtil.getAnimationTimerAbilityValue(builder.getPlayer(), 'ninjago:follyshardmaster', 'Ground_Pound', builder.getPartialTicks(),5 ,8);
if (animation_1 > 0 && !builder.isFirstPerson()) {
	builder.get('body')
        .moveY(-8)
        .animate('InOutCubic', animation_1);
    builder.get('head')
        .setX(0)
        .setY(0.5)
        .setZ(-2.5)
        .setXRotDegrees(20)
        .setYRotDegrees(0)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

    builder.get('chest')
        .setX(0)
        .setY(0)
        .setZ(-2)
        .setXRotDegrees(17.5)
        .setYRotDegrees(0)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

    builder.get('right_arm')
        .setX(-5)
        .setY(5)
        .setZ(-3)
        .setXRotDegrees(0)
        .setYRotDegrees(-77.5)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

    builder.get('left_arm')
        .setXRotDegrees(54)
        .setYRotDegrees(-12)
        .setZRotDegrees(-16)
        .animate('InOutCubic', animation_1);

    builder.get('right_leg')
        .setX(-2.15)
        .setY(12)
        .setZ(-4)
        .setXRotDegrees(77.5)
        .setYRotDegrees(0)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

    builder.get('left_leg')
        .setX(2.1500000000000004)
        .setY(5)
        .setZ(-1)
        .setXRotDegrees(-5)
        .setYRotDegrees(0)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

}
    });
    event.register('ninjago/sandslam', 2, (builder) => {
let animation_1 = animationUtil.getAnimationTimerAbilityValue(builder.getPlayer(), 'ninjago:sandmaster', 'Ground_Pound', builder.getPartialTicks(),5 ,8);
if (animation_1 > 0 && !builder.isFirstPerson()) {
	builder.get('body')
        .moveY(-8)
        .animate('InOutCubic', animation_1);
    builder.get('head')
        .setX(0)
        .setY(0.5)
        .setZ(-2.5)
        .setXRotDegrees(20)
        .setYRotDegrees(0)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

    builder.get('chest')
        .setX(0)
        .setY(0)
        .setZ(-2)
        .setXRotDegrees(17.5)
        .setYRotDegrees(0)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

    builder.get('right_arm')
        .setX(-5)
        .setY(5)
        .setZ(-3)
        .setXRotDegrees(0)
        .setYRotDegrees(-77.5)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

    builder.get('left_arm')
        .setXRotDegrees(54)
        .setYRotDegrees(-12)
        .setZRotDegrees(-16)
        .animate('InOutCubic', animation_1);

    builder.get('right_leg')
        .setX(-2.15)
        .setY(12)
        .setZ(-4)
        .setXRotDegrees(77.5)
        .setYRotDegrees(0)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

    builder.get('left_leg')
        .setX(2.1500000000000004)
        .setY(5)
        .setZ(-1)
        .setXRotDegrees(-5)
        .setYRotDegrees(0)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

}
    });
    event.register('ninjago/moongroundslam', 2, (builder) => {
let animation_1 = animationUtil.getAnimationTimerAbilityValue(builder.getPlayer(), 'ninjago:moonmaster', 'Ground_Pound', builder.getPartialTicks(),5 ,8);
if (animation_1 > 0 && !builder.isFirstPerson()) {
	builder.get('body')
        .moveY(-8)
        .animate('InOutCubic', animation_1);
    builder.get('head')
        .setX(0)
        .setY(0.5)
        .setZ(-2.5)
        .setXRotDegrees(20)
        .setYRotDegrees(0)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

    builder.get('chest')
        .setX(0)
        .setY(0)
        .setZ(-2)
        .setXRotDegrees(17.5)
        .setYRotDegrees(0)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

    builder.get('right_arm')
        .setX(-5)
        .setY(5)
        .setZ(-3)
        .setXRotDegrees(0)
        .setYRotDegrees(-77.5)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

    builder.get('left_arm')
        .setXRotDegrees(54)
        .setYRotDegrees(-12)
        .setZRotDegrees(-16)
        .animate('InOutCubic', animation_1);

    builder.get('right_leg')
        .setX(-2.15)
        .setY(12)
        .setZ(-4)
        .setXRotDegrees(77.5)
        .setYRotDegrees(0)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

    builder.get('left_leg')
        .setX(2.1500000000000004)
        .setY(5)
        .setZ(-1)
        .setXRotDegrees(-5)
        .setYRotDegrees(0)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

}
    });
    event.register('ninjago/creationdragonformground', 2, (builder) => {
let animation_1 = animationUtil.getAnimationTimerAbilityValue(builder.getPlayer(), 'ninjago:creationdragonform', 'Ground_Pound', builder.getPartialTicks(),5 ,8);
if (animation_1 > 0 && !builder.isFirstPerson()) {
	builder.get('body')
        .moveY(-8)
        .animate('InOutCubic', animation_1);
    builder.get('head')
        .setX(0)
        .setY(0.5)
        .setZ(-2.5)
        .setXRotDegrees(20)
        .setYRotDegrees(0)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

    builder.get('chest')
        .setX(0)
        .setY(0)
        .setZ(-2)
        .setXRotDegrees(17.5)
        .setYRotDegrees(0)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

    builder.get('right_arm')
        .setX(-5)
        .setY(5)
        .setZ(-3)
        .setXRotDegrees(0)
        .setYRotDegrees(-77.5)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

    builder.get('left_arm')
        .setXRotDegrees(54)
        .setYRotDegrees(-12)
        .setZRotDegrees(-16)
        .animate('InOutCubic', animation_1);

    builder.get('right_leg')
        .setX(-2.15)
        .setY(12)
        .setZ(-4)
        .setXRotDegrees(77.5)
        .setYRotDegrees(0)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

    builder.get('left_leg')
        .setX(2.1500000000000004)
        .setY(5)
        .setZ(-1)
        .setXRotDegrees(-5)
        .setYRotDegrees(0)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

}
    });
    event.register('ninjago/plasmaground', 2, (builder) => {
let animation_1 = animationUtil.getAnimationTimerAbilityValue(builder.getPlayer(), 'ninjago:plasmamaster', 'Ground_Pound', builder.getPartialTicks(),5 ,8);
if (animation_1 > 0 && !builder.isFirstPerson()) {
	builder.get('body')
        .moveY(-8)
        .animate('InOutCubic', animation_1);
    builder.get('head')
        .setX(0)
        .setY(0.5)
        .setZ(-2.5)
        .setXRotDegrees(20)
        .setYRotDegrees(0)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

    builder.get('chest')
        .setX(0)
        .setY(0)
        .setZ(-2)
        .setXRotDegrees(17.5)
        .setYRotDegrees(0)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

    builder.get('right_arm')
        .setX(-5)
        .setY(5)
        .setZ(-3)
        .setXRotDegrees(0)
        .setYRotDegrees(-77.5)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

    builder.get('left_arm')
        .setXRotDegrees(54)
        .setYRotDegrees(-12)
        .setZRotDegrees(-16)
        .animate('InOutCubic', animation_1);

    builder.get('right_leg')
        .setX(-2.15)
        .setY(12)
        .setZ(-4)
        .setXRotDegrees(77.5)
        .setYRotDegrees(0)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

    builder.get('left_leg')
        .setX(2.1500000000000004)
        .setY(5)
        .setZ(-1)
        .setXRotDegrees(-5)
        .setYRotDegrees(0)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

}
    });
    event.register('ninjago/obiground', 2, (builder) => {
let animation_1 = animationUtil.getAnimationTimerAbilityValue(builder.getPlayer(), 'ninjago:obsidianmaster', 'Ground_Pound', builder.getPartialTicks(),5 ,8);
if (animation_1 > 0 && !builder.isFirstPerson()) {
	builder.get('body')
        .moveY(-8)
        .animate('InOutCubic', animation_1);
    builder.get('head')
        .setX(0)
        .setY(0.5)
        .setZ(-2.5)
        .setXRotDegrees(20)
        .setYRotDegrees(0)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

    builder.get('chest')
        .setX(0)
        .setY(0)
        .setZ(-2)
        .setXRotDegrees(17.5)
        .setYRotDegrees(0)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

    builder.get('right_arm')
        .setX(-5)
        .setY(5)
        .setZ(-3)
        .setXRotDegrees(0)
        .setYRotDegrees(-77.5)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

    builder.get('left_arm')
        .setXRotDegrees(54)
        .setYRotDegrees(-12)
        .setZRotDegrees(-16)
        .animate('InOutCubic', animation_1);

    builder.get('right_leg')
        .setX(-2.15)
        .setY(12)
        .setZ(-4)
        .setXRotDegrees(77.5)
        .setYRotDegrees(0)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

    builder.get('left_leg')
        .setX(2.1500000000000004)
        .setY(5)
        .setZ(-1)
        .setXRotDegrees(-5)
        .setYRotDegrees(0)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

}
    });
    event.register('ninjago/stormtrue', 2, (builder) => {
let animation_1 = animationUtil.getAnimationTimerAbilityValue(builder.getPlayer(), 'ninjago:stormmaster_true', 'Ground_Pound', builder.getPartialTicks(),5 ,8);
if (animation_1 > 0 && !builder.isFirstPerson()) {
	builder.get('body')
        .moveY(-8)
        .animate('InOutCubic', animation_1);
    builder.get('head')
        .setX(0)
        .setY(0.5)
        .setZ(-2.5)
        .setXRotDegrees(20)
        .setYRotDegrees(0)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

    builder.get('chest')
        .setX(0)
        .setY(0)
        .setZ(-2)
        .setXRotDegrees(17.5)
        .setYRotDegrees(0)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

    builder.get('right_arm')
        .setX(-5)
        .setY(5)
        .setZ(-3)
        .setXRotDegrees(0)
        .setYRotDegrees(-77.5)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

    builder.get('left_arm')
        .setXRotDegrees(54)
        .setYRotDegrees(-12)
        .setZRotDegrees(-16)
        .animate('InOutCubic', animation_1);

    builder.get('right_leg')
        .setX(-2.15)
        .setY(12)
        .setZ(-4)
        .setXRotDegrees(77.5)
        .setYRotDegrees(0)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

    builder.get('left_leg')
        .setX(2.1500000000000004)
        .setY(5)
        .setZ(-1)
        .setXRotDegrees(-5)
        .setYRotDegrees(0)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

}
    });
    event.register('ninjago/oni', 2, (builder) => {
let animation_1 = animationUtil.getAnimationTimerAbilityValue(builder.getPlayer(), 'ninjago:oni', 'Ground_Pound', builder.getPartialTicks(),5 ,8);
if (animation_1 > 0 && !builder.isFirstPerson()) {
	builder.get('body')
        .moveY(-8)
        .animate('InOutCubic', animation_1);
    builder.get('head')
        .setX(0)
        .setY(0.5)
        .setZ(-2.5)
        .setXRotDegrees(20)
        .setYRotDegrees(0)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

    builder.get('chest')
        .setX(0)
        .setY(0)
        .setZ(-2)
        .setXRotDegrees(17.5)
        .setYRotDegrees(0)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

    builder.get('right_arm')
        .setX(-5)
        .setY(5)
        .setZ(-3)
        .setXRotDegrees(0)
        .setYRotDegrees(-77.5)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

    builder.get('left_arm')
        .setXRotDegrees(54)
        .setYRotDegrees(-12)
        .setZRotDegrees(-16)
        .animate('InOutCubic', animation_1);

    builder.get('right_leg')
        .setX(-2.15)
        .setY(12)
        .setZ(-4)
        .setXRotDegrees(77.5)
        .setYRotDegrees(0)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

    builder.get('left_leg')
        .setX(2.1500000000000004)
        .setY(5)
        .setZ(-1)
        .setXRotDegrees(-5)
        .setYRotDegrees(0)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

}
    });
    event.register('ninjago/vengeance', 2, (builder) => {
let animation_1 = animationUtil.getAnimationTimerAbilityValue(builder.getPlayer(), 'ninjago:vengeance', 'Ground_Pound', builder.getPartialTicks(),5 ,8);
if (animation_1 > 0 && !builder.isFirstPerson()) {
	builder.get('body')
        .moveY(-8)
        .animate('InOutCubic', animation_1);
    builder.get('head')
        .setX(0)
        .setY(0.5)
        .setZ(-2.5)
        .setXRotDegrees(20)
        .setYRotDegrees(0)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

    builder.get('chest')
        .setX(0)
        .setY(0)
        .setZ(-2)
        .setXRotDegrees(17.5)
        .setYRotDegrees(0)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

    builder.get('right_arm')
        .setX(-5)
        .setY(5)
        .setZ(-3)
        .setXRotDegrees(0)
        .setYRotDegrees(-77.5)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

    builder.get('left_arm')
        .setXRotDegrees(54)
        .setYRotDegrees(-12)
        .setZRotDegrees(-16)
        .animate('InOutCubic', animation_1);

    builder.get('right_leg')
        .setX(-2.15)
        .setY(12)
        .setZ(-4)
        .setXRotDegrees(77.5)
        .setYRotDegrees(0)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

    builder.get('left_leg')
        .setX(2.1500000000000004)
        .setY(5)
        .setZ(-1)
        .setXRotDegrees(-5)
        .setYRotDegrees(0)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

}
    });
    event.register('ninjago/ambercreate', 2, (builder) => {
let animation_1 = animationUtil.getAnimationTimerAbilityValue(builder.getPlayer(), 'ninjago:ambercreate', 'Ground_Pound', builder.getPartialTicks(),5 ,8);
if (animation_1 > 0 && !builder.isFirstPerson()) {
	builder.get('body')
        .moveY(-8)
        .animate('InOutCubic', animation_1);
    builder.get('head')
        .setX(0)
        .setY(0.5)
        .setZ(-2.5)
        .setXRotDegrees(20)
        .setYRotDegrees(0)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

    builder.get('chest')
        .setX(0)
        .setY(0)
        .setZ(-2)
        .setXRotDegrees(17.5)
        .setYRotDegrees(0)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

    builder.get('right_arm')
        .setX(-5)
        .setY(5)
        .setZ(-3)
        .setXRotDegrees(0)
        .setYRotDegrees(-77.5)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

    builder.get('left_arm')
        .setXRotDegrees(54)
        .setYRotDegrees(-12)
        .setZRotDegrees(-16)
        .animate('InOutCubic', animation_1);

    builder.get('right_leg')
        .setX(-2.15)
        .setY(12)
        .setZ(-4)
        .setXRotDegrees(77.5)
        .setYRotDegrees(0)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

    builder.get('left_leg')
        .setX(2.1500000000000004)
        .setY(5)
        .setZ(-1)
        .setXRotDegrees(-5)
        .setYRotDegrees(0)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

}
    });
    event.register('ninjago/amberearth', 2, (builder) => {
let animation_1 = animationUtil.getAnimationTimerAbilityValue(builder.getPlayer(), 'ninjago:amberearth', 'Ground_Pound', builder.getPartialTicks(),5 ,8);
if (animation_1 > 0 && !builder.isFirstPerson()) {
	builder.get('body')
        .moveY(-8)
        .animate('InOutCubic', animation_1);
    builder.get('head')
        .setX(0)
        .setY(0.5)
        .setZ(-2.5)
        .setXRotDegrees(20)
        .setYRotDegrees(0)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

    builder.get('chest')
        .setX(0)
        .setY(0)
        .setZ(-2)
        .setXRotDegrees(17.5)
        .setYRotDegrees(0)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

    builder.get('right_arm')
        .setX(-5)
        .setY(5)
        .setZ(-3)
        .setXRotDegrees(0)
        .setYRotDegrees(-77.5)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

    builder.get('left_arm')
        .setXRotDegrees(54)
        .setYRotDegrees(-12)
        .setZRotDegrees(-16)
        .animate('InOutCubic', animation_1);

    builder.get('right_leg')
        .setX(-2.15)
        .setY(12)
        .setZ(-4)
        .setXRotDegrees(77.5)
        .setYRotDegrees(0)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

    builder.get('left_leg')
        .setX(2.1500000000000004)
        .setY(5)
        .setZ(-1)
        .setXRotDegrees(-5)
        .setYRotDegrees(0)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

}
    });
    event.register('ninjago/plantsmash', 2, (builder) => {
let animation_1 = animationUtil.getAnimationTimerAbilityValue(builder.getPlayer(), 'ninjago:plantmaster', 'Ground_Pound', builder.getPartialTicks(),5 ,8);
if (animation_1 > 0 && !builder.isFirstPerson()) {
	builder.get('body')
        .moveY(-8)
        .animate('InOutCubic', animation_1);
    builder.get('head')
        .setX(0)
        .setY(0.5)
        .setZ(-2.5)
        .setXRotDegrees(20)
        .setYRotDegrees(0)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

    builder.get('chest')
        .setX(0)
        .setY(0)
        .setZ(-2)
        .setXRotDegrees(17.5)
        .setYRotDegrees(0)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

    builder.get('right_arm')
        .setX(-5)
        .setY(5)
        .setZ(-3)
        .setXRotDegrees(0)
        .setYRotDegrees(-77.5)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

    builder.get('left_arm')
        .setXRotDegrees(54)
        .setYRotDegrees(-12)
        .setZRotDegrees(-16)
        .animate('InOutCubic', animation_1);

    builder.get('right_leg')
        .setX(-2.15)
        .setY(12)
        .setZ(-4)
        .setXRotDegrees(77.5)
        .setYRotDegrees(0)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

    builder.get('left_leg')
        .setX(2.1500000000000004)
        .setY(5)
        .setZ(-1)
        .setXRotDegrees(-5)
        .setYRotDegrees(0)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

}
    });
    event.register('ninjago/chadsmash', 2, (builder) => {
let animation_1 = animationUtil.getAnimationTimerAbilityValue(builder.getPlayer(), 'ninjago:rizzmaster', 'Ground_Pound', builder.getPartialTicks(),5 ,8);
if (animation_1 > 0 && !builder.isFirstPerson()) {
	builder.get('body')
        .moveY(-8)
        .animate('InOutCubic', animation_1);
    builder.get('head')
        .setX(0)
        .setY(0.5)
        .setZ(-2.5)
        .setXRotDegrees(20)
        .setYRotDegrees(0)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

    builder.get('chest')
        .setX(0)
        .setY(0)
        .setZ(-2)
        .setXRotDegrees(17.5)
        .setYRotDegrees(0)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

    builder.get('right_arm')
        .setX(-5)
        .setY(5)
        .setZ(-3)
        .setXRotDegrees(0)
        .setYRotDegrees(-77.5)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

    builder.get('left_arm')
        .setXRotDegrees(54)
        .setYRotDegrees(-12)
        .setZRotDegrees(-16)
        .animate('InOutCubic', animation_1);

    builder.get('right_leg')
        .setX(-2.15)
        .setY(12)
        .setZ(-4)
        .setXRotDegrees(77.5)
        .setYRotDegrees(0)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

    builder.get('left_leg')
        .setX(2.1500000000000004)
        .setY(5)
        .setZ(-1)
        .setXRotDegrees(-5)
        .setYRotDegrees(0)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

}
    });
    event.register('ninjago/vibratesmash', 2, (builder) => {
let animation_1 = animationUtil.getAnimationTimerAbilityValue(builder.getPlayer(), 'ninjago:vibrationmaster', 'Ground_Pound', builder.getPartialTicks(),5 ,8);
if (animation_1 > 0 && !builder.isFirstPerson()) {
	builder.get('body')
        .moveY(-8)
        .animate('InOutCubic', animation_1);
    builder.get('head')
        .setX(0)
        .setY(0.5)
        .setZ(-2.5)
        .setXRotDegrees(20)
        .setYRotDegrees(0)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

    builder.get('chest')
        .setX(0)
        .setY(0)
        .setZ(-2)
        .setXRotDegrees(17.5)
        .setYRotDegrees(0)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

    builder.get('right_arm')
        .setX(-5)
        .setY(5)
        .setZ(-3)
        .setXRotDegrees(0)
        .setYRotDegrees(-77.5)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

    builder.get('left_arm')
        .setXRotDegrees(54)
        .setYRotDegrees(-12)
        .setZRotDegrees(-16)
        .animate('InOutCubic', animation_1);

    builder.get('right_leg')
        .setX(-2.15)
        .setY(12)
        .setZ(-4)
        .setXRotDegrees(77.5)
        .setYRotDegrees(0)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

    builder.get('left_leg')
        .setX(2.1500000000000004)
        .setY(5)
        .setZ(-1)
        .setXRotDegrees(-5)
        .setYRotDegrees(0)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

}
    });
    event.register('ninjago/brownsmash', 2, (builder) => {
let animation_1 = animationUtil.getAnimationTimerAbilityValue(builder.getPlayer(), 'ninjago:brownmaster', 'Ground_Pound', builder.getPartialTicks(),5 ,8);
if (animation_1 > 0 && !builder.isFirstPerson()) {
	builder.get('body')
        .moveY(-8)
        .animate('InOutCubic', animation_1);
    builder.get('head')
        .setX(0)
        .setY(0.5)
        .setZ(-2.5)
        .setXRotDegrees(20)
        .setYRotDegrees(0)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

    builder.get('chest')
        .setX(0)
        .setY(0)
        .setZ(-2)
        .setXRotDegrees(17.5)
        .setYRotDegrees(0)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

    builder.get('right_arm')
        .setX(-5)
        .setY(5)
        .setZ(-3)
        .setXRotDegrees(0)
        .setYRotDegrees(-77.5)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

    builder.get('left_arm')
        .setXRotDegrees(54)
        .setYRotDegrees(-12)
        .setZRotDegrees(-16)
        .animate('InOutCubic', animation_1);

    builder.get('right_leg')
        .setX(-2.15)
        .setY(12)
        .setZ(-4)
        .setXRotDegrees(77.5)
        .setYRotDegrees(0)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

    builder.get('left_leg')
        .setX(2.1500000000000004)
        .setY(5)
        .setZ(-1)
        .setXRotDegrees(-5)
        .setYRotDegrees(0)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

}
    });
    event.register('ninjago/subslam', 2, (builder) => {
let animation_1 = animationUtil.getAnimationTimerAbilityValue(builder.getPlayer(), 'ninjago:subzeromaster', 'Ground_Pound', builder.getPartialTicks(),5 ,8);
if (animation_1 > 0 && !builder.isFirstPerson()) {
	builder.get('body')
        .moveY(-8)
        .animate('InOutCubic', animation_1);
    builder.get('head')
        .setX(0)
        .setY(0.5)
        .setZ(-2.5)
        .setXRotDegrees(20)
        .setYRotDegrees(0)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

    builder.get('chest')
        .setX(0)
        .setY(0)
        .setZ(-2)
        .setXRotDegrees(17.5)
        .setYRotDegrees(0)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

    builder.get('right_arm')
        .setX(-5)
        .setY(5)
        .setZ(-3)
        .setXRotDegrees(0)
        .setYRotDegrees(-77.5)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

    builder.get('left_arm')
        .setXRotDegrees(54)
        .setYRotDegrees(-12)
        .setZRotDegrees(-16)
        .animate('InOutCubic', animation_1);

    builder.get('right_leg')
        .setX(-2.15)
        .setY(12)
        .setZ(-4)
        .setXRotDegrees(77.5)
        .setYRotDegrees(0)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

    builder.get('left_leg')
        .setX(2.1500000000000004)
        .setY(5)
        .setZ(-1)
        .setXRotDegrees(-5)
        .setYRotDegrees(0)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

}
    });
    event.register('ninjago/voidslam', 2, (builder) => {
let animation_1 = animationUtil.getAnimationTimerAbilityValue(builder.getPlayer(), 'ninjago:voidmaster', 'Ground_Pound', builder.getPartialTicks(),5 ,8);
if (animation_1 > 0 && !builder.isFirstPerson()) {
	builder.get('body')
        .moveY(-8)
        .animate('InOutCubic', animation_1);
    builder.get('head')
        .setX(0)
        .setY(0.5)
        .setZ(-2.5)
        .setXRotDegrees(20)
        .setYRotDegrees(0)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

    builder.get('chest')
        .setX(0)
        .setY(0)
        .setZ(-2)
        .setXRotDegrees(17.5)
        .setYRotDegrees(0)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

    builder.get('right_arm')
        .setX(-5)
        .setY(5)
        .setZ(-3)
        .setXRotDegrees(0)
        .setYRotDegrees(-77.5)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

    builder.get('left_arm')
        .setXRotDegrees(54)
        .setYRotDegrees(-12)
        .setZRotDegrees(-16)
        .animate('InOutCubic', animation_1);

    builder.get('right_leg')
        .setX(-2.15)
        .setY(12)
        .setZ(-4)
        .setXRotDegrees(77.5)
        .setYRotDegrees(0)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

    builder.get('left_leg')
        .setX(2.1500000000000004)
        .setY(5)
        .setZ(-1)
        .setXRotDegrees(-5)
        .setYRotDegrees(0)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

}
    });
    event.register('ninjago/nothingslam', 2, (builder) => {
let animation_1 = animationUtil.getAnimationTimerAbilityValue(builder.getPlayer(), 'ninjago:nothingmaster', 'Ground_Pound', builder.getPartialTicks(),5 ,8);
if (animation_1 > 0 && !builder.isFirstPerson()) {
	builder.get('body')
        .moveY(-8)
        .animate('InOutCubic', animation_1);
    builder.get('head')
        .setX(0)
        .setY(0.5)
        .setZ(-2.5)
        .setXRotDegrees(20)
        .setYRotDegrees(0)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

    builder.get('chest')
        .setX(0)
        .setY(0)
        .setZ(-2)
        .setXRotDegrees(17.5)
        .setYRotDegrees(0)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

    builder.get('right_arm')
        .setX(-5)
        .setY(5)
        .setZ(-3)
        .setXRotDegrees(0)
        .setYRotDegrees(-77.5)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

    builder.get('left_arm')
        .setXRotDegrees(54)
        .setYRotDegrees(-12)
        .setZRotDegrees(-16)
        .animate('InOutCubic', animation_1);

    builder.get('right_leg')
        .setX(-2.15)
        .setY(12)
        .setZ(-4)
        .setXRotDegrees(77.5)
        .setYRotDegrees(0)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

    builder.get('left_leg')
        .setX(2.1500000000000004)
        .setY(5)
        .setZ(-1)
        .setXRotDegrees(-5)
        .setYRotDegrees(0)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

}
    });
    event.register('ninjago/fspings', 2, (builder) => {
let animation_1 = animationUtil.getAnimationTimerAbilityValue(builder.getPlayer(), 'ninjago:staffv', 'Ground_Pound', builder.getPartialTicks(),5 ,8);
if (animation_1 > 0 && !builder.isFirstPerson()) {
	builder.get('body')
        .moveY(-8)
        .animate('InOutCubic', animation_1);
    builder.get('head')
        .setX(0)
        .setY(0.5)
        .setZ(-2.5)
        .setXRotDegrees(20)
        .setYRotDegrees(0)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

    builder.get('chest')
        .setX(0)
        .setY(0)
        .setZ(-2)
        .setXRotDegrees(17.5)
        .setYRotDegrees(0)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

    builder.get('right_arm')
        .setX(-5)
        .setY(5)
        .setZ(-3)
        .setXRotDegrees(0)
        .setYRotDegrees(-77.5)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

    builder.get('left_arm')
        .setXRotDegrees(54)
        .setYRotDegrees(-12)
        .setZRotDegrees(-16)
        .animate('InOutCubic', animation_1);

    builder.get('right_leg')
        .setX(-2.15)
        .setY(12)
        .setZ(-4)
        .setXRotDegrees(77.5)
        .setYRotDegrees(0)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

    builder.get('left_leg')
        .setX(2.1500000000000004)
        .setY(5)
        .setZ(-1)
        .setXRotDegrees(-5)
        .setYRotDegrees(0)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

}
    });
    event.register('ninjago/misfortunemaster', 2, (builder) => {
let animation_1 = animationUtil.getAnimationTimerAbilityValue(builder.getPlayer(), 'ninjago:misfortunemaster', 'Ground_Pound', builder.getPartialTicks(),5 ,8);
if (animation_1 > 0 && !builder.isFirstPerson()) {
	builder.get('body')
        .moveY(-8)
        .animate('InOutCubic', animation_1);
    builder.get('head')
        .setX(0)
        .setY(0.5)
        .setZ(-2.5)
        .setXRotDegrees(20)
        .setYRotDegrees(0)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

    builder.get('chest')
        .setX(0)
        .setY(0)
        .setZ(-2)
        .setXRotDegrees(17.5)
        .setYRotDegrees(0)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

    builder.get('right_arm')
        .setX(-5)
        .setY(5)
        .setZ(-3)
        .setXRotDegrees(0)
        .setYRotDegrees(-77.5)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

    builder.get('left_arm')
        .setXRotDegrees(54)
        .setYRotDegrees(-12)
        .setZRotDegrees(-16)
        .animate('InOutCubic', animation_1);

    builder.get('right_leg')
        .setX(-2.15)
        .setY(12)
        .setZ(-4)
        .setXRotDegrees(77.5)
        .setYRotDegrees(0)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

    builder.get('left_leg')
        .setX(2.1500000000000004)
        .setY(5)
        .setZ(-1)
        .setXRotDegrees(-5)
        .setYRotDegrees(0)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

}
    });
    event.register('ninjago/fearmaster', 2, (builder) => {
let animation_1 = animationUtil.getAnimationTimerAbilityValue(builder.getPlayer(), 'ninjago:fearmaster', 'Ground_Pound', builder.getPartialTicks(),5 ,8);
if (animation_1 > 0 && !builder.isFirstPerson()) {
	builder.get('body')
        .moveY(-8)
        .animate('InOutCubic', animation_1);
    builder.get('head')
        .setX(0)
        .setY(0.5)
        .setZ(-2.5)
        .setXRotDegrees(20)
        .setYRotDegrees(0)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

    builder.get('chest')
        .setX(0)
        .setY(0)
        .setZ(-2)
        .setXRotDegrees(17.5)
        .setYRotDegrees(0)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

    builder.get('right_arm')
        .setX(-5)
        .setY(5)
        .setZ(-3)
        .setXRotDegrees(0)
        .setYRotDegrees(-77.5)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

    builder.get('left_arm')
        .setXRotDegrees(54)
        .setYRotDegrees(-12)
        .setZRotDegrees(-16)
        .animate('InOutCubic', animation_1);

    builder.get('right_leg')
        .setX(-2.15)
        .setY(12)
        .setZ(-4)
        .setXRotDegrees(77.5)
        .setYRotDegrees(0)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

    builder.get('left_leg')
        .setX(2.1500000000000004)
        .setY(5)
        .setZ(-1)
        .setXRotDegrees(-5)
        .setYRotDegrees(0)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

}
    });
    event.register('ninjago/decaymaster', 2, (builder) => {
let animation_1 = animationUtil.getAnimationTimerAbilityValue(builder.getPlayer(), 'ninjago:decaymaster', 'Ground_Pound', builder.getPartialTicks(),5 ,8);
if (animation_1 > 0 && !builder.isFirstPerson()) {
	builder.get('body')
        .moveY(-8)
        .animate('InOutCubic', animation_1);
    builder.get('head')
        .setX(0)
        .setY(0.5)
        .setZ(-2.5)
        .setXRotDegrees(20)
        .setYRotDegrees(0)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

    builder.get('chest')
        .setX(0)
        .setY(0)
        .setZ(-2)
        .setXRotDegrees(17.5)
        .setYRotDegrees(0)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

    builder.get('right_arm')
        .setX(-5)
        .setY(5)
        .setZ(-3)
        .setXRotDegrees(0)
        .setYRotDegrees(-77.5)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

    builder.get('left_arm')
        .setXRotDegrees(54)
        .setYRotDegrees(-12)
        .setZRotDegrees(-16)
        .animate('InOutCubic', animation_1);

    builder.get('right_leg')
        .setX(-2.15)
        .setY(12)
        .setZ(-4)
        .setXRotDegrees(77.5)
        .setYRotDegrees(0)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

    builder.get('left_leg')
        .setX(2.1500000000000004)
        .setY(5)
        .setZ(-1)
        .setXRotDegrees(-5)
        .setYRotDegrees(0)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

}
    });
    event.register('ninjago/swarmmaster', 2, (builder) => {
let animation_1 = animationUtil.getAnimationTimerAbilityValue(builder.getPlayer(), 'ninjago:swarmmaster', 'Ground_Pound', builder.getPartialTicks(),5 ,8);
if (animation_1 > 0 && !builder.isFirstPerson()) {
	builder.get('body')
        .moveY(-8)
        .animate('InOutCubic', animation_1);
    builder.get('head')
        .setX(0)
        .setY(0.5)
        .setZ(-2.5)
        .setXRotDegrees(20)
        .setYRotDegrees(0)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

    builder.get('chest')
        .setX(0)
        .setY(0)
        .setZ(-2)
        .setXRotDegrees(17.5)
        .setYRotDegrees(0)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

    builder.get('right_arm')
        .setX(-5)
        .setY(5)
        .setZ(-3)
        .setXRotDegrees(0)
        .setYRotDegrees(-77.5)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

    builder.get('left_arm')
        .setXRotDegrees(54)
        .setYRotDegrees(-12)
        .setZRotDegrees(-16)
        .animate('InOutCubic', animation_1);

    builder.get('right_leg')
        .setX(-2.15)
        .setY(12)
        .setZ(-4)
        .setXRotDegrees(77.5)
        .setYRotDegrees(0)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

    builder.get('left_leg')
        .setX(2.1500000000000004)
        .setY(5)
        .setZ(-1)
        .setXRotDegrees(-5)
        .setYRotDegrees(0)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

}
    });
    event.register('ninjago/bruteforcemaster', 2, (builder) => {
let animation_1 = animationUtil.getAnimationTimerAbilityValue(builder.getPlayer(), 'ninjago:bruteforcemaster', 'Ground_Pound', builder.getPartialTicks(),5 ,8);
if (animation_1 > 0 && !builder.isFirstPerson()) {
	builder.get('body')
        .moveY(-8)
        .animate('InOutCubic', animation_1);
    builder.get('head')
        .setX(0)
        .setY(0.5)
        .setZ(-2.5)
        .setXRotDegrees(20)
        .setYRotDegrees(0)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

    builder.get('chest')
        .setX(0)
        .setY(0)
        .setZ(-2)
        .setXRotDegrees(17.5)
        .setYRotDegrees(0)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

    builder.get('right_arm')
        .setX(-5)
        .setY(5)
        .setZ(-3)
        .setXRotDegrees(0)
        .setYRotDegrees(-77.5)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

    builder.get('left_arm')
        .setXRotDegrees(54)
        .setYRotDegrees(-12)
        .setZRotDegrees(-16)
        .animate('InOutCubic', animation_1);

    builder.get('right_leg')
        .setX(-2.15)
        .setY(12)
        .setZ(-4)
        .setXRotDegrees(77.5)
        .setYRotDegrees(0)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

    builder.get('left_leg')
        .setX(2.1500000000000004)
        .setY(5)
        .setZ(-1)
        .setXRotDegrees(-5)
        .setYRotDegrees(0)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

}
    });
    event.register('ninjago/shockwavemaster', 2, (builder) => {
let animation_1 = animationUtil.getAnimationTimerAbilityValue(builder.getPlayer(), 'ninjago:shockwavemaster', 'Ground_Pound', builder.getPartialTicks(),5 ,8);
if (animation_1 > 0 && !builder.isFirstPerson()) {
	builder.get('body')
        .moveY(-8)
        .animate('InOutCubic', animation_1);
    builder.get('head')
        .setX(0)
        .setY(0.5)
        .setZ(-2.5)
        .setXRotDegrees(20)
        .setYRotDegrees(0)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

    builder.get('chest')
        .setX(0)
        .setY(0)
        .setZ(-2)
        .setXRotDegrees(17.5)
        .setYRotDegrees(0)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

    builder.get('right_arm')
        .setX(-5)
        .setY(5)
        .setZ(-3)
        .setXRotDegrees(0)
        .setYRotDegrees(-77.5)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

    builder.get('left_arm')
        .setXRotDegrees(54)
        .setYRotDegrees(-12)
        .setZRotDegrees(-16)
        .animate('InOutCubic', animation_1);

    builder.get('right_leg')
        .setX(-2.15)
        .setY(12)
        .setZ(-4)
        .setXRotDegrees(77.5)
        .setYRotDegrees(0)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

    builder.get('left_leg')
        .setX(2.1500000000000004)
        .setY(5)
        .setZ(-1)
        .setXRotDegrees(-5)
        .setYRotDegrees(0)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

}
    });
    event.register('ninjago/quakesmaster', 2, (builder) => {
let animation_1 = animationUtil.getAnimationTimerAbilityValue(builder.getPlayer(), 'ninjago:quakemaster', 'Ground_Pound', builder.getPartialTicks(),5 ,8);
if (animation_1 > 0 && !builder.isFirstPerson()) {
	builder.get('body')
        .moveY(-8)
        .animate('InOutCubic', animation_1);
    builder.get('head')
        .setX(0)
        .setY(0.5)
        .setZ(-2.5)
        .setXRotDegrees(20)
        .setYRotDegrees(0)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

    builder.get('chest')
        .setX(0)
        .setY(0)
        .setZ(-2)
        .setXRotDegrees(17.5)
        .setYRotDegrees(0)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

    builder.get('right_arm')
        .setX(-5)
        .setY(5)
        .setZ(-3)
        .setXRotDegrees(0)
        .setYRotDegrees(-77.5)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

    builder.get('left_arm')
        .setXRotDegrees(54)
        .setYRotDegrees(-12)
        .setZRotDegrees(-16)
        .animate('InOutCubic', animation_1);

    builder.get('right_leg')
        .setX(-2.15)
        .setY(12)
        .setZ(-4)
        .setXRotDegrees(77.5)
        .setYRotDegrees(0)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

    builder.get('left_leg')
        .setX(2.1500000000000004)
        .setY(5)
        .setZ(-1)
        .setXRotDegrees(-5)
        .setYRotDegrees(0)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

}
    });
    event.register('ninjago/metal', 2, (builder) => {
let animation_1 = animationUtil.getAnimationTimerAbilityValue(builder.getPlayer(), 'ninjago:metalmaster', 'Ground_Pound', builder.getPartialTicks(),5 ,8);
if (animation_1 > 0 && !builder.isFirstPerson()) {
	builder.get('body')
        .moveY(-8)
        .animate('InOutCubic', animation_1);
    builder.get('head')
        .setX(0)
        .setY(0.5)
        .setZ(-2.5)
        .setXRotDegrees(20)
        .setYRotDegrees(0)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

    builder.get('chest')
        .setX(0)
        .setY(0)
        .setZ(-2)
        .setXRotDegrees(17.5)
        .setYRotDegrees(0)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

    builder.get('right_arm')
        .setX(-5)
        .setY(5)
        .setZ(-3)
        .setXRotDegrees(0)
        .setYRotDegrees(-77.5)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

    builder.get('left_arm')
        .setXRotDegrees(54)
        .setYRotDegrees(-12)
        .setZRotDegrees(-16)
        .animate('InOutCubic', animation_1);

    builder.get('right_leg')
        .setX(-2.15)
        .setY(12)
        .setZ(-4)
        .setXRotDegrees(77.5)
        .setYRotDegrees(0)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

    builder.get('left_leg')
        .setX(2.1500000000000004)
        .setY(5)
        .setZ(-1)
        .setXRotDegrees(-5)
        .setYRotDegrees(0)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

}
    });
    event.register('ninjago/nature', 2, (builder) => {
let animation_1 = animationUtil.getAnimationTimerAbilityValue(builder.getPlayer(), 'ninjago:naturemaster', 'Ground_Pound', builder.getPartialTicks(),5 ,8);
if (animation_1 > 0 && !builder.isFirstPerson()) {
	builder.get('body')
        .moveY(-8)
        .animate('InOutCubic', animation_1);
    builder.get('head')
        .setX(0)
        .setY(0.5)
        .setZ(-2.5)
        .setXRotDegrees(20)
        .setYRotDegrees(0)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

    builder.get('chest')
        .setX(0)
        .setY(0)
        .setZ(-2)
        .setXRotDegrees(17.5)
        .setYRotDegrees(0)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

    builder.get('right_arm')
        .setX(-5)
        .setY(5)
        .setZ(-3)
        .setXRotDegrees(0)
        .setYRotDegrees(-77.5)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

    builder.get('left_arm')
        .setXRotDegrees(54)
        .setYRotDegrees(-12)
        .setZRotDegrees(-16)
        .animate('InOutCubic', animation_1);

    builder.get('right_leg')
        .setX(-2.15)
        .setY(12)
        .setZ(-4)
        .setXRotDegrees(77.5)
        .setYRotDegrees(0)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

    builder.get('left_leg')
        .setX(2.1500000000000004)
        .setY(5)
        .setZ(-1)
        .setXRotDegrees(-5)
        .setYRotDegrees(0)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

}
    });
    event.register('ninjago/earthdragonform', 2, (builder) => {
let animation_1 = animationUtil.getAnimationTimerAbilityValue(builder.getPlayer(), 'ninjago:earthdragonform', 'Ground_Pound', builder.getPartialTicks(),5 ,8);
if (animation_1 > 0 && !builder.isFirstPerson()) {
	builder.get('body')
        .moveY(-8)
        .animate('InOutCubic', animation_1);
    builder.get('head')
        .setX(0)
        .setY(0.5)
        .setZ(-2.5)
        .setXRotDegrees(20)
        .setYRotDegrees(0)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

    builder.get('chest')
        .setX(0)
        .setY(0)
        .setZ(-2)
        .setXRotDegrees(17.5)
        .setYRotDegrees(0)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

    builder.get('right_arm')
        .setX(-5)
        .setY(5)
        .setZ(-3)
        .setXRotDegrees(0)
        .setYRotDegrees(-77.5)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

    builder.get('left_arm')
        .setXRotDegrees(54)
        .setYRotDegrees(-12)
        .setZRotDegrees(-16)
        .animate('InOutCubic', animation_1);

    builder.get('right_leg')
        .setX(-2.15)
        .setY(12)
        .setZ(-4)
        .setXRotDegrees(77.5)
        .setYRotDegrees(0)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

    builder.get('left_leg')
        .setX(2.1500000000000004)
        .setY(5)
        .setZ(-1)
        .setXRotDegrees(-5)
        .setYRotDegrees(0)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

}
    });
    event.register('ninjago/darknessmaster', 2, (builder) => {
let animation_1 = animationUtil.getAnimationTimerAbilityValue(builder.getPlayer(), 'ninjago:darknessmaster', 'Ground_Pound', builder.getPartialTicks(),5 ,8);
if (animation_1 > 0 && !builder.isFirstPerson()) {
	builder.get('body')
        .moveY(-8)
        .animate('InOutCubic', animation_1);
    builder.get('head')
        .setX(0)
        .setY(0.5)
        .setZ(-2.5)
        .setXRotDegrees(20)
        .setYRotDegrees(0)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

    builder.get('chest')
        .setX(0)
        .setY(0)
        .setZ(-2)
        .setXRotDegrees(17.5)
        .setYRotDegrees(0)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

    builder.get('right_arm')
        .setX(-5)
        .setY(5)
        .setZ(-3)
        .setXRotDegrees(0)
        .setYRotDegrees(-77.5)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

    builder.get('left_arm')
        .setXRotDegrees(54)
        .setYRotDegrees(-12)
        .setZRotDegrees(-16)
        .animate('InOutCubic', animation_1);

    builder.get('right_leg')
        .setX(-2.15)
        .setY(12)
        .setZ(-4)
        .setXRotDegrees(77.5)
        .setYRotDegrees(0)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

    builder.get('left_leg')
        .setX(2.1500000000000004)
        .setY(5)
        .setZ(-1)
        .setXRotDegrees(-5)
        .setYRotDegrees(0)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

}
    });
    event.register('ninjago/earthmaster_true', 2, (builder) => {
let animation_1 = animationUtil.getAnimationTimerAbilityValue(builder.getPlayer(), 'ninjago:earthmaster_true', 'Ground_Pound', builder.getPartialTicks(),5 ,8);
if (animation_1 > 0 && !builder.isFirstPerson()) {
	builder.get('body')
        .moveY(-8)
        .animate('InOutCubic', animation_1);
    builder.get('head')
        .setX(0)
        .setY(0.5)
        .setZ(-2.5)
        .setXRotDegrees(20)
        .setYRotDegrees(0)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

    builder.get('chest')
        .setX(0)
        .setY(0)
        .setZ(-2)
        .setXRotDegrees(17.5)
        .setYRotDegrees(0)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

    builder.get('right_arm')
        .setX(-5)
        .setY(5)
        .setZ(-3)
        .setXRotDegrees(0)
        .setYRotDegrees(-77.5)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

    builder.get('left_arm')
        .setXRotDegrees(54)
        .setYRotDegrees(-12)
        .setZRotDegrees(-16)
        .animate('InOutCubic', animation_1);

    builder.get('right_leg')
        .setX(-2.15)
        .setY(12)
        .setZ(-4)
        .setXRotDegrees(77.5)
        .setYRotDegrees(0)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

    builder.get('left_leg')
        .setX(2.1500000000000004)
        .setY(5)
        .setZ(-1)
        .setXRotDegrees(-5)
        .setYRotDegrees(0)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

}
    });
    event.register('ninjago/descriptionidk', 2, (builder) => {
let animation_1 = animationUtil.getAnimationTimerAbilityValue(builder.getPlayer(), 'ninjago:destrictoionmaster', 'Ground_Pound', builder.getPartialTicks(),5 ,8);
if (animation_1 > 0 && !builder.isFirstPerson()) {
	builder.get('body')
        .moveY(-8)
        .animate('InOutCubic', animation_1);
    builder.get('head')
        .setX(0)
        .setY(0.5)
        .setZ(-2.5)
        .setXRotDegrees(20)
        .setYRotDegrees(0)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

    builder.get('chest')
        .setX(0)
        .setY(0)
        .setZ(-2)
        .setXRotDegrees(17.5)
        .setYRotDegrees(0)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

    builder.get('right_arm')
        .setX(-5)
        .setY(5)
        .setZ(-3)
        .setXRotDegrees(0)
        .setYRotDegrees(-77.5)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

    builder.get('left_arm')
        .setXRotDegrees(54)
        .setYRotDegrees(-12)
        .setZRotDegrees(-16)
        .animate('InOutCubic', animation_1);

    builder.get('right_leg')
        .setX(-2.15)
        .setY(12)
        .setZ(-4)
        .setXRotDegrees(77.5)
        .setYRotDegrees(0)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

    builder.get('left_leg')
        .setX(2.1500000000000004)
        .setY(5)
        .setZ(-1)
        .setXRotDegrees(-5)
        .setYRotDegrees(0)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

}
    });
    event.register('ninjago/creationidk', 2, (builder) => {
let animation_1 = animationUtil.getAnimationTimerAbilityValue(builder.getPlayer(), 'ninjago:creationmaster', 'Ground_Pound', builder.getPartialTicks(),5 ,8);
if (animation_1 > 0 && !builder.isFirstPerson()) {
	builder.get('body')
        .moveY(-8)
        .animate('InOutCubic', animation_1);
    builder.get('head')
        .setX(0)
        .setY(0.5)
        .setZ(-2.5)
        .setXRotDegrees(20)
        .setYRotDegrees(0)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

    builder.get('chest')
        .setX(0)
        .setY(0)
        .setZ(-2)
        .setXRotDegrees(17.5)
        .setYRotDegrees(0)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

    builder.get('right_arm')
        .setX(-5)
        .setY(5)
        .setZ(-3)
        .setXRotDegrees(0)
        .setYRotDegrees(-77.5)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

    builder.get('left_arm')
        .setXRotDegrees(54)
        .setYRotDegrees(-12)
        .setZRotDegrees(-16)
        .animate('InOutCubic', animation_1);

    builder.get('right_leg')
        .setX(-2.15)
        .setY(12)
        .setZ(-4)
        .setXRotDegrees(77.5)
        .setYRotDegrees(0)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

    builder.get('left_leg')
        .setX(2.1500000000000004)
        .setY(5)
        .setZ(-1)
        .setXRotDegrees(-5)
        .setYRotDegrees(0)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

}
    });
    event.register('ninjago/earthmaster', 2, (builder) => {
let animation_1 = animationUtil.getAnimationTimerAbilityValue(builder.getPlayer(), 'ninjago:earthmaster', 'Ground_Pound', builder.getPartialTicks(),5 ,8);
if (animation_1 > 0 && !builder.isFirstPerson()) {
	builder.get('body')
        .moveY(-8)
        .animate('InOutCubic', animation_1);
    builder.get('head')
        .setX(0)
        .setY(0.5)
        .setZ(-2.5)
        .setXRotDegrees(20)
        .setYRotDegrees(0)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

    builder.get('chest')
        .setX(0)
        .setY(0)
        .setZ(-2)
        .setXRotDegrees(17.5)
        .setYRotDegrees(0)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

    builder.get('right_arm')
        .setX(-5)
        .setY(5)
        .setZ(-3)
        .setXRotDegrees(0)
        .setYRotDegrees(-77.5)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

    builder.get('left_arm')
        .setXRotDegrees(54)
        .setYRotDegrees(-12)
        .setZRotDegrees(-16)
        .animate('InOutCubic', animation_1);

    builder.get('right_leg')
        .setX(-2.15)
        .setY(12)
        .setZ(-4)
        .setXRotDegrees(77.5)
        .setYRotDegrees(0)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

    builder.get('left_leg')
        .setX(2.1500000000000004)
        .setY(5)
        .setZ(-1)
        .setXRotDegrees(-5)
        .setYRotDegrees(0)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

}
    });
    event.register('ninjago/crystalscythe', 2, (builder) => {
let animation_1 = animationUtil.getAnimationTimerAbilityValue(builder.getPlayer(), 'ninjago:crystal', 'Ground_Pound', builder.getPartialTicks(),5 ,8);
if (animation_1 > 0 && !builder.isFirstPerson()) {
	builder.get('body')
        .moveY(-8)
        .animate('InOutCubic', animation_1);
    builder.get('head')
        .setX(0)
        .setY(0.5)
        .setZ(-2.5)
        .setXRotDegrees(20)
        .setYRotDegrees(0)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

    builder.get('chest')
        .setX(0)
        .setY(0)
        .setZ(-2)
        .setXRotDegrees(17.5)
        .setYRotDegrees(0)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

    builder.get('right_arm')
        .setX(-5)
        .setY(5)
        .setZ(-3)
        .setXRotDegrees(0)
        .setYRotDegrees(-77.5)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

    builder.get('left_arm')
        .setXRotDegrees(54)
        .setYRotDegrees(-12)
        .setZRotDegrees(-16)
        .animate('InOutCubic', animation_1);

    builder.get('right_leg')
        .setX(-2.15)
        .setY(12)
        .setZ(-4)
        .setXRotDegrees(77.5)
        .setYRotDegrees(0)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

    builder.get('left_leg')
        .setX(2.1500000000000004)
        .setY(5)
        .setZ(-1)
        .setXRotDegrees(-5)
        .setYRotDegrees(0)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

}
    });
    event.register('ninjago/shatteringmasteridk', 3, (builder) => {
let animation_1 = animationUtil.getAnimationTimerAbilityValue(builder.getPlayer(), 'ninjago:shattering', 'Shatter_Ground', builder.getPartialTicks(),5 ,8);
if (animation_1 > 0 && !builder.isFirstPerson()) {
	builder.get('body')
        .moveY(-8)
        .animate('InOutCubic', animation_1);
    builder.get('head')
        .setX(0)
        .setY(0.5)
        .setZ(-2.5)
        .setXRotDegrees(20)
        .setYRotDegrees(0)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

    builder.get('chest')
        .setX(0)
        .setY(0)
        .setZ(-2)
        .setXRotDegrees(17.5)
        .setYRotDegrees(0)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

    builder.get('right_arm')
        .setX(-5)
        .setY(5)
        .setZ(-3)
        .setXRotDegrees(0)
        .setYRotDegrees(-77.5)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

    builder.get('left_arm')
        .setXRotDegrees(54)
        .setYRotDegrees(-12)
        .setZRotDegrees(-16)
        .animate('InOutCubic', animation_1);

    builder.get('right_leg')
        .setX(-2.15)
        .setY(12)
        .setZ(-4)
        .setXRotDegrees(77.5)
        .setYRotDegrees(0)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

    builder.get('left_leg')
        .setX(2.1500000000000004)
        .setY(5)
        .setZ(-1)
        .setXRotDegrees(-5)
        .setYRotDegrees(0)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

}
    });
    event.register('ninjago/shattermasteridk', 2, (builder) => {
let animation_1 = animationUtil.getAnimationTimerAbilityValue(builder.getPlayer(), 'ninjago:shatter', 'Ground_Pound', builder.getPartialTicks(),5 ,8);
if (animation_1 > 0 && !builder.isFirstPerson()) {
	builder.get('body')
        .moveY(-8)
        .animate('InOutCubic', animation_1);
    builder.get('head')
        .setX(0)
        .setY(0.5)
        .setZ(-2.5)
        .setXRotDegrees(20)
        .setYRotDegrees(0)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

    builder.get('chest')
        .setX(0)
        .setY(0)
        .setZ(-2)
        .setXRotDegrees(17.5)
        .setYRotDegrees(0)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

    builder.get('right_arm')
        .setX(-5)
        .setY(5)
        .setZ(-3)
        .setXRotDegrees(0)
        .setYRotDegrees(-77.5)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

    builder.get('left_arm')
        .setXRotDegrees(54)
        .setYRotDegrees(-12)
        .setZRotDegrees(-16)
        .animate('InOutCubic', animation_1);

    builder.get('right_leg')
        .setX(-2.15)
        .setY(12)
        .setZ(-4)
        .setXRotDegrees(77.5)
        .setYRotDegrees(0)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

    builder.get('left_leg')
        .setX(2.1500000000000004)
        .setY(5)
        .setZ(-1)
        .setXRotDegrees(-5)
        .setYRotDegrees(0)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

}
    });
    event.register('ninjago/energymaster', 2, (builder) => {
let animation_1 = animationUtil.getAnimationTimerAbilityValue(builder.getPlayer(), 'ninjago:energymaster', 'Ground_Pound', builder.getPartialTicks(),5 ,8);
if (animation_1 > 0 && !builder.isFirstPerson()) {
	builder.get('body')
        .moveY(-8)
        .animate('InOutCubic', animation_1);
    builder.get('head')
        .setX(0)
        .setY(0.5)
        .setZ(-2.5)
        .setXRotDegrees(20)
        .setYRotDegrees(0)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

    builder.get('chest')
        .setX(0)
        .setY(0)
        .setZ(-2)
        .setXRotDegrees(17.5)
        .setYRotDegrees(0)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

    builder.get('right_arm')
        .setX(-5)
        .setY(5)
        .setZ(-3)
        .setXRotDegrees(0)
        .setYRotDegrees(-77.5)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

    builder.get('left_arm')
        .setXRotDegrees(54)
        .setYRotDegrees(-12)
        .setZRotDegrees(-16)
        .animate('InOutCubic', animation_1);

    builder.get('right_leg')
        .setX(-2.15)
        .setY(12)
        .setZ(-4)
        .setXRotDegrees(77.5)
        .setYRotDegrees(0)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

    builder.get('left_leg')
        .setX(2.1500000000000004)
        .setY(5)
        .setZ(-1)
        .setXRotDegrees(-5)
        .setYRotDegrees(0)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

}
    });
	
    event.register('ninjago/scythe', 2, (builder) => {
let animation_1 = animationUtil.getAnimationTimerAbilityValue(builder.getPlayer(), 'ninjago:scythe', 'Ground_Pound', builder.getPartialTicks(),5 ,8);
if (animation_1 > 0 && !builder.isFirstPerson()) {
	builder.get('body')
        .moveY(-8)
        .animate('InOutCubic', animation_1);
    builder.get('head')
        .setX(0)
        .setY(0.5)
        .setZ(-2.5)
        .setXRotDegrees(20)
        .setYRotDegrees(0)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

    builder.get('chest')
        .setX(0)
        .setY(0)
        .setZ(-2)
        .setXRotDegrees(17.5)
        .setYRotDegrees(0)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

    builder.get('right_arm')
        .setX(-5)
        .setY(5)
        .setZ(-3)
        .setXRotDegrees(0)
        .setYRotDegrees(-77.5)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

    builder.get('left_arm')
        .setXRotDegrees(54)
        .setYRotDegrees(-12)
        .setZRotDegrees(-16)
        .animate('InOutCubic', animation_1);

    builder.get('right_leg')
        .setX(-2.15)
        .setY(12)
        .setZ(-4)
        .setXRotDegrees(77.5)
        .setYRotDegrees(0)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

    builder.get('left_leg')
        .setX(2.1500000000000004)
        .setY(5)
        .setZ(-1)
        .setXRotDegrees(-5)
        .setYRotDegrees(0)
        .setZRotDegrees(0)
        .animate('InOutCubic', animation_1);

}
    });
});