1
0
mirror of https://github.com/Mojang/bedrock-samples.git synced 2024-11-27 05:48:55 +00:00
bedrock-samples/resource_pack/animation_controllers/cat.animation_controllers.json
Mike Ammerlaan a3b394c507 1.19.30
Initial layout
2022-09-23 06:24:26 -07:00

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"
}
]
}
}
}
}
}