2022-07-03 06:27:45 +08:00
|
|
|
{
|
|
|
|
"criteria": {
|
2022-07-03 06:40:19 +08:00
|
|
|
"play_one_hour": {
|
2022-07-03 06:27:45 +08:00
|
|
|
"trigger": "minecraft:tick",
|
|
|
|
"conditions": {
|
|
|
|
"player": [
|
|
|
|
{
|
|
|
|
"condition": "minecraft:entity_scores",
|
|
|
|
"entity": "this",
|
|
|
|
"scores": {
|
|
|
|
"fz.module.scoreboard.assign.activation": {
|
2022-07-03 06:40:19 +08:00
|
|
|
"min": 3600
|
2022-07-03 06:27:45 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
2022-07-03 06:40:19 +08:00
|
|
|
},
|
|
|
|
"rewards": {
|
|
|
|
"function": "fz:event/on_play_one_hour"
|
2022-07-03 06:27:45 +08:00
|
|
|
}
|
|
|
|
}
|