2022-07-03 06:27:45 +08:00
|
|
|
{
|
|
|
|
"criteria": {
|
2022-07-03 19:01:51 +08:00
|
|
|
"on_play_one_hour": {
|
2022-07-03 06:27:45 +08:00
|
|
|
"trigger": "minecraft:tick",
|
|
|
|
"conditions": {
|
|
|
|
"player": [
|
|
|
|
{
|
|
|
|
"condition": "minecraft:entity_scores",
|
|
|
|
"entity": "this",
|
|
|
|
"scores": {
|
2022-07-03 19:01:51 +08:00
|
|
|
"fz.event.play_seconds": {
|
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
|
|
|
}
|
|
|
|
}
|