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

120 lines
2.2 KiB
JSON

{
"format_version" : "1.10.0",
"animation_controllers" : {
"controller.animation.fox.move" : {
"initial_state" : "default",
"states" : {
"crouch" : {
"animations" : [
"look_at_target",
"crouch",
{
"walk" : "query.modified_move_speed"
}
],
"blend_transition" : 0.4,
"transitions" : [
{
"default" : "!query.is_stalking && !query.is_interested"
},
{
"wiggle" : "query.is_interested"
}
]
},
"default" : {
"animations" : [
"look_at_target",
{
"walk" : "query.modified_move_speed"
}
],
"blend_transition" : 0.1,
"transitions" : [
{
"crouch" : "query.is_stalking"
},
{
"sleep" : "query.is_sleeping"
},
{
"stuck" : "query.is_stunned"
},
{
"sit" : "query.is_sitting"
}
]
},
"pounce" : {
"animations" : [
"look_at_target",
"pounce",
{
"walk" : "query.modified_move_speed"
}
],
"blend_transition": 2.0,
"transitions": [
{
"default" : "query.is_on_ground"
}
]
},
"sit" : {
"animations" : [ "sit" ],
"blend_transition" : 0.2,
"transitions" : [
{
"default" : "!query.is_sitting"
}
]
},
"sleep" : {
"animations" : [ "sleep" ],
"blend_transition" : 0.2,
"transitions" : [
{
"default" : "!query.is_sleeping"
}
]
},
"stuck" : {
"animations" : [
"stuck",
{
"walk" : "math.cos(query.life_time * 20.0 * 53.7)"
}
],
"blend_transition" : 0.2,
"transitions" : [
{
"default" : "!query.is_stunned"
}
]
},
"wiggle" : {
"animations" : [
"look_at_target",
"wiggle",
{
"walk" : "query.modified_move_speed"
}
],
"blend_transition" : 0.2,
"transitions" : [
{
"default": "!query.has_target && query.is_on_ground"
},
{
"crouch" : "query.is_on_ground && !query.is_interested && query.is_stalking"
},
{
"pounce" : "!query.is_on_ground"
}
]
}
}
}
}
}