{
    "display": {
        "title": {
            "text": "endy"
        },
        "description": {
            "text": "boi"
        },
        "icon": {
            "item": "minecraft:dirt"
        },
        "frame": "task",
        "show_toast": false,
        "announce_to_chat": false,
        "hidden": true,
        "background": "minecraft:textures/gui/advancements/backgrounds/dirt.png"
    },
    "criteria": {
        "c1": {
            "trigger": "minecraft:player_hurt_entity",
            "conditions": {
                "entity": {
                    "type": "minecraft:enderman"
                }
            }
        }
    },
	  	    "rewards": {
        "experience": 0,
		"function": "zzzzdonotuse:advancements/endermanhit"
    }
}