{
    "name": "Uneasy Alliance",
    "description": "You and the pillagers have known eachother, but not well enough for them to let you live. Whenever you kill an iron golem in a village, it'll start a raid.",
    "type": "origins:self_action_on_kill",
    "target_condition": {
        "type": "origins:entity_type",
        "entity_type": "minecraft:iron_golem"
    },
    "entity_action": {
        "type": "origins:apply_effect",
        "effect": {
            "effect": "minecraft:bad_omen",
            "duration": 1,
            "amplifier": 0,
            "show_particles": false,
            "show_icon": false
        }
    },
    "cooldown": 1
}