Advancement
{
"criteria": {
"interact_with_any_entity": {
"trigger": "minecraft:player_interacted_with_entity",
"conditions": {}
}
},
"rewards": {
"function": "minecraft:test"
}
}
Function
say 1
advancement revoke @s only minecraft:test
It works with
Villagers
Wandering Traders
Creepers(When use Flint and Steel)
Horses(When mount)
Armor Stands(When equip)
Sheeps(When shear)
Axolotls(When use Water Bucket)
but not with Area Effect Clouds(When used Glass Bottle to get Dragon Breath)
Is the area_effect_cloud an entity?
Please give me the data pack you use to testing, it's easier than I create the data pack.