fz-survival-datapack/data/fzsd/advancements/game_event/on_sneak.json

28 lines
803 B
JSON
Raw Normal View History

2022-06-23 20:06:15 +08:00
{
"parent": "fzsd:game_event",
2022-06-23 20:09:15 +08:00
"criteria": {
2022-07-03 19:01:51 +08:00
"on_sneak": {
2022-06-23 20:09:15 +08:00
"trigger": "minecraft:tick",
"conditions": {
"player": [
{
"condition": "minecraft:reference",
"name": "fzsd:is_real_player"
},
{
"condition": "minecraft:entity_properties",
"entity": "this",
"predicate": {
"flags": {
"is_sneaking": true
}
}
2022-06-23 20:09:15 +08:00
}
]
2022-06-23 20:09:15 +08:00
}
}
},
"rewards": {
"function": "fzsd:game_event/advancement/on_sneak"
2022-06-23 20:09:15 +08:00
}
2022-06-23 20:06:15 +08:00
}