{
"criteria": {
"damage": {
"trigger": "minecraft:entity_hurt_player",
"conditions": {
"damage": {
"source_entity": {
"type": "minecraft:falling_block"
}
}
}
}
},
"rewards": {
"function": "..."
}
}
From the given function you'd expect that when an anvil land on you it will fire a function but it does not.
Confirmed in 1.16.1
Tried either source_entity or direct_entity, not working as soon as it was add.