import { MinecraftBlockTypes } from "../../../_Utilities/vanilla-data/mojang-block";
import { MinecraftEffectTypes } from "../../../_Utilities/vanilla-data/mojang-effect";
import { MinecraftEntityTypes } from "../../../_Utilities/vanilla-data/mojang-entity";
import { MinecraftItemTypes } from "../../../_Utilities/vanilla-data/mojang-item";
import { MinecraftEnchantmentTypes } from "../../../_Utilities/vanilla-data/mojang-enchantment";
export const biome_forest = {
    id: "1b74fd97-bfd4-47fb-b6d7-0c2fc2970abd",
    name: "Forest",
    description: ["Wood, lots of Wood"],
    teleport: { location: { x: -39.5, y: 98, z: 103.5 }, roation: { x: 0.85, y: 73.45 } },
    film_ID: "9695e302-dbf3-42a7-b463-34afd77c437d",
    areas: [{ start: { x: -234, z: -17 }, end: { x: -10, z: 214 } }],
    blocks: [
        { id: MinecraftBlockTypes.Dirt, probability: 25 },
        { id: MinecraftBlockTypes.SpruceLog, probability: 20 },
        { id: MinecraftBlockTypes.SpruceLeaves, probability: 20 },
        { id: MinecraftBlockTypes.EmeraldOre, probability: 3 },
        { id: MinecraftBlockTypes.InfestedStone, probability: 2 },
        { id: MinecraftBlockTypes.Stone, probability: 25 },
        { id: MinecraftBlockTypes.Gravel, probability: 10 },
        { id: MinecraftBlockTypes.Cobblestone, probability: 10 },
        { id: MinecraftBlockTypes.Andesite, probability: 10 },
        { id: MinecraftBlockTypes.Diorite, probability: 10 },
        { id: MinecraftBlockTypes.Granite, probability: 10 },
        { id: MinecraftBlockTypes.CoalOre, probability: 5 },
        { id: MinecraftBlockTypes.IronOre, probability: 3 },
        { id: MinecraftBlockTypes.OakLog, probability: 20 },
        { id: MinecraftBlockTypes.BirchLog, probability: 20 },
        { id: MinecraftBlockTypes.DarkOakLog, probability: 10 },
        { id: MinecraftBlockTypes.JungleLog, probability: 5 },
        { id: MinecraftBlockTypes.AcaciaLog, probability: 5 },
        { id: MinecraftBlockTypes.MangroveLog, probability: 5 },
        { id: MinecraftBlockTypes.BambooBlock, probability: 5 },
        { id: MinecraftBlockTypes.WarpedStem, probability: 5 },
        { id: MinecraftBlockTypes.CrimsonStem, probability: 5 },
        { id: MinecraftBlockTypes.CherryLog, probability: 5 },
        { id: MinecraftBlockTypes.OakLeaves, probability: 20 },
        { id: MinecraftBlockTypes.BirchLeaves, probability: 20 },
        { id: MinecraftBlockTypes.DarkOakLeaves, probability: 10 },
        { id: MinecraftBlockTypes.CherryLeaves, probability: 5 },
        { id: MinecraftBlockTypes.GrassBlock, probability: 15 },
        { id: MinecraftBlockTypes.Podzol, probability: 10 },
        { id: MinecraftBlockTypes.CoarseDirt, probability: 10 },
        { id: MinecraftBlockTypes.MossyCobblestone, probability: 5 },
        { id: MinecraftBlockTypes.Fern, probability: 5 },
        { id: MinecraftBlockTypes.Mycelium, probability: 20 },
        { id: MinecraftBlockTypes.RedMushroomBlock, probability: 10 },
        { id: MinecraftBlockTypes.BrownMushroomBlock, probability: 10 },
    ],
    entities: [
        { id: MinecraftEntityTypes.Sheep, probability: 22, location: { ground: true, liquid: true, air: false } },
        { id: MinecraftEntityTypes.Chicken, probability: 19, location: { ground: true, liquid: true, air: false } },
        { id: MinecraftEntityTypes.Pig, probability: 19, location: { ground: true, liquid: true, air: false } },
        { id: MinecraftEntityTypes.Cow, probability: 14, location: { ground: true, liquid: true, air: false } },
        { id: MinecraftEntityTypes.Wolf, probability: 10, location: { ground: true, liquid: true, air: false } },
        { id: MinecraftEntityTypes.Bat, probability: 29, location: { ground: true, liquid: false, air: true } },
        { id: MinecraftEntityTypes.Bee, probability: 29, location: { ground: true, liquid: false, air: true } },
        { id: MinecraftEntityTypes.Cat, probability: 29, location: { ground: true, liquid: false, air: true } },
        { id: MinecraftEntityTypes.Horse, probability: 29, location: { ground: true, liquid: false, air: true } },
        {
            id: MinecraftEntityTypes.SkeletonHorse,
            probability: 29,
            location: { ground: true, liquid: false, air: true },
            time: { start: 13000, end: 23000 },
        },
        {
            id: MinecraftEntityTypes.Slime,
            probability: 25,
            location: { ground: true, liquid: true, air: false },
            time: { start: 13000, end: 23000 },
        },
        {
            id: MinecraftEntityTypes.Spider,
            probability: 25,
            location: { ground: true, liquid: true, air: false },
            time: { start: 13000, end: 23000 },
        },
        {
            id: MinecraftEntityTypes.CaveSpider,
            probability: 25,
            location: { ground: true, liquid: true, air: false },
            time: { start: 13000, end: 23000 },
        },
        {
            id: MinecraftEntityTypes.Zombie,
            probability: 25,
            location: { ground: true, liquid: true, air: false },
            time: { start: 13000, end: 23000 },
        },
        {
            id: MinecraftEntityTypes.Skeleton,
            probability: 25,
            location: { ground: true, liquid: true, air: false },
            time: { start: 13000, end: 23000 },
        },
        {
            id: MinecraftEntityTypes.Enderman,
            probability: 25,
            location: { ground: true, liquid: true, air: false },
            time: { start: 13000, end: 23000 },
        },
        {
            id: MinecraftEntityTypes.Witch,
            probability: 25,
            location: { ground: true, liquid: true, air: false },
            time: { start: 13000, end: 23000 },
        },
        {
            id: MinecraftEntityTypes.ZombieVillagerV2,
            probability: 25,
            location: { ground: true, liquid: true, air: false },
            time: { start: 13000, end: 23000 },
        },
        {
            id: MinecraftEntityTypes.Stray,
            probability: 5,
            location: { ground: true, liquid: true, air: false },
            time: { start: 13000, end: 23000 },
        },
        {
            id: MinecraftEntityTypes.EvocationIllager,
            probability: 5,
            location: { ground: true, liquid: true, air: false },
            time: { start: 13000, end: 23000 },
        },
        {
            id: MinecraftEntityTypes.Vindicator,
            probability: 5,
            location: { ground: true, liquid: true, air: false },
            time: { start: 13000, end: 23000 },
        },
        {
            id: MinecraftEntityTypes.Ravager,
            probability: 3,
            location: { ground: true, liquid: true, air: false },
            time: { start: 13000, end: 23000 },
        },
        {
            id: MinecraftEntityTypes.Phantom,
            probability: 2,
            location: { ground: true, liquid: true, air: false },
            time: { start: 13000, end: 23000 },
        },
        {
            id: MinecraftEntityTypes.Vex,
            probability: 2,
            location: { ground: true, liquid: true, air: false },
            time: { start: 13000, end: 23000 },
        },
    ],
    raid: {
        shard: { id: "bgs:shard_forest" },
        location: { x: -148.5, y: 87, z: 111.5 },
        effects: [
            { id: MinecraftEffectTypes.Speed, probability: 25, duration: 1200 },
            { id: MinecraftEffectTypes.Slowness, probability: 5, duration: 600 },
        ],
        entities: [
            { id: MinecraftEntityTypes.Slime, probability: 25 },
            { id: MinecraftEntityTypes.Spider, probability: 25 },
            { id: MinecraftEntityTypes.CaveSpider, probability: 25 },
            { id: MinecraftEntityTypes.Zombie, probability: 25 },
            { id: MinecraftEntityTypes.Skeleton, probability: 25 },
            { id: MinecraftEntityTypes.Enderman, probability: 25 },
            { id: MinecraftEntityTypes.Witch, probability: 25 },
            { id: MinecraftEntityTypes.ZombieVillagerV2, probability: 25 },
            { id: MinecraftEntityTypes.Stray, probability: 5 },
            { id: MinecraftEntityTypes.EvocationIllager, probability: 5 },
            { id: MinecraftEntityTypes.Vindicator, probability: 5 },
            { id: MinecraftEntityTypes.Ravager, probability: 3 },
            { id: MinecraftEntityTypes.Phantom, probability: 2 },
            { id: MinecraftEntityTypes.Vex, probability: 2 },
        ],
        chest: [
            { item: { id: MinecraftItemTypes.Leather }, amount: { min: 8, max: 32 }, probability: 15 },
            { item: { id: MinecraftItemTypes.RottenFlesh }, amount: { min: 16, max: 48 }, probability: 12 },
            { item: { id: MinecraftItemTypes.Mutton }, amount: { min: 8, max: 32 }, probability: 12 },
            { item: { id: MinecraftItemTypes.Beef }, amount: { min: 8, max: 32 }, probability: 12 },
            { item: { id: MinecraftItemTypes.MelonSlice }, amount: { min: 16, max: 48 }, probability: 12 },
            { item: { id: MinecraftItemTypes.Apple }, amount: { min: 8, max: 32 }, probability: 10 },
            { item: { id: MinecraftItemTypes.Porkchop }, amount: { min: 8, max: 32 }, probability: 10 },
            { item: { id: MinecraftItemTypes.Bone }, amount: { min: 16, max: 48 }, probability: 10 },
            { item: { id: MinecraftItemTypes.Bread }, amount: { min: 8, max: 32 }, probability: 10 },
            { item: { id: MinecraftItemTypes.Feather }, amount: { min: 16, max: 48 }, probability: 10 },
            { item: { id: MinecraftItemTypes.String }, amount: { min: 16, max: 48 }, probability: 8 },
            { item: { id: MinecraftItemTypes.SpiderEye }, amount: { min: 8, max: 32 }, probability: 6 },
            { item: { id: MinecraftItemTypes.Gunpowder }, amount: { min: 8, max: 32 }, probability: 6 },
            { item: { id: MinecraftItemTypes.PhantomMembrane }, amount: { min: 4, max: 16 }, probability: 4 },
            { item: { id: MinecraftItemTypes.SlimeBall }, amount: { min: 8, max: 32 }, probability: 6 },
            { item: { id: MinecraftItemTypes.EnderPearl }, amount: { min: 4, max: 16 }, probability: 5 },
            { item: { id: MinecraftItemTypes.IronIngot }, amount: { min: 4, max: 16 }, probability: 5 },
            {
                item: {
                    id: MinecraftItemTypes.EnchantedBook,
                    enchantments: [{ type: MinecraftEnchantmentTypes.Piercing, level: 2 }],
                },
                amount: { min: 1, max: 1 },
                probability: 5,
            },
            { item: { id: MinecraftItemTypes.GoldenApple }, amount: { min: 1, max: 2 }, probability: 5 },
        ],
    },
    quest: {
        id: "b94b54b8-a1c9-44db-998a-9079c3d2abc0",
        tasks: [
            {
                collect: { id: MinecraftItemTypes.BirchLog, amount: 48 },
                rewards: [
                    { id: MinecraftItemTypes.Campfire, amount: 1 },
                    { id: MinecraftItemTypes.NameTag, amount: 1 },
                ],
            },
            {
                collect: { id: MinecraftItemTypes.SpruceLog, amount: 32 },
                rewards: [
                    {
                        id: MinecraftItemTypes.FishingRod,
                        amount: 1,
                        enchantments: [{ type: MinecraftEnchantmentTypes.Lure, level: 1 }],
                    },
                    { id: MinecraftItemTypes.SweetBerries, amount: 16 },
                ],
            },
            {
                defeat: { id: MinecraftEntityTypes.Skeleton, amount: 24 },
                rewards: [
                    { id: MinecraftItemTypes.Crossbow, amount: 1 },
                    {
                        id: MinecraftItemTypes.EnchantedBook,
                        amount: 1,
                        enchantments: [{ type: MinecraftEnchantmentTypes.Piercing, level: 2 }],
                    },
                ],
            },
        ],
    },
};
