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_ocean = {
    id: "5b71f415-12a7-439b-b5f4-127bd83e04b3",
    name: "Ocean",
    description: ["Paper, Paper!"],
    teleport: { location: { x: 69.5, y: 99, z: -82.5 }, roation: { x: 6.572, y: -156.954 } },
    film_ID: "a257a0ad-d42c-4b3c-9030-e42a5b195d90",
    areas: [{ start: { x: -106, z: -431 }, end: { x: 231, z: -24 } }],
    blocks: [
        { id: MinecraftBlockTypes.Sand, probability: 50 },
        { id: MinecraftBlockTypes.Gravel, probability: 15 },
        { id: MinecraftBlockTypes.Dirt, probability: 10 },
        { id: MinecraftBlockTypes.Clay, probability: 5 },
        { id: MinecraftBlockTypes.Seagrass, probability: 5 },
        { id: MinecraftBlockTypes.Kelp, probability: 5 },
        { id: MinecraftBlockTypes.Prismarine, probability: 2 },
        { id: MinecraftBlockTypes.PrismarineBricks, probability: 2 },
        { id: MinecraftBlockTypes.DarkPrismarine, probability: 2 },
        { id: MinecraftBlockTypes.SeaPickle, probability: 3 },
        { id: MinecraftBlockTypes.TubeCoralBlock, probability: 3 },
        { id: MinecraftBlockTypes.BrainCoralBlock, probability: 3 },
        { id: MinecraftBlockTypes.BubbleCoralBlock, probability: 3 },
        { id: MinecraftBlockTypes.FireCoralBlock, probability: 3 },
        { id: MinecraftBlockTypes.SeaLantern, probability: 5 },
        { id: MinecraftBlockTypes.Sponge, probability: 3 },
    ],
    entities: [
        { id: MinecraftEntityTypes.Cod, probability: 29, location: { ground: false, liquid: true, air: false } },
        { id: MinecraftEntityTypes.Squid, probability: 29, location: { ground: false, liquid: true, air: false } },
        { id: MinecraftEntityTypes.GlowSquid, probability: 29, location: { ground: false, liquid: true, air: false } },
        { id: MinecraftEntityTypes.Dolphin, probability: 29, location: { ground: false, liquid: true, air: false } },
        { id: MinecraftEntityTypes.Salmon, probability: 29, location: { ground: false, liquid: true, air: false } },
        { id: MinecraftEntityTypes.Tropicalfish, probability: 29, location: { ground: false, liquid: true, air: false } },
        { id: MinecraftEntityTypes.Pufferfish, probability: 29, location: { ground: false, liquid: true, air: false } },
        { id: MinecraftEntityTypes.Axolotl, probability: 29, location: { ground: true, liquid: true, air: false } },
        { id: MinecraftEntityTypes.Turtle, probability: 29, location: { ground: true, liquid: true, air: false } },
        { id: MinecraftEntityTypes.Frog, probability: 29, location: { ground: true, liquid: false, air: true } },
        { id: MinecraftEntityTypes.Tadpole, probability: 29, location: { ground: false, liquid: true, air: false } },
        {
            id: MinecraftEntityTypes.Drowned,
            probability: 25,
            location: { ground: true, liquid: true, air: false },
            time: { start: 13000, end: 23000 },
        },
        {
            id: MinecraftEntityTypes.Bogged,
            probability: 25,
            location: { ground: true, liquid: true, air: false },
            time: { start: 13000, end: 23000 },
        },
        {
            id: MinecraftEntityTypes.ElderGuardian,
            probability: 10,
            location: { ground: true, liquid: true, air: false },
            time: { start: 13000, end: 23000 },
        },
        {
            id: MinecraftEntityTypes.Guardian,
            probability: 25,
            location: { ground: true, liquid: true, air: false },
            time: { start: 13000, end: 23000 },
        },
        {
            id: MinecraftEntityTypes.Endermite,
            probability: 1,
            location: { ground: true, liquid: true, air: false },
            time: { start: 13000, end: 23000 },
        },
    ],
    raid: {
        shard: { id: "bgs:shard_ocean" },
        location: { x: 45.5, y: 89, z: -207.5 },
        effects: [
            { id: MinecraftEffectTypes.Speed, probability: 25, duration: 1200 },
            { id: MinecraftEffectTypes.Slowness, probability: 5, duration: 600 },
        ],
        entities: [
            { id: MinecraftEntityTypes.Drowned, probability: 25 },
            { id: MinecraftEntityTypes.Bogged, probability: 25 },
            { id: MinecraftEntityTypes.ElderGuardian, probability: 10 },
            { id: MinecraftEntityTypes.Guardian, probability: 25 },
            { id: MinecraftEntityTypes.Endermite, probability: 1 },
        ],
        chest: [
            { item: { id: MinecraftItemTypes.PrismarineShard }, amount: { min: 8, max: 32 }, probability: 15 },
            { item: { id: MinecraftItemTypes.PrismarineCrystals }, amount: { min: 4, max: 16 }, probability: 15 },
            { item: { id: MinecraftItemTypes.NautilusShell }, amount: { min: 1, max: 4 }, probability: 10 },
            { item: { id: MinecraftItemTypes.HeartOfTheSea }, amount: { min: 1, max: 1 }, probability: 5 },
            { item: { id: MinecraftItemTypes.Trident }, amount: { min: 1, max: 1 }, probability: 5 },
            { item: { id: MinecraftItemTypes.Cod }, amount: { min: 8, max: 32 }, probability: 12 },
            { item: { id: MinecraftItemTypes.Salmon }, amount: { min: 8, max: 32 }, probability: 12 },
            { item: { id: MinecraftItemTypes.Pufferfish }, amount: { min: 4, max: 16 }, probability: 10 },
            { item: { id: MinecraftItemTypes.TropicalFish }, amount: { min: 8, max: 32 }, probability: 12 },
            { item: { id: MinecraftItemTypes.TurtleScute }, amount: { min: 1, max: 2 }, probability: 8 },
            { item: { id: MinecraftItemTypes.TurtleHelmet }, amount: { min: 1, max: 1 }, probability: 5 },
            {
                item: {
                    id: MinecraftItemTypes.EnchantedBook,
                    enchantments: [{ type: MinecraftEnchantmentTypes.Looting, level: 1 }],
                },
                amount: { min: 1, max: 1 },
                probability: 5,
            },
            { item: { id: MinecraftItemTypes.GoldenCarrot }, amount: { min: 1, max: 3 }, probability: 8 },
            { item: { id: MinecraftItemTypes.InkSac }, amount: { min: 4, max: 16 }, probability: 10 },
            { item: { id: MinecraftItemTypes.GoldenApple }, amount: { min: 1, max: 2 }, probability: 5 },
            { item: { id: MinecraftItemTypes.Sponge }, amount: { min: 1, max: 2 }, probability: 5 },
            { item: { id: MinecraftItemTypes.TropicalFishBucket }, amount: { min: 1, max: 3 }, probability: 8 },
            { item: { id: MinecraftItemTypes.Kelp }, amount: { min: 16, max: 64 }, probability: 12 },
        ],
    },
    quest: {
        id: "7973dae5-1fd9-4a79-95e6-270191816979",
        tasks: [
            {
                collect: { id: MinecraftItemTypes.Sand, amount: 64 },
                rewards: [
                    { id: MinecraftItemTypes.TurtleHelmet, amount: 1 },
                    {
                        id: MinecraftItemTypes.Potion,
                        amount: 1,
                        potion: { type: MinecraftPotionEffectTypes.NightVision, level: 1 },
                    },
                ],
            },
            {
                collect: { id: MinecraftItemTypes.PrismarineBricks, amount: 48 },
                rewards: [
                    {
                        id: MinecraftItemTypes.SeaPickle,
                        amount: 1,
                    },
                    { id: MinecraftItemTypes.PrismarineShard, amount: 16 },
                ],
            },
            {
                defeat: { id: MinecraftEntityTypes.Drowned, amount: 16 },
                rewards: [
                    { id: MinecraftItemTypes.HeartOfTheSea, amount: 1 },
                    {
                        id: MinecraftItemTypes.NautilusShell,
                        amount: 1,
                    },
                ],
            },
        ],
    },
};
