import { system, world } from "@minecraft/server";

export const ConstantAnimation = {
  idle: "animation.combat.idle",
  walk: "animation.combat.walk",
  sprint: "animation.combat.sprint",
  block: "animation.combat.block"
};

export const CombatAnimationParticle = {
    sword: {
        combo_1: "imc_pa:rl_slash",
        combo_2: "imc_pa:lr_ag_r_slash",
        combo_3: "imc_pa:rl_slash",
        combo_4: "imc_pa:lr_slash"
    },
    saber: {
        combo_1: "imc_pa:rl_slash",
        combo_2: "imc_pa:lr_ag_r_slash",
        combo_3: "imc_pa:rl_slash",
        combo_4: "imc_pa:lr_slash"
    },
    long_sword: {
        combo_1: "imc_pa",
        combo_2: "imc_pa:lr_ag_l_slash",
        combo_3: "imc_pa:rl_ag_r_slash",
        combo_4: "imc_pa:lr_ag_r_slash"
    },
    axe: {
        combo_1: "imc_pa:rl_slash",
        combo_2: "imc_pa:lr_slash",
        combo_3: "imc_pa:top_slash",
        combo_4: "imc_pa:lr_ag_r_slash"
    },
    pickaxe: {
        combo_1: "imc_pa:rl_slash",
        combo_2: "imc_pa:lr_slash",
        combo_3: "imc_pa:top_slash",
        combo_4: "imc_pa:lr_ag_r_slash"
    },
    shovel: {
        combo_1: "imc_pa:rl_slash",
        combo_2: "imc_pa:lr_slash",
        combo_3: "imc_pa:top_slash",
        combo_4: "imc_pa:lr_ag_r_slash"
    },
    spear: {
        combo_1: "imc_pa",
        combo_2: "imc_pa:rl_ag_r_slash",
        combo_3: "imc_pa:lr_ag_l_slash",
        combo_4: "imc_pa"
    },
    greatsword: {
        combo_1: "imc_pa:rl_ag_l_slash",
        combo_2: "imc_pa:lr_ag_r_slash",
        combo_3: "imc_pa:rl_slash"
    },
    katana: {
        combo_1: "imc_pa:top_slash",
        combo_2: "imc_pa:rl_ag_r_slash",
        combo_3: "imc_pa:lr_ag_l_slash",
        combo_4: "imc_pa:lr_slash"
    },
    daggers: {
        combo_1: "imc_pa",
        combo_2: "imc_pa:top_slash",
        combo_3: "imc_pa:rl_ag_l_slash",
        combo_4: "imc_pa"
    },
    rapier: {
        combo_1: "imc_pa",
        combo_2: "imc_pa:rl_slash",
        combo_3: "imc_pa:lr_slash",
        combo_4: "imc_pa:rl_ag_r_slash"
    }
}
