30 lines
959 B
JSON
30 lines
959 B
JSON
{
|
|
"criteria": {
|
|
"config_check_sneak":{
|
|
"trigger": "minecraft:tick",
|
|
"conditions": {
|
|
"player": [
|
|
{
|
|
"condition": "minecraft:entity_properties",
|
|
"entity": "this",
|
|
"predicate": {
|
|
"type": "minecraft:player",
|
|
"type_specific": {
|
|
"type": "player",
|
|
"advancements": {
|
|
"fz:config/sneak": true
|
|
}
|
|
},
|
|
"flags": {
|
|
"is_sneaking": false
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"rewards": {
|
|
"function": "fz:config/unsneak"
|
|
}
|
|
} |