24 lines
651 B
JSON
24 lines
651 B
JSON
{
|
|
"parent": "fz:game_event",
|
|
"criteria": {
|
|
"on_play_one_hour": {
|
|
"trigger": "minecraft:tick",
|
|
"conditions": {
|
|
"player": [
|
|
{
|
|
"condition": "minecraft:entity_scores",
|
|
"entity": "this",
|
|
"scores": {
|
|
"fz.event.play_ticks": {
|
|
"min": 72000
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"rewards": {
|
|
"function": "fz:game_event/player/on_play_one_hour"
|
|
}
|
|
} |