entity_hurt_player trigger doesn't track falling_block damage
{
"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.