This commit is contained in:
延皓
2021-07-03 18:55:08 +08:00
commit b259706807
114 changed files with 3798 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
{
"criteria": {
"config_check_sneak":{
"trigger": "minecraft:tick",
"conditions": {
"player": [
{
"condition": "minecraft:entity_properties",
"entity": "this",
"predicate": {
"flags": {
"is_sneaking": true
}
}
}
]
}
}
}
}
+28
View File
@@ -0,0 +1,28 @@
{
"criteria": {
"config_check_sneak":{
"trigger": "minecraft:tick",
"conditions": {
"player": [
{
"condition": "minecraft:entity_properties",
"entity": "this",
"predicate": {
"player": {
"advancements": {
"fz:config/sneak": true
}
},
"flags": {
"is_sneaking": false
}
}
}
]
}
}
},
"rewards": {
"function": "fz:config/unsneak"
}
}