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

64 lines
1.6 KiB
JSON

{
"format_version": "1.10.0",
"animation_controllers": {
"controller.animation.axolotl.general": {
"initial_state": "default",
"states": {
"default": {
"animations": [
{
"play_dead": "query.is_playing_dead"
},
{
"swim_angle": "variable.moving && query.is_in_water && !query.is_on_ground"
}
]
}
}
},
"controller.animation.axolotl.move": {
"initial_state": "idle",
"states": {
"idle": {
"animations": [
{
"idle_float": "query.is_in_water && !query.is_on_ground && !query.is_playing_dead"
},
{
"idle_floor": "!query.is_in_water"
},
{
"idle_floor_water": "query.is_in_water && query.is_on_ground"
},
"look_at_target"
],
"transitions": [
{
"moving": "variable.moving && !query.is_playing_dead"
}
]
},
"moving": {
"animations": [
{
"swim": "query.is_in_water && !query.is_on_ground"
},
{
"walk_floor": "!query.is_in_water"
},
{
"walk_floor_water": "query.is_in_water && query.is_on_ground"
},
"look_at_target"
],
"transitions": [
{
"idle": "!variable.moving || query.is_playing_dead"
}
]
}
}
}
}
}