fz-survival-datapack/data/fz/advancements/module/interactor/on_click.json

25 lines
721 B
JSON

{
"parent": "fz:module/interactor",
"criteria": {
"on_click": {
"trigger": "minecraft:tick",
"conditions": {
"player": [
{
"condition": "minecraft:inverted",
"term": {
"condition": "minecraft:entity_scores",
"entity": "this",
"scores": {
"fz.module.interactor.trigger": 0
}
}
}
]
}
}
},
"rewards": {
"function": "fz:module/interactor/event/on_click"
}
}