mirror of
https://github.com/Mojang/bedrock-samples.git
synced 2024-11-23 13:36:18 +00:00
a3b394c507
Initial layout
46 lines
869 B
JSON
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"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|