mirror of
https://github.com/Mojang/bedrock-samples.git
synced 2024-11-23 13:36:18 +00:00
a3b394c507
Initial layout
76 lines
1.3 KiB
JSON
76 lines
1.3 KiB
JSON
{
|
|
"format_version" : "1.10.0",
|
|
"animation_controllers" : {
|
|
"controller.animation.villager_v2.baby" : {
|
|
"initial_state" : "baby",
|
|
"states" : {
|
|
"baby" : {
|
|
"animations" : [
|
|
{
|
|
"baby_transform" : "query.is_baby"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"controller.animation.villager_v2.general" : {
|
|
"initial_state" : "default",
|
|
"states" : {
|
|
"default" : {
|
|
"animations" : [
|
|
"general",
|
|
{
|
|
"look_at_target" : "!query.is_sleeping"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"controller.animation.villager_v2.move" : {
|
|
"initial_state" : "default",
|
|
"states" : {
|
|
"default" : {
|
|
"animations" : [
|
|
{
|
|
"move" : "query.modified_move_speed"
|
|
}
|
|
],
|
|
"transitions" : [
|
|
{
|
|
"get_in_bed" : "query.is_sleeping"
|
|
}
|
|
]
|
|
},
|
|
"get_in_bed" : {
|
|
"animations" : [ "get_in_bed" ],
|
|
"transitions" : [
|
|
{
|
|
"default" : "!query.is_sleeping"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"controller.animation.villager_v2.raise_arms" : {
|
|
"initial_state" : "default",
|
|
"states" : {
|
|
"default" : {
|
|
"transitions" : [
|
|
{
|
|
"raising" : "variable.raise_arms > 0.0"
|
|
}
|
|
]
|
|
},
|
|
"raising" : {
|
|
"animations" : [ "raise_arms" ],
|
|
"transitions" : [
|
|
{
|
|
"default" : "variable.raise_arms == 0.0"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|