Entity Properties should have the "damaged" section where it will be like the "Damage Source Properties".
Example:
{
"condition": "minecraft:entity_properties",
"entity": "this",
"predicate": {
"type": "minecraft:piglin_brute",
"damaged": {
"is_explosion": true
}
}
}
Please sign in to leave a comment.
0 Comments