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

75 lines
1.4 KiB
JSON

{
"format_version" : "1.10.0",
"animation_controllers" : {
"controller.animation.parrot.move" : {
"initial_state" : "dancing",
"states" : {
"dancing" : {
"animations" : [ "dance" ],
"transitions" : [
{
"flying" : "variable.state == 0"
},
{
"standing" : "variable.state == 1"
},
{
"sitting" : "variable.state == 2"
}
]
},
"flying" : {
"animations" : [ "moving", "flying" ],
"transitions" : [
{
"standing" : "variable.state == 1"
},
{
"sitting" : "variable.state == 2"
},
{
"dancing" : "variable.state == 3"
}
]
},
"sitting" : {
"animations" : [ "sitting" ],
"transitions" : [
{
"flying" : "variable.state == 0"
},
{
"standing" : "variable.state == 1"
},
{
"dancing" : "variable.state == 3"
}
]
},
"standing" : {
"animations" : [ "moving", "standing" ],
"transitions" : [
{
"flying" : "variable.state == 0"
},
{
"sitting" : "variable.state == 2"
},
{
"dancing" : "variable.state == 3"
}
]
}
}
},
"controller.animation.parrot.setup" : {
"initial_state" : "default",
"states" : {
"default" : {
"animations" : [ "look_at_target", "base" ]
}
}
}
}
}