{
    "display": {
        "icon": {
            "item": "minecraft:dead_horn_coral_fan"
        },
        "title": "Goat Simulator",
        "description": "Get killed by a Goat that rammed into you.",
        "announce_to_chat": true

    },
    "rewards": {
        "function": "testing:test_function"
    },        
    "criteria": {
        "goat": {
            "trigger": "minecraft:entity_killed_player",
            "conditions": {
                "entity": {
                    "type": "goat"
                }
            }
        }
    }
}