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

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