19 lines
476 B
JSON
19 lines
476 B
JSON
{
|
|
"parent": "fzsd:game_event",
|
|
"criteria": {
|
|
"on_sleeping": {
|
|
"trigger": "minecraft:slept_in_bed",
|
|
"conditions": {
|
|
"player": [
|
|
{
|
|
"condition": "minecraft:reference",
|
|
"name": "fzsd:is_real_player"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"rewards": {
|
|
"function": "fzsd:game_event/advancement/on_sleeping"
|
|
}
|
|
} |