18 lines
392 B
JSON
18 lines
392 B
JSON
{
|
|
"parent": "fz:game_event",
|
|
"criteria": {
|
|
"on_sneak": {
|
|
"trigger": "minecraft:tick",
|
|
"conditions": {
|
|
"player": {
|
|
"flags": {
|
|
"is_sneaking": true
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"rewards": {
|
|
"function": "fz:game_event/player/on_sneak"
|
|
}
|
|
} |