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";
import { MinecraftPotionEffectTypes } from "../../../_Utilities/vanilla-data/mojang-potionEffect";
export const biome_desert = {
    id: "1d8efb50-dcf7-438d-a2d7-10eae61ce668",
    name: "Desert",
    description: ["Lots of sand", "I hate sand"],
    teleport: { location: { x: 338.5, y: 115, z: -72.5 }, roation: { x: 12.274, y: -58.203 } },
    film_ID: "4d9be89e-b248-43c7-a804-3530af22b132",
    areas: [{ start: { x: 268, z: -155 }, end: { x: 523, z: 90 } }],
    blocks: [
        { id: MinecraftBlockTypes.Sand, probability: 40 },
        { id: MinecraftBlockTypes.Sandstone, probability: 20 },
        { id: MinecraftBlockTypes.ChiseledSandstone, probability: 10 },
        { id: MinecraftBlockTypes.SmoothSandstone, probability: 10 },
        { id: MinecraftBlockTypes.CutSandstone, probability: 5 },
        { id: MinecraftBlockTypes.Cactus, probability: 10 },
        { id: MinecraftBlockTypes.Deadbush, probability: 15 },
        { id: MinecraftBlockTypes.CoarseDirt, probability: 5 },
        { id: MinecraftBlockTypes.GoldOre, probability: 5 },
        { id: MinecraftBlockTypes.IronOre, probability: 5 },
        { id: MinecraftBlockTypes.DiamondOre, probability: 1 },
        { id: MinecraftBlockTypes.CoalOre, probability: 5 },
        { id: MinecraftBlockTypes.LapisOre, probability: 2 },
        { id: MinecraftBlockTypes.EmeraldOre, probability: 1 },
        { id: MinecraftBlockTypes.RedstoneOre, probability: 3 },
        { id: MinecraftBlockTypes.CopperOre, probability: 4 },
        { id: MinecraftBlockTypes.Gravel, probability: 5 },
    ],
    entities: [
        { id: MinecraftEntityTypes.Rabbit, probability: 29, location: { ground: true, liquid: true, air: false } },
        { id: MinecraftEntityTypes.Camel, probability: 29, location: { ground: true, liquid: false, air: false } },
        { id: MinecraftEntityTypes.Llama, probability: 29, location: { ground: true, liquid: false, air: false } },
        { id: MinecraftEntityTypes.Ocelot, probability: 29, location: { ground: true, liquid: false, air: false } },
        {
            id: MinecraftEntityTypes.Husk,
            probability: 36,
            location: { ground: true, liquid: false, air: false },
            time: { start: 13000, end: 23000 },
        },
        {
            id: MinecraftEntityTypes.Slime,
            probability: 14,
            location: { ground: true, liquid: false, air: false },
            time: { start: 13000, end: 23000 },
        },
        {
            id: MinecraftEntityTypes.Spider,
            probability: 14,
            location: { ground: true, liquid: false, air: false },
            time: { start: 13000, end: 23000 },
        },
        {
            id: MinecraftEntityTypes.Zombie,
            probability: 13,
            location: { ground: true, liquid: false, air: false },
            time: { start: 13000, end: 23000 },
        },
        {
            id: MinecraftEntityTypes.Skeleton,
            probability: 11,
            location: { ground: true, liquid: false, air: false },
            time: { start: 13000, end: 23000 },
        },
        {
            id: MinecraftEntityTypes.Enderman,
            probability: 1,
            location: { ground: true, liquid: false, air: false },
            time: { start: 13000, end: 23000 },
        },
    ],
    raid: {
        shard: { id: "bgs:shard_desert" },
        location: { x: 386.5, y: 130, z: -35.5 },
        effects: [
            { id: MinecraftEffectTypes.Speed, probability: 25, duration: 1200 },
            { id: MinecraftEffectTypes.Slowness, probability: 5, duration: 600 },
        ],
        entities: [
            { id: MinecraftEntityTypes.Husk, probability: 36 },
            { id: MinecraftEntityTypes.Slime, probability: 14 },
            { id: MinecraftEntityTypes.Spider, probability: 14 },
            { id: MinecraftEntityTypes.Zombie, probability: 13 },
            { id: MinecraftEntityTypes.Skeleton, probability: 11 },
            { id: MinecraftEntityTypes.Enderman, probability: 1 },
            { id: MinecraftEntityTypes.Witch, probability: 1 },
            { id: MinecraftEntityTypes.ZombieVillagerV2, probability: 1 },
            { id: MinecraftEntityTypes.Phantom, probability: 2 },
        ],
        chest: [
            { item: { id: MinecraftItemTypes.Sand }, amount: { min: 16, max: 64 }, probability: 15 },
            { item: { id: MinecraftItemTypes.Cactus }, amount: { min: 16, max: 32 }, probability: 12 },
            { item: { id: MinecraftItemTypes.GoldOre }, amount: { min: 4, max: 16 }, probability: 10 },
            { item: { id: MinecraftItemTypes.IronOre }, amount: { min: 4, max: 16 }, probability: 10 },
            { item: { id: MinecraftItemTypes.Arrow }, amount: { min: 8, max: 32 }, probability: 12 },
            { item: { id: MinecraftItemTypes.Potion }, amount: { min: 1, max: 3 }, probability: 8 },
            { item: { id: MinecraftItemTypes.GoldenApple }, amount: { min: 1, max: 2 }, probability: 8 },
            { item: { id: MinecraftItemTypes.Bread }, amount: { min: 16, max: 64 }, probability: 12 },
            { item: { id: MinecraftItemTypes.RabbitStew }, amount: { min: 1, max: 4 }, probability: 10 },
            { item: { id: MinecraftItemTypes.GoldenCarrot }, amount: { min: 1, max: 3 }, probability: 8 },
            { item: { id: MinecraftItemTypes.Bow }, amount: { min: 1, max: 1 }, probability: 10 },
            { item: { id: MinecraftItemTypes.Crossbow }, amount: { min: 1, max: 1 }, probability: 8 },
            { item: { id: MinecraftItemTypes.IronSword }, amount: { min: 1, max: 1 }, probability: 10 },
            { item: { id: MinecraftItemTypes.DiamondSword }, amount: { min: 1, max: 1 }, probability: 5 },
            { item: { id: MinecraftItemTypes.Shield }, amount: { min: 1, max: 1 }, probability: 8 },
            { item: { id: MinecraftItemTypes.FireCharge }, amount: { min: 4, max: 16 }, probability: 8 },
        ],
    },
    quest: {
        id: "b2250c81-bed4-4b45-be7f-e9db5cee7c12",
        tasks: [
            {
                collect: { id: MinecraftItemTypes.Sandstone, amount: 64 },
                rewards: [
                    {
                        id: MinecraftItemTypes.Shears,
                        amount: 1,
                        enchantments: [{ type: MinecraftEnchantmentTypes.Efficiency, level: 1 }],
                    },
                    {
                        id: MinecraftItemTypes.RabbitFoot,
                        amount: 1,
                    },
                ],
            },
            {
                collect: { id: MinecraftItemTypes.ChiseledSandstone, amount: 32 },
                rewards: [
                    { id: MinecraftItemTypes.DiamondShovel, amount: 1 },
                    {
                        id: MinecraftItemTypes.Potion,
                        amount: 1,
                        potion: { type: MinecraftPotionEffectTypes.Invisibility, level: 1 },
                    },
                ],
            },
            {
                defeat: { id: MinecraftEntityTypes.Husk, amount: 24 },
                rewards: [
                    { id: MinecraftItemTypes.TotemOfUndying, amount: 1 },
                    {
                        id: MinecraftItemTypes.EnchantedBook,
                        amount: 1,
                        enchantments: [{ type: MinecraftEnchantmentTypes.Mending, level: 1 }],
                    },
                ],
            },
        ],
    },
};
