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/sniffer.animation_controllers.json
Mike Ammerlaan d7cb43ab0a v1.20.40.1
2023-10-24 08:57:33 -07:00

186 lines
4.2 KiB
JSON

{
"format_version" : "1.10.0",
"animation_controllers": {
"controller.animation.sniffer.baby": {
"initial_state": "default",
"states": {
"default": {
"animations": [
{
"baby_transform": "query.is_baby"
}
]
}
}
},
"controller.animation.sniffer.general": {
"initial_state": "default",
"states": {
"default": {
"animations": [
"look_at_target"
]
}
}
},
"controller.animation.sniffer.walk": {
"initial_state": "default",
"states": {
"default": {
"transitions": [
{
"walking": "query.modified_move_speed"
}
],
"blend_transition": 0.2
},
"walking": {
"animations": [
{
"walk": "variable.moving"
}
],
"transitions": [
{
"default": "query.modified_move_speed < 0"
}
],
"blend_transition": 0.2
}
}
},
"controller.animation.sniffer.sniffsniff": {
"initial_state": "default",
"states": {
"default": {
"transitions": [
{
"sniffsniff": "query.modified_move_speed > 0.005 && !query.is_searching && !query.is_digging && !query.timer_flag_1 && !query.timer_flag_2"
}
],
"blend_transition": 0.2
},
"sniffsniff": {
"animations": [ "sniffsniff" ],
"transitions": [
{
"default": "query.modified_move_speed < 0.005"
}
],
"blend_transition": 0.2
}
}
},
"controller.animation.sniffer.long_sniff": {
"initial_state": "default",
"states": {
"default": {
"transitions": [
{
"long_sniff": "query.timer_flag_1"
}
],
"blend_transition": 0.2
},
"long_sniff": {
"animations": [ "long_sniff" ],
"transitions": [
{
"default": "!query.timer_flag_1"
}
],
"blend_transition": 0.2
}
}
},
"controller.animation.sniffer.search": {
"initial_state": "default",
"states": {
"default": {
"transitions": [
{
"search": "query.is_searching"
}
],
"blend_transition": 0.2
},
"search": {
"animations": [ "search" ],
"transitions": [
{
"default": "!query.is_searching"
}
],
"blend_transition": 0.2
}
}
},
"controller.animation.sniffer.dig": {
"initial_state": "default",
"states": {
"default": {
"transitions": [
{
"dig": "query.is_digging"
}
],
"blend_transition": 0.2
},
"dig": {
"animations": [ "dig" ],
"transitions": [
{
"default": "!query.is_digging"
}
],
"blend_transition": 0.2
}
}
},
"controller.animation.sniffer.stand_up": {
"initial_state": "default",
"states": {
"default": {
"transitions": [
{
"stand_up": "query.timer_flag_2"
}
],
"blend_transition": 0.2
},
"stand_up": {
"animations": [ "stand_up" ],
"transitions": [
{
"default": "!query.timer_flag_2"
}
],
"blend_transition": 0.2
}
}
},
"controller.animation.sniffer.feeling_happy": {
"initial_state": "default",
"states": {
"default": {
"transitions": [
{
"feeling_happy": "query.timer_flag_3"
}
],
"blend_transition": 0.2
},
"feeling_happy": {
"animations": [ "feeling_happy" ],
"transitions": [
{
"default": "!query.timer_flag_3"
}
],
"blend_transition": 0.2
}
}
}
}
}