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

42 lines
1.5 KiB
JSON
Raw Normal View History

{
"parent": "fzsd:module/interactor",
"criteria": {
"on_click": {
"trigger": "minecraft:tick",
"conditions": {
"player": [
{
"condition": "minecraft:reference",
"name": "fzsd:is_real_player"
},
{
"condition": "minecraft:alternative",
"terms": [
{
"condition": "minecraft:entity_scores",
"entity": "this",
"scores": {
"fzsd.module.interactor.trigger": {
"min": 1
}
}
},
{
"condition": "minecraft:entity_scores",
"entity": "this",
"scores": {
"fzsd.module.interactor.trigger": {
"max": -1
}
}
}
]
}
]
}
}
},
"rewards": {
2022-07-31 10:17:11 +08:00
"function": "fzsd:module/interactor/event/advamcement/on_click"
}
}