mirror of
https://github.com/Mojang/bedrock-samples.git
synced 2024-11-27 05:48:55 +00:00
a3b394c507
Initial layout
93 lines
1.8 KiB
JSON
93 lines
1.8 KiB
JSON
{
|
|
"format_version" : "1.10.0",
|
|
"animation_controllers" : {
|
|
"controller.animation.iron_golem.arm_movement" : {
|
|
"initial_state" : "default",
|
|
"states" : {
|
|
"attack" : {
|
|
"animations" : [ "attack" ],
|
|
"transitions" : [
|
|
{
|
|
"default" : "!query.has_target && variable.attack_animation_tick <= 0.0"
|
|
},
|
|
{
|
|
"has_target" : "query.has_target && variable.attack_animation_tick <= 0.0"
|
|
}
|
|
]
|
|
},
|
|
"default" : {
|
|
"animations" : [ "move" ],
|
|
"transitions" : [
|
|
{
|
|
"attack" : "variable.attack_animation_tick > 0.0"
|
|
},
|
|
{
|
|
"flower" : "variable.offer_flower_tick"
|
|
},
|
|
{
|
|
"has_target" : "query.has_target"
|
|
}
|
|
]
|
|
},
|
|
"flower" : {
|
|
"animations" : [ "flower" ],
|
|
"transitions" : [
|
|
{
|
|
"attack" : "variable.attack_animation_tick > 0.0"
|
|
},
|
|
{
|
|
"default" : "variable.offer_flower_tick <= 0.0"
|
|
},
|
|
{
|
|
"has_target" : "query.has_target"
|
|
}
|
|
]
|
|
},
|
|
"has_target" : {
|
|
"animations" : [ "move_to_target" ],
|
|
"transitions" : [
|
|
{
|
|
"attack" : "variable.attack_animation_tick > 0.0"
|
|
},
|
|
{
|
|
"default" : "!query.has_target"
|
|
},
|
|
{
|
|
"flower" : "variable.offer_flower_tick"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"controller.animation.iron_golem.move" : {
|
|
"initial_state" : "default",
|
|
"states" : {
|
|
"default" : {
|
|
"animations" : [
|
|
{
|
|
"walk" : "query.modified_move_speed"
|
|
}
|
|
],
|
|
"transitions" : [
|
|
{
|
|
"has_target" : "query.has_target"
|
|
}
|
|
]
|
|
},
|
|
"has_target" : {
|
|
"animations" : [
|
|
{
|
|
"walk_to_target" : "query.modified_move_speed"
|
|
}
|
|
],
|
|
"transitions" : [
|
|
{
|
|
"default" : "!query.has_target"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|