The bug
It looks like the source_entity advancement trigger condition exists twice:
"conditions": {
"damage": {
"source_entity": { },
"type": {
"source_entity": { }
}
}
}Attachments
Comments 2
This is still an issue as of 1.21.11, this can be confirmed via datapacks:
How to Reproduce
/summon skeleton ~ ~ ~3
Let it attack you, test A + B will trigger
/advancement revoke @s everything
Get blown up by a creeper, test D triggers, C does not
Clarification
If Test C never triggers under any circumstance, it proves both source_entity fields check the same entity, making the condition impossible (nothing can be both a skeleton and a creeper simultaneously). That's the definitive proof the fields are duplicated and redundant.
Is this still a issue in the latest version of the game(currently 1.13.1)?
If so, please add it to the affected versions, thanks!