fz-survival-datapack/data/fz/advancements/leavegame.json
2020-11-27 00:27:49 +08:00

27 lines
826 B
JSON

{
"criteria": {
"leave_game": {
"trigger": "minecraft:tick",
"conditions": {
"player": [
{
"condition": "minecraft:inverted",
"term": {
"condition": "minecraft:entity_scores",
"entity": "this",
"scores": {
"leaveGame": {
"min": -2147483648,
"max": 0
}
}
}
}
]
}
}
},
"rewards": {
"function": "fz:login/onlogin"
}
}