-
Bug
-
Resolution: Fixed
-
Minecraft 17w13a
-
Confirmed
No condition that makes use of an "entity" source functions. This includes:
- minecraft:bred_animals trigger.
- minecraft:player_damaged trigger.
- minecraft:summoned_entity trigger.
- minecraft:player_killed_entity trigger.
Given the example advancement, placed in world/data/advancements/custom/cow.json:
{
"criteria": {
"findme": {
"trigger": "minecraft:bred_animals",
"conditions": {
"child": {
"type":"minecraft:cow"
}
}
}
}
}
And the following command to test it at will (see MC-115064 for namespace issue):
/advancement test @p minecraft:custom/cow
Breeding two cows to create a calf will not fulfill the condition, showing no errors. The same occurs with the parents array, though they would likely both be fixed at the same time.