{
    "conditions":
    [
        {
            "type": "forge:false"
        }
    ],
    "size": "medium",
    "color": "#056608",
    "waves":
    [
        {
            "entities":
            [
                {
                    "entity": "minecraft:zombie",
                    "count": 5
                }
            ],
            "modifiers":
            [
                {
                    "attribute": "generic.max_health",
                    "operation": "MULTIPLY_TOTAL",
                    "value": 0.25
                }
            ],
            "rewards":
            [
                {
                    "type": "gateways:stack",
                    "stack":
                    {
                        "item": "minecraft:hay_block",
                        "count": 16
                    }
                }
            ],
            "max_wave_time": 1000,
            "setup_time": 200
        },
        {
            "entities":
            [
                {
                    "entity": "minecraft:spider",
                    "count": 5
                }
            ],
            "modifiers":
            [
                {
                    "attribute": "generic.max_health",
                    "operation": "MULTIPLY_TOTAL",
                    "value": 0.20
                },
                {
                    "attribute": "generic.movement_speed",
                    "operation": "MULTIPLY_TOTAL",
                    "value": 0.05
                },
                {
                    "attribute": "generic.armor",
                    "operation": "ADDITION",
                    "value": 4
                },
                {
                    "attribute": "generic.attack_damage",
                    "operation": "ADDITION",
                    "value": 2.5
                },
                {
                    "attribute": "attributeslib:armor_pierce",
                    "operation": "ADDITION",
                    "value": 2
                }
            ],
            "rewards":
            [
                {
                    "type": "gateways:stack_list",
                    "stacks":
                    [
                        {
                            "item": "minecraft:cactus",
                            "count": 16
                        },
                        {
                            "item": "minecraft:sugar_cane",
                            "count": 16
                        },
                        {
                            "item": "minecraft:bamboo",
                            "count": 16
                        }
                    ]
                }
            ],
            "max_wave_time": 1000,
            "setup_time": 200
        },
        {
            "entities":
            [
                {
                    "entity": "minecraft:zombie",
                    "count": 5
                },
                {
                    "entity": "minecraft:spider",
                    "count": 2
                }
            ],
            "modifiers":
            [
                {
                    "attribute": "generic.max_health",
                    "operation": "MULTIPLY_TOTAL",
                    "value": 0.35
                },
                {
                    "attribute": "generic.movement_speed",
                    "operation": "MULTIPLY_TOTAL",
                    "value": 0.15
                },
                {
                    "attribute": "generic.armor",
                    "operation": "ADDITION",
                    "value": 5
                },
                {
                    "attribute": "generic.attack_damage",
                    "operation": "ADDITION",
                    "value": 2.5
                },
                {
                    "attribute": "attributeslib:armor_pierce",
                    "operation": "ADDITION",
                    "value": 3
                },
                {
                    "attribute": "attributeslib:life_steal",
                    "operation": "ADDITION",
                    "value": 0.10
                }
            ],
            "rewards":
            [
                {
                    "type": "gateways:stack_list",
                    "stacks":
                    [
                        {
                            "item": "minecraft:carrot",
                            "count": 32
                        },
                        {
                            "item": "minecraft:potato",
                            "count": 32
                        },
                        {
                            "item": "minecraft:apple",
                            "count": 32
                        },
                        {
                            "item": "minecraft:beetroot",
                            "count": 32
                        }
                    ]
                }
            ],
            "max_wave_time": 1000,
            "setup_time": 200
        },
        {
            "entities":
            [
                {
                    "entity": "minecraft:zombie_villager",
                    "desc": "name.gateways.necrotic_farmer",
                    "nbt":
                    {
                        "CustomNameVisible": 1,
                        "CustomName": "{\"translate\":\"name.gateways.necrotic_farmer\",\"color\":\"red\"}",
                        "VillagerData":
                        {
                            "profession": "minecraft:farmer"
                        }
                    },
                    "modifiers":
                    [
                        {
                            "type": "gateways:gear_set",
                            "gear_set": "gateways:iron"
                        }
                    ],
                    "finalize_spawn": false
                },
                {
                    "entity": "minecraft:zombie",
                    "count": 3
                },
                {
                    "entity": "minecraft:spider",
                    "count": 2
                }
            ],
            "modifiers":
            [
                {
                    "attribute": "generic.max_health",
                    "operation": "MULTIPLY_TOTAL",
                    "value": 0.40
                },
                {
                    "attribute": "generic.knockback_resistance",
                    "operation": "ADDITION",
                    "value": 0.5
                },
                {
                    "attribute": "generic.armor",
                    "operation": "ADDITION",
                    "value": 5
                },
                {
                    "attribute": "generic.attack_damage",
                    "operation": "ADDITION",
                    "value": 4
                },
                {
                    "attribute": "attributeslib:armor_pierce",
                    "operation": "ADDITION",
                    "value": 3
                },
                {
                    "attribute": "attributeslib:life_steal",
                    "operation": "ADDITION",
                    "value": 0.10
                }
            ],
            "rewards":
            [
                {
                    "type": "gateways:stack_list",
                    "stacks":
                    [
                        {
                            "item": "minecraft:oak_sapling",
                            "count": 16
                        },
                        {
                            "item": "minecraft:birch_sapling",
                            "count": 16
                        },
                        {
                            "item": "minecraft:spruce_sapling",
                            "count": 16
                        },
                        {
                            "item": "minecraft:dark_oak_sapling",
                            "count": 16
                        },
                        {
                            "item": "minecraft:acacia_sapling",
                            "count": 16
                        },
                        {
                            "item": "minecraft:cherry_sapling",
                            "count": 16
                        }
                    ]
                }
            ],
            "max_wave_time": 1200,
            "setup_time": 200
        }
    ],
    "rewards":
    [
        {
            "type": "gateways:summon",
            "entity":
            {
                "entity": "minecraft:cow",
                "count": 6
            }
        },
        {
            "type": "gateways:summon",
            "entity":
            {
                "entity": "minecraft:chicken",
                "count": 6
            }
        },
        {
            "type": "gateways:summon",
            "entity":
            {
                "entity": "minecraft:sheep",
                "count": 6
            }
        },
        {
            "type": "gateways:summon",
            "entity":
            {
                "entity": "minecraft:pig",
                "count": 6
            }
        }
    ],
    "failures":
    [
        {
            "type": "gateways:explosion",
            "strength": 2,
            "fire": true,
            "block_damage": true
        }
    ]
}