{
    "conditions": [
        {
            "type": "forge:mod_loaded",
            "modid": "cataclysm"
        }
    ],
    "size": "large",
    "color": "#BF40BF",
    "waves": [
        {
            "entities": [
                {
                    "entity": "minecraft:enderman",
                    "count": 5
                },
                {
                    "entity": "cataclysm:endermaptera",
                    "count": 5
                }
            ],
            "modifiers": [
                {
                    "attribute": "generic.max_health",
                    "operation": "MULTIPLY_TOTAL",
                    "value": 0.1
                }
            ],
            "rewards": [
                {
                    "type": "gateways:entity_loot",
                    "entity": "minecraft:enderman",
                    "rolls": 5
                },
                {
                    "type": "gateways:entity_loot",
                    "entity": "cataclysm:endermaptera",
                    "rolls": 5
                }
            ],
            "max_wave_time": 1200,
            "setup_time": 100
        },
        {
            "entities": [
                {
                    "entity": "cataclysm:ender_golem",
                    "count": 1
                }
            ],
            "modifiers": [
                {
                    "attribute": "generic.max_health",
                    "operation": "MULTIPLY_TOTAL",
                    "value": 0.15
                }
            ],
            "rewards": [
                {
                    "type": "gateways:entity_loot",
                    "entity": "cataclysm:ender_golem",
                    "rolls": 2
                }
            ],
            "max_wave_time": 1800,
            "setup_time": 200
        },
        {
            "entities": [
                {
                    "entity": "cataclysm:ender_guardian",
                    "modifiers": [
                        {
                            "attribute": "generic.max_health",
                            "operation": "MULTIPLY_TOTAL",
                            "value": 0.5
                        },
                        {
                            "attribute": "generic.attack_damage",
                            "operation": "MULTIPLY_TOTAL",
                            "value": 0.2
                        },
                        {
                            "attribute": "attributeslib:armor_pierce",
                            "operation": "ADDITION",
                            "value": 5
                        }
                    ],
                    "count": 1,
                    "finalize_spawn": false
                },
                {
                    "entity": "cataclysm:endermaptera",
                    "count": 5
                }
            ],
            "modifiers": [
                {
                    "attribute": "generic.max_health",
                    "operation": "MULTIPLY_TOTAL",
                    "value": 0.5
                },
                {
                    "attribute": "generic.attack_damage",
                    "operation": "MULTIPLY_TOTAL",
                    "value": 0.2
                },
                {
                    "attribute": "attributeslib:armor_pierce",
                    "operation": "ADDITION",
                    "value": 5
                }
            ],
            "rewards": [
                {
                    "type": "gateways:entity_loot",
                    "entity": "cataclysm:ender_guardian",
                    "rolls": 1
                }
            ],
            "max_wave_time": 6000,
            "setup_time": 400
        }
    ],
    "rewards": [
        {
            "type": "gateways:loot_table",
            "loot_table": "minecraft:chests/bastion_bridge",
            "rolls": 3,
            "desc": "Bastion Bridge Loot"
        }
    ],
    "failures": [
        {
            "type": "gateways:explosion",
            "strength": 8,
            "fire": true,
            "block_damage": true
        },
        {
            "type": "gateways:summon",
            "entity": {
                "entity": "cataclysm:endermaptera",
                "count": 10
            }
        }
    ]
}