25 lines
721 B
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"
|
|
}
|
|
} |