support mc1.21;需要放弃支持mc1.20

This commit is contained in:
Harvey_Husky
2024-06-16 11:01:54 +08:00
parent 61a9f25505
commit d81d0a530a
919 changed files with 6094 additions and 386 deletions
@@ -0,0 +1,34 @@
{
"parent": "fzsd:game_event/on_sneak",
"criteria": {
"on_unsneak": {
"trigger": "minecraft:tick",
"conditions": {
"player": [
{
"condition": "minecraft:reference",
"name": "fzsd:is_real_player"
},
{
"condition": "minecraft:entity_properties",
"entity": "this",
"predicate": {
"flags": {
"is_sneaking": false
},
"type_specific": {
"type": "player",
"advancements": {
"fzsd:game_event/on_sneak": true
}
}
}
}
]
}
}
},
"rewards": {
"function": "fzsd:game_event/advancement/on_unsneak"
}
}