mirror of
https://github.com/Mojang/bedrock-samples.git
synced 2024-11-27 05:48:55 +00:00
a3b394c507
Initial layout
116 lines
2.1 KiB
JSON
116 lines
2.1 KiB
JSON
{
|
|
"format_version" : "1.10.0",
|
|
"animation_controllers" : {
|
|
"controller.animation.cat.baby" : {
|
|
"initial_state" : "baby",
|
|
"states" : {
|
|
"baby" : {
|
|
"animations" : [
|
|
{
|
|
"baby_transform" : "query.is_baby"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"controller.animation.cat.look_at_target" : {
|
|
"initial_state" : "default",
|
|
"states" : {
|
|
"default" : {
|
|
"animations" : [ "look_at_target" ]
|
|
}
|
|
}
|
|
},
|
|
"controller.animation.cat.move" : {
|
|
"initial_state" : "lie_down",
|
|
"states" : {
|
|
"lie_down" : {
|
|
"animations" : [ "lie_down" ],
|
|
"transitions" : [
|
|
{
|
|
"sneaking" : "variable.state == 0"
|
|
},
|
|
{
|
|
"sprinting" : "variable.state == 1"
|
|
},
|
|
{
|
|
"sitting" : "variable.state == 2"
|
|
},
|
|
{
|
|
"walking" : "variable.state == 3"
|
|
}
|
|
]
|
|
},
|
|
"sitting" : {
|
|
"animations" : [ "sit" ],
|
|
"transitions" : [
|
|
{
|
|
"sneaking" : "variable.state == 0"
|
|
},
|
|
{
|
|
"sprinting" : "variable.state == 1"
|
|
},
|
|
{
|
|
"walking" : "variable.state == 3"
|
|
},
|
|
{
|
|
"lie_down" : "variable.state == 4"
|
|
}
|
|
]
|
|
},
|
|
"sneaking" : {
|
|
"animations" : [ "sneak" ],
|
|
"transitions" : [
|
|
{
|
|
"sprinting" : "variable.state == 1"
|
|
},
|
|
{
|
|
"sitting" : "variable.state == 2"
|
|
},
|
|
{
|
|
"walking" : "variable.state == 3"
|
|
},
|
|
{
|
|
"lie_down" : "variable.state == 4"
|
|
}
|
|
]
|
|
},
|
|
"sprinting" : {
|
|
"animations" : [ "sprint" ],
|
|
"transitions" : [
|
|
{
|
|
"sneaking" : "variable.state == 0"
|
|
},
|
|
{
|
|
"sitting" : "variable.state == 2"
|
|
},
|
|
{
|
|
"walking" : "variable.state == 3"
|
|
},
|
|
{
|
|
"lie_down" : "variable.state == 4"
|
|
}
|
|
]
|
|
},
|
|
"walking" : {
|
|
"animations" : [ "walk" ],
|
|
"transitions" : [
|
|
{
|
|
"sneaking" : "variable.state == 0"
|
|
},
|
|
{
|
|
"sprinting" : "variable.state == 1"
|
|
},
|
|
{
|
|
"sitting" : "variable.state == 2"
|
|
},
|
|
{
|
|
"lie_down" : "variable.state == 4"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|