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

46 lines
869 B
JSON

{
"format_version" : "1.10.0",
"animation_controllers" : {
"controller.animation.zombie.attack_bare_hand" : {
"initial_state" : "default",
"states" : {
"default" : {
"transitions" : [
{
"is_bare_hand" : "variable.is_holding_left != 1.0"
}
]
},
"is_bare_hand" : {
"animations" : [ "zombie_attack_bare_hand" ],
"transitions" : [
{
"default" : "variable.is_holding_left == 1.0"
}
]
}
}
},
"controller.animation.zombie.swimming" : {
"initial_state" : "default",
"states" : {
"default" : {
"transitions" : [
{
"is_swimming" : "variable.swim_amount > 0.0"
}
]
},
"is_swimming" : {
"animations" : [ "swimming" ],
"transitions" : [
{
"default" : "variable.swim_amount <= 0.0"
}
]
}
}
}
}
}