继续完善config
This commit is contained in:
@@ -3,10 +3,24 @@
|
||||
"login": {
|
||||
"trigger": "tick",
|
||||
"conditions": {
|
||||
"player": {
|
||||
""
|
||||
}
|
||||
"player": [
|
||||
{
|
||||
"condition": "minecraft:inverted",
|
||||
"term": {
|
||||
"condition": "minecraft:entity_scores",
|
||||
"entity": "this",
|
||||
"scores": {
|
||||
"fz.event.leave_game": {
|
||||
"max": 0
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"rewards": {
|
||||
"function": "fz:event/on_login"
|
||||
}
|
||||
}
|
||||
@@ -1,15 +1,10 @@
|
||||
{
|
||||
"parent": "fz:sneak",
|
||||
"criteria": {
|
||||
"unsneak": {
|
||||
"trigger": "tick",
|
||||
"conditions": {
|
||||
"player": {
|
||||
"type_specific": {
|
||||
"type": "player",
|
||||
"advancements": {
|
||||
"fz:config/sneak": true
|
||||
}
|
||||
},
|
||||
"flags": {
|
||||
"is_sneaking": false
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user