export const Time = {
    Any: "Any",
    Day: "Day",
    Night: "Night",
};

export const Sounds = new Map([
    [
        "default",
        {
            sounds: [],
        },
    ],
    [
        "caves",
        {
            sounds: [
                {
                    name: "biome.sound.ambient_silence_loop",
                    duration: 2,
                    interval: 2,
                    probability: 100,
                    play_time: Time.Any,
                    loop: true,
                    options: { volume: 0.2 },
                },
                {
                    name: "dig.stone",
                    duration: 1,
                    interval: 30,
                    probability: 30,
                    play_time: Time.Any,
                    loop: false,
                    options: { volume: 0.6 },
                },
                {
                    name: "step.stone",
                    duration: 1,
                    interval: 30,
                    probability: 30,
                    play_time: Time.Any,
                    loop: false,
                    options: { volume: 0.6 },
                },
                {
                    name: "mob.creeper.fuse",
                    duration: 1,
                    interval: 30,
                    probability: 30,
                    play_time: Time.Any,
                    loop: false,
                    options: { volume: 1.0 },
                },
            ],
        },
    ],
    [
        "swamp",
        {
            sounds: [
                {
                    name: "biome.sound.swampland.ambient_loop",
                    duration: 10,
                    interval: 10,
                    probability: 100,
                    play_time: Time.Any,
                    loop: true,
                    options: { volume: 0.2 },
                },
                {
                    name: "biome.sound.swampland.monster_sound",
                    duration: 1,
                    interval: 10,
                    probability: 30,
                    play_time: Time.Night,
                    loop: false,
                    options: { volume: 0.2 },
                },
            ],
        },
    ],
    [
        "plains",
        {
            sounds: [
                {
                    name: "mob.zombie.say",
                    duration: 1,
                    interval: 30,
                    probability: 30,
                    play_time: Time.Night,
                    loop: false,
                    options: { volume: 1.0 },
                },
                {
                    name: "mob.spider.say",
                    duration: 1,
                    interval: 30,
                    probability: 30,
                    play_time: Time.Night,
                    loop: false,
                    options: { volume: 1.0 },
                },
                {
                    name: "mob.creeper.say",
                    duration: 1,
                    interval: 30,
                    probability: 30,
                    play_time: Time.Night,
                    loop: false,
                    options: { volume: 1.0 },
                },
                {
                    name: "mob.creeper.fuse",
                    duration: 1,
                    interval: 30,
                    probability: 30,
                    play_time: Time.Night,
                    loop: false,
                    options: { volume: 1.0 },
                },
                {
                    name: "step.grass",
                    duration: 1,
                    interval: 30,
                    probability: 30,
                    play_time: Time.Any,
                    loop: false,
                    options: { volume: 1.0 },
                },
                {
                    name: "dig.grass",
                    duration: 1,
                    interval: 30,
                    probability: 30,
                    play_time: Time.Any,
                    loop: false,
                    options: { volume: 1.0 },
                },
                {
                    name: "dig.stone",
                    duration: 1,
                    interval: 30,
                    probability: 30,
                    play_time: Time.Any,
                    loop: false,
                    options: { volume: 1.0 },
                },
                {
                    name: "step.cave_vines",
                    duration: 1,
                    interval: 30,
                    probability: 30,
                    play_time: Time.Any,
                    loop: false,
                    options: { volume: 1.0 },
                },
            ],
        },
    ],
    [
        "forest",
        {
            sounds: [
                {
                    name: "mob.zombie.say",
                    duration: 1,
                    interval: 30,
                    probability: 30,
                    play_time: Time.Night,
                    loop: false,
                    options: { volume: 1.0 },
                },
                {
                    name: "mob.spider.say",
                    duration: 1,
                    interval: 30,
                    probability: 30,
                    play_time: Time.Night,
                    loop: false,
                    options: { volume: 1.0 },
                },
                {
                    name: "mob.creeper.say",
                    duration: 1,
                    interval: 30,
                    probability: 30,
                    play_time: Time.Night,
                    loop: false,
                    options: { volume: 1.0 },
                },
                {
                    name: "mob.creeper.fuse",
                    duration: 1,
                    interval: 30,
                    probability: 30,
                    play_time: Time.Night,
                    loop: false,
                    options: { volume: 1.0 },
                },
                {
                    name: "step.grass",
                    duration: 1,
                    interval: 30,
                    probability: 30,
                    play_time: Time.Any,
                    loop: false,
                    options: { volume: 1.0 },
                },
                {
                    name: "dig.grass",
                    duration: 1,
                    interval: 30,
                    probability: 30,
                    play_time: Time.Any,
                    loop: false,
                    options: { volume: 1.0 },
                },
                {
                    name: "dig.stone",
                    duration: 1,
                    interval: 30,
                    probability: 30,
                    play_time: Time.Any,
                    loop: false,
                    options: { volume: 1.0 },
                },
                {
                    name: "step.cave_vines",
                    duration: 1,
                    interval: 30,
                    probability: 30,
                    play_time: Time.Any,
                    loop: false,
                    options: { volume: 1.0 },
                },
            ],
        },
    ],
    [
        "cold",
        {
            sounds: [
                {
                    name: "biome.sound.cold.ambient_loop",
                    duration: 8,
                    interval: 7.9,
                    probability: 100,
                    play_time: Time.Any,
                    loop: true,
                    options: { volume: 0.2 },
                },
                {
                    name: "biome.sound.ambient.buzz",
                    duration: 1,
                    interval: 10,
                    probability: 20,
                    play_time: Time.Any,
                    loop: false,
                    options: { volume: 0.2 },
                },
                {
                    name: "biome.sound.ambient.leaves_rustle",
                    duration: 1,
                    interval: 10,
                    probability: 30,
                    play_time: Time.Any,
                    loop: false,
                    options: { volume: 0.2 },
                },
            ],
        },
    ],
    [
        "savanna",
        {
            sounds: [
                {
                    name: "biome.sound.ambient.hyenna",
                    duration: 1,
                    interval: 10,
                    probability: 20,
                    play_time: Time.Night,
                    loop: false,
                    options: { volume: 0.2 },
                },
                {
                    name: "biome.sound.ambient.wolf",
                    duration: 1,
                    interval: 10,
                    probability: 20,
                    play_time: Time.Night,
                    loop: false,
                    options: { volume: 0.2 },
                },
            ],
        },
    ],
    [
        "jungle",
        {
            sounds: [
                {
                    name: "biome.sound.ambient.leaves_rustle",
                    duration: 1,
                    interval: 10,
                    probability: 30,
                    play_time: Time.Any,
                    loop: false,
                    options: { volume: 0.2 },
                },
                {
                    name: "step.grass",
                    duration: 1,
                    interval: 30,
                    probability: 40,
                    play_time: Time.Any,
                    loop: false,
                    options: { volume: 1.0 },
                },
                {
                    name: "step.cave_vines",
                    duration: 1,
                    interval: 30,
                    probability: 40,
                    play_time: Time.Any,
                    loop: false,
                    options: { volume: 1.0 },
                },
            ],
        },
    ],
    [
        "desert",
        {
            sounds: [
                {
                    name: "biome.sound.wind.ambient_loop",
                    duration: 8,
                    interval: 7.9,
                    probability: 100,
                    play_time: Time.Any,
                    loop: true,
                    options: { volume: 0.2 },
                },
                {
                    name: "biome.sound.ambient.scream1",
                    duration: 1,
                    interval: 30,
                    probability: 30,
                    play_time: Time.Night,
                    loop: false,
                    options: { volume: 0.4 },
                },
                {
                    name: "biome.sound.ambient.scream2",
                    duration: 1,
                    interval: 30,
                    probability: 30,
                    play_time: Time.Night,
                    loop: false,
                    options: { volume: 0.4 },
                },
            ],
        },
    ],
    [
        "hills",
        {
            sounds: [
                {
                    name: "biome.sound.wind.ambient_loop",
                    duration: 8,
                    interval: 7.9,
                    probability: 100,
                    play_time: Time.Any,
                    loop: true,
                    options: { volume: 0.2 },
                },
                {
                    name: "biome.sound.ambient.wolf",
                    duration: 1,
                    interval: 30,
                    probability: 30,
                    play_time: Time.Night,
                    loop: false,
                    options: { volume: 0.4 },
                },
            ],
        },
    ],
    [
        "cherry",
        {
            sounds: [
                {
                    name: "biome.sound.wind.ambient_loop",
                    duration: 8,
                    interval: 7.9,
                    probability: 100,
                    play_time: Time.Any,
                    loop: true,
                    options: { volume: 0.2 },
                },
                {
                    name: "biome.sound.ambient.armor",
                    duration: 1,
                    interval: 30,
                    probability: 30,
                    play_time: Time.Any,
                    loop: false,
                    options: { volume: 0.4 },
                },
                {
                    name: "biome.sound.ambient_fire_loop",
                    duration: 1,
                    interval: 20,
                    probability: 30,
                    play_time: Time.Night,
                    loop: false,
                    options: { volume: 0.2 },
                },
            ],
        },
    ],
]);
