import { itemLoreConfig } from "./LoreConfig";
export const callingHornsDatabaseId = "callingHorns";
export const wardingDatabaseId = "kicu_wardingdb";
export const spawnSaddleEvents = [
    "kicu_mmad:spawn_with_leather_saddle",
    "kicu_mmad:spawn_with_chain_saddle",
    "kicu_mmad:spawn_with_iron_saddle",
    "kicu_mmad:spawn_with_gold_saddle",
    "kicu_mmad:spawn_with_diamond_saddle",
    "kicu_mmad:spawn_with_netherite_saddle",
];
//this is order senstive.
export const mountIDs = [
    "kicu_mmad:griffin",
    "kicu_mmad:phoenix",
    "kicu_mmad:plains_dragon",
    "kicu_mmad:serpent_dragon",
    "kicu_mmad:ice_dragon",
    "kicu_mmad:pegasus",
    "kicu_mmad:cockatrice",
    "kicu_mmad:shadow_phoenix", // 8
];
export const spectralMountIDs = mountIDs.map((id) => id.replace("kicu_mmad:", "kicu_mmad:spectral_"));
export const allMountIDs = [...mountIDs, ...spectralMountIDs];
export const loreMap = Object.fromEntries(allMountIDs.map((id) => {
    const name = id
        .replace(/^kicu_mmad:/, "") // Remove prefix
        .replace(/_/g, " ") // Convert underscores to spaces
        .replace(/\b\w/g, (match) => match.toUpperCase()); // Capitalize each word
    return [id, `§s${name}§r`];
}));
export const wildMountIds = allMountIDs.map((id) => `${id}_wild`);
export const mountDeathIds = allMountIDs.map((id) => `${id}_death`);
export const mountsNestsIds = mountIDs.map((id) => `${id}_nest`);
export const eggPrefixes = mountIDs.map((id) => `${id}_egg`);
export const projectileIDs = allMountIDs.map((id) => `${id}_projectile`);
export const mountEggIds = mountIDs.map((id) => `${id}_egg_placeholder_spawn_egg`);
export const mountsEggIds = mountIDs.map((id) => `${id}_nest_spawn_egg`);
export const eggToBabyMapping = {
    "kicu_mmad:griffin_egg_hatch": "kicu_mmad:griffin_baby",
    "kicu_mmad:phoenix_egg_hatch": "kicu_mmad:phoenix_baby",
    "kicu_mmad:plains_dragon_egg_hatch": "kicu_mmad:plains_dragon_baby",
    "kicu_mmad:serpent_dragon_egg_hatch": "kicu_mmad:serpent_dragon_baby",
    "kicu_mmad:ice_dragon_egg_hatch": "kicu_mmad:ice_dragon_baby",
    "kicu_mmad:pegasus_egg_hatch": "kicu_mmad:pegasus_baby",
    "kicu_mmad:cockatrice_egg_hatch": "kicu_mmad:cockatrice_baby",
    "kicu_mmad:shadow_phoenix_egg_hatch": "kicu_mmad:shadow_phoenix_baby",
    "kicu_mmad:griffin_egg_fade": "kicu_mmad:griffin_baby",
    "kicu_mmad:phoenix_egg_fade": "kicu_mmad:phoenix_baby",
    "kicu_mmad:plains_dragon_egg_fade": "kicu_mmad:plains_dragon_baby",
    "kicu_mmad:serpent_dragon_egg_fade": "kicu_mmad:serpent_dragon_baby",
    "kicu_mmad:ice_dragon_egg_fade": "kicu_mmad:ice_dragon_baby",
    "kicu_mmad:pegasus_egg_fade": "kicu_mmad:pegasus_baby",
    "kicu_mmad:cockatrice_egg_fade": "kicu_mmad:cockatrice_baby",
    "kicu_mmad:shadow_phoenix_egg_fade": "kicu_mmad:shadow_phoenix_baby",
};
export const spectralRarityMapping = {
    "kicu_mmad:griffin_baby": 10,
    "kicu_mmad:phoenix_baby": 10,
    "kicu_mmad:plains_dragon_baby": 10,
    "kicu_mmad:serpent_dragon_baby": 10,
    "kicu_mmad:ice_dragon_baby": 10,
    "kicu_mmad:pegasus_baby": 10,
    "kicu_mmad:cockatrice_baby": 10,
    "kicu_mmad:shadow_phoenix_baby": 10,
};
//WILD MOUNT DROP CHANCES. (MONSTER MATERIAL)
export const wildMountDropMap = {
    "kicu_mmad:pegasus_wild": { id: "kicu_mmad:pegasus_horn", min: 0, max: 2, chance: 100.0 },
    "kicu_mmad:phoenix_wild": { id: "kicu_mmad:phoenix_feather", min: 0, max: 2, chance: 100.0 },
    "kicu_mmad:plains_dragon_wild": { id: "kicu_mmad:plains_dragon_scale", min: 0, max: 2, chance: 100.0 },
    "kicu_mmad:serpent_dragon_wild": { id: "kicu_mmad:serpent_dragon_scale", min: 0, max: 2, chance: 100.0 },
    "kicu_mmad:shadow_phoenix_wild": { id: "kicu_mmad:shadow_phoenix_feather", min: 0, max: 2, chance: 100.0 },
    "kicu_mmad:cockatrice_wild": { id: "kicu_mmad:cockatrice_feather", min: 0, max: 2, chance: 100.0 },
    "kicu_mmad:griffin_wild": { id: "kicu_mmad:griffin_feather", min: 0, max: 2, chance: 100.0 },
    "kicu_mmad:ice_dragon_wild": { id: "kicu_mmad:ice_dragon_scale", min: 0, max: 2, chance: 100.0 },
};
//NEST MOUNT DROP CHANCES (MONSTER MATERIAL)
export const nestMountDropMap = {
    "kicu_mmad:pegasus_nest": { id: "kicu_mmad:pegasus_horn", min: 1, max: 1, chance: 100.0 },
    "kicu_mmad:phoenix_nest": { id: "kicu_mmad:phoenix_feather", min: 1, max: 1, chance: 100.0 },
    "kicu_mmad:plains_dragon_nest": { id: "kicu_mmad:plains_dragon_scale", min: 1, max: 1, chance: 100.0 },
    "kicu_mmad:serpent_dragon_nest": { id: "kicu_mmad:serpent_dragon_scale", min: 1, max: 1, chance: 100.0 },
    "kicu_mmad:shadow_phoenix_nest": { id: "kicu_mmad:shadow_phoenix_feather", min: 1, max: 1, chance: 100.0 },
    "kicu_mmad:cockatrice_nest": { id: "kicu_mmad:cockatrice_feather", min: 1, max: 1, chance: 100.0 },
    "kicu_mmad:griffin_nest": { id: "kicu_mmad:griffin_feather", min: 1, max: 1, chance: 100.0 },
    "kicu_mmad:ice_dragon_nest": { id: "kicu_mmad:ice_dragon_scale", min: 1, max: 1, chance: 100.0 },
};
//NEST MOUNT DROP CHANCES (MYTHIC MATERIAL)
export const stickDropMap = {
    "kicu_mmad:pegasus_nest": { id: "minecraft:stick", chance: 100.0, min: 1, max: 3 },
    "kicu_mmad:phoenix_nest": { id: "minecraft:stick", chance: 100.0, min: 1, max: 3 },
    "kicu_mmad:plains_dragon_nest": { id: "minecraft:stick", chance: 100.0, min: 1, max: 3 },
    "kicu_mmad:serpent_dragon_nest": { id: "minecraft:stick", chance: 100.0, min: 1, max: 3 },
    "kicu_mmad:shadow_phoenix_nest": { id: "minecraft:stick", chance: 100.0, min: 1, max: 3 },
    "kicu_mmad:cockatrice_nest": { id: "minecraft:stick", chance: 100.0, min: 1, max: 3 },
    "kicu_mmad:griffin_nest": { id: "minecraft:stick", chance: 100.0, min: 1, max: 3 },
    "kicu_mmad:ice_dragon_nest": { id: "minecraft:stick", chance: 100.0, min: 1, max: 3 },
};
//NEST MOUNT DROP CHANCES (MYTHIC MATERIAL)
export const mythicMaterialDropMap = {
    "kicu_mmad:pegasus_nest": { id: "kicu_mmad:mythic_material", chance: 50.0, min: 1, max: 3 },
    "kicu_mmad:phoenix_nest": { id: "kicu_mmad:mythic_material", chance: 50.0, min: 1, max: 3 },
    "kicu_mmad:plains_dragon_nest": { id: "kicu_mmad:mythic_material", chance: 50.0, min: 1, max: 3 },
    "kicu_mmad:serpent_dragon_nest": { id: "kicu_mmad:mythic_material", chance: 50.0, min: 1, max: 3 },
    "kicu_mmad:shadow_phoenix_nest": { id: "kicu_mmad:mythic_material", chance: 50.0, min: 1, max: 3 },
    "kicu_mmad:cockatrice_nest": { id: "kicu_mmad:mythic_material", chance: 50.0, min: 1, max: 3 },
    "kicu_mmad:griffin_nest": { id: "kicu_mmad:mythic_material", chance: 50.0, min: 1, max: 3 },
    "kicu_mmad:ice_dragon_nest": { id: "kicu_mmad:mythic_material", chance: 50.0, min: 1, max: 3 },
};
let wildMaterialDropMapping = {};
Object.entries(wildMountDropMap).forEach(([wildMountId, dropConfig]) => {
    const deathId = `${wildMountId.replace("_wild", "_death")}`;
    wildMaterialDropMapping[deathId] = dropConfig;
});
export { wildMaterialDropMapping };
export const spawnEggStatTypes = Object.fromEntries(mountIDs.map((id, index) => [
    index + 1,
    {
        eggStat: `kicu_mmad_${id.split(":")[1]}_egg_stat`,
        eggHatchSpawnEgg: `kicu_mmad:${id.split(":")[1]}_egg_hatch_spawn_egg`,
    },
]));
export const healableItems = new Map([
    ["porkchop", { healAmount: 3, isSpecial: false }],
    ["cooked_porkchop", { healAmount: 8, isSpecial: false }],
    ["fish", { healAmount: 2, isSpecial: false }],
    ["salmon", { healAmount: 2, isSpecial: false }],
    ["cooked_fish", { healAmount: 5, isSpecial: false }],
    ["cooked_salmon", { healAmount: 6, isSpecial: false }],
    ["beef", { healAmount: 3, isSpecial: false }],
    ["cooked_beef", { healAmount: 8, isSpecial: false }],
    ["chicken", { healAmount: 2, isSpecial: false }],
    ["cooked_chicken", { healAmount: 6, isSpecial: false }],
    ["mutton", { healAmount: 2, isSpecial: false }],
    ["cooked_mutton", { healAmount: 6, isSpecial: false }],
    ["rabbit", { healAmount: 3, isSpecial: false }],
    ["cooked_rabbit", { healAmount: 5, isSpecial: false }],
    ["gunpowder", { healAmount: 200, isSpecial: false }],
]);
export const healableEntities = new Set(mountIDs);
export const entityDropMapping = {};
export const eggTypeMapping = Object.fromEntries(Object.entries(spawnEggStatTypes).map(([index, { eggHatchSpawnEgg }]) => [
    Number(index),
    eggHatchSpawnEgg.replace("_hatch_spawn_egg", "_placeholder_spawn_egg"),
]));
export const babyMountToParticleMap = {
    "kicu_mmad:griffin_baby": "kicu_mmad:griffin_egg_break",
    "kicu_mmad:phoenix_baby": "kicu_mmad:phoenix_egg_break",
    "kicu_mmad:plains_dragon_baby": "kicu_mmad:plains_dragon_egg_break",
    "kicu_mmad:serpent_dragon_baby": "kicu_mmad:serpent_dragon_egg_break",
    "kicu_mmad:ice_dragon_baby": "kicu_mmad:ice_dragon_egg_break",
    "kicu_mmad:pegasus_baby": "kicu_mmad:pegasus_egg_break",
    "kicu_mmad:cockatrice_baby": "kicu_mmad:cockatrice_egg_break",
    "kicu_mmad:shadow_phoenix_baby": "kicu_mmad:shadow_phoenix_egg_break",
    "kicu_mmad:spectral_pegasus_baby": "kicu_mmad:spectral_pegasus_egg_break",
    "kicu_mmad:spectral_griffin_baby": "kicu_mmad:spectral_griffin_egg_break",
    "kicu_mmad:spectral_serpent_dragon_baby": "kicu_mmad:spectral_serpent_dragon_egg_break",
    "kicu_mmad:spectral_plains_dragon_baby": "kicu_mmad:spectral_plains_dragon_egg_break",
    "kicu_mmad:spectral_phoenix_baby": "kicu_mmad:spectral_phoenix_egg_break",
    "kicu_mmad:spectral_ice_dragon_baby": "kicu_mmad:spectral_ice_dragon_egg_break",
    "kicu_mmad:spectral_cockatrice_baby": "kicu_mmad:spectral_cockatrice_egg_break",
    "kicu_mmad:spectral_shadow_phoenix_baby": "kicu_mmad:spectral_phoenix_egg_break",
};
export const eggScoreDict = Object.fromEntries(mountIDs.map((id, index) => [`${id}_nest`, index + 1]));
export const wildDragonDict = Object.fromEntries(mountsNestsIds.map((nest, index) => [nest, wildMountIds[index]]));
export var MinecraftEffectTypes;
(function (MinecraftEffectTypes) {
    MinecraftEffectTypes["Absorption"] = "absorption";
    MinecraftEffectTypes["BadOmen"] = "bad_omen";
    MinecraftEffectTypes["Blindness"] = "blindness";
    MinecraftEffectTypes["ConduitPower"] = "conduit_power";
    MinecraftEffectTypes["Darkness"] = "darkness";
    MinecraftEffectTypes["Empty"] = "empty";
    MinecraftEffectTypes["FatalPoison"] = "fatal_poison";
    MinecraftEffectTypes["FireResistance"] = "fire_resistance";
    MinecraftEffectTypes["Haste"] = "haste";
    MinecraftEffectTypes["HealthBoost"] = "health_boost";
    MinecraftEffectTypes["Hunger"] = "hunger";
    MinecraftEffectTypes["InstantDamage"] = "instant_damage";
    MinecraftEffectTypes["InstantHealth"] = "instant_health";
    MinecraftEffectTypes["Invisibility"] = "invisibility";
    MinecraftEffectTypes["JumpBoost"] = "jump_boost";
    MinecraftEffectTypes["Levitation"] = "levitation";
    MinecraftEffectTypes["MiningFatigue"] = "mining_fatigue";
    MinecraftEffectTypes["Nausea"] = "nausea";
    MinecraftEffectTypes["NightVision"] = "night_vision";
    MinecraftEffectTypes["Poison"] = "poison";
    MinecraftEffectTypes["Regeneration"] = "regeneration";
    MinecraftEffectTypes["Resistance"] = "resistance";
    MinecraftEffectTypes["Saturation"] = "saturation";
    MinecraftEffectTypes["SlowFalling"] = "slow_falling";
    MinecraftEffectTypes["Slowness"] = "slowness";
    MinecraftEffectTypes["Speed"] = "speed";
    MinecraftEffectTypes["Strength"] = "strength";
    MinecraftEffectTypes["VillageHero"] = "village_hero";
    MinecraftEffectTypes["WaterBreathing"] = "water_breathing";
    MinecraftEffectTypes["Weakness"] = "weakness";
    MinecraftEffectTypes["Wither"] = "wither";
})(MinecraftEffectTypes || (MinecraftEffectTypes = {}));
export const worldHeightMap = {
    "minecraft:overworld": 319,
    "minecraft:nether": 255,
    "minecraft:the_end": 255,
};
export const spawnSaddleTypes = [
    "leather",
    "chain",
    "iron",
    "gold",
    "diamond",
    "netherite",
];
export const defaultDrop = [
    {
        itemId: "kicu_mmad:mythic_material",
        quantity: [1, 3],
        loreLines: itemLoreConfig["kicu_mmad:mythic_material"],
        dropChance: 100.0,
    },
];

//# sourceMappingURL=../../../../../_KiCuMountsBPDebug/kicu/mmad/DATA/Config.js.map
