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/panda.animation_controllers.json
Mike Ammerlaan a3b394c507 1.19.30
Initial layout
2022-09-23 06:24:26 -07:00

108 lines
1.9 KiB
JSON

{
"format_version" : "1.10.0",
"animation_controllers" : {
"controller.animation.panda.baby" : {
"initial_state" : "baby",
"states" : {
"baby" : {
"animations" : [
{
"baby_transform" : "query.is_baby"
}
]
}
}
},
"controller.animation.panda.move" : {
"initial_state" : "default",
"states" : {
"default" : {
"animations" : [
{
"walk" : "query.modified_move_speed"
},
"look_at_target"
],
"transitions" : [
{
"rolling" : "query.roll_counter > 0"
},
{
"sitting" : "query.sit_amount > 0"
},
{
"lying" : "query.lie_amount > 0"
}
]
},
"lying" : {
"animations" : [ "lying" ],
"transitions" : [
{
"default" : "query.lie_amount <= 0"
},
{
"rolling" : "query.roll_counter > 0"
},
{
"sitting" : "query.sit_amount > 0"
}
]
},
"rolling" : {
"animations" : [ "rolling" ],
"transitions" : [
{
"default" : "query.roll_counter <= 0"
},
{
"sitting" : "query.sit_amount > 0"
},
{
"lying" : "query.lie_amount > 0"
}
]
},
"sitting" : {
"animations" : [ "sitting" ],
"transitions" : [
{
"default" : "query.sit_amount <= 0"
},
{
"rolling" : "query.roll_counter > 0"
},
{
"lying" : "query.lie_amount > 0"
}
]
}
}
},
"controller.animation.panda.sneezing" : {
"initial_state" : "baby",
"states" : {
"baby" : {
"animations" : [
{
"sneezing" : "query.sneeze_counter"
}
]
}
}
},
"controller.animation.panda.unhappy" : {
"initial_state" : "baby",
"states" : {
"baby" : {
"animations" : [
{
"unhappy" : "query.unhappy_counter"
}
]
}
}
}
}
}