export const lightningStun = {
    id: "stun_entity",
    effects: [
        {
            type: "minecraft:slowness",
            duration: 1,
            properties: {
                amplifier: 3,
                showParticles: false,
            },
        },
    ],
    visualEffects: {
        onStart: {
            sounds: ["cc:lightning_hit"],
        },
        onInterval: {
            particles: [
                {
                    id: "cc:lightning_hit",
                    interval: 2,
                },
            ],
        },
    },
    duration: 1,
};
export const freezeSlowness = {
    id: "freeze_entity",
    effects: [
        {
            type: "minecraft:slowness",
            duration: 5,
            properties: {
                amplifier: 1,
                showParticles: false,
            },
        },
    ],
    visualEffects: {
        onStart: {
            sounds: ["cc:freeze_hit"],
        },
        onInterval: {
            particles: [
                {
                    id: "cc:freeze_hit",
                    interval: 2,
                },
            ],
        },
    },
    duration: 5,
};
export const poisonEffect = {
    id: "poison_entity",
    effects: [
        {
            type: "minecraft:poison",
            duration: 5,
            properties: {
                amplifier: 1,
                showParticles: false,
            },
        },
    ],
    visualEffects: {
        onStart: {
            sounds: ["cc:poison_hit"],
        },
        onInterval: {
            particles: [
                {
                    id: "cc:poison_hit",
                    interval: 2,
                },
                {
                    id: "cc:poison_smoke",
                    interval: 2,
                },
            ],
        },
    },
    duration: 5,
};
export const webbedEffect = {
    id: "webbed_entity",
    duration: 5,
    effects: [
        {
            type: "slowness",
            duration: 5,
            properties: {
                amplifier: 2,
                showParticles: false,
            },
        },
    ],
    visualEffects: {
        onStart: {
            sounds: ["cc:web_hit"],
        },
        onInterval: {
            particles: [
                {
                    interval: 1,
                    id: "cc:webbed",
                },
            ],
        },
    },
};
