mirror of
https://github.com/Mojang/bedrock-samples.git
synced 2024-11-23 13:36:18 +00:00
a3b394c507
Initial layout
64 lines
1.9 KiB
JSON
64 lines
1.9 KiB
JSON
{
|
|
"format_version" : "1.10.0",
|
|
"animation_controllers" : {
|
|
"controller.animation.vindicator.base": {
|
|
"initial_state": "default",
|
|
"states": {
|
|
"default": {
|
|
"blend_transition": 0.2,
|
|
"blend_via_shortest_path": true,
|
|
"transitions": [
|
|
{
|
|
"celebrating": "query.is_celebrating"
|
|
},
|
|
{
|
|
"hand_attack": "!query.is_item_equipped && variable.has_target && variable.attack_time >= 0.0"
|
|
},
|
|
{
|
|
"melee_attack": "query.is_item_equipped && variable.has_target && variable.attack_time >= 0.0"
|
|
}
|
|
]
|
|
},
|
|
"hand_attack": {
|
|
"blend_transition": 0.2,
|
|
"blend_via_shortest_path": true,
|
|
"animations": [ "vindicator_hand_attack" ],
|
|
"transitions": [
|
|
{
|
|
"default": "query.is_item_equipped || !variable.has_target || variable.attack_time < 0.0 || query.is_celebrating"
|
|
}
|
|
]
|
|
},
|
|
"melee_attack": {
|
|
"blend_transition": 0.2,
|
|
"blend_via_shortest_path": true,
|
|
"animations": [ "vindicator_attack" ],
|
|
"transitions": [
|
|
{
|
|
"default": "!query.is_item_equipped || !variable.has_target || variable.attack_time < 0.0 || query.is_celebrating"
|
|
}
|
|
]
|
|
},
|
|
"celebrating": {
|
|
"animations": [ "celebrating" ],
|
|
"blend_transition": 0.2,
|
|
"blend_via_shortest_path": true,
|
|
"transitions": [
|
|
{
|
|
"default": "!query.is_celebrating"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"controller.animation.vindicator.base.v1.0" : {
|
|
"initial_state" : "default",
|
|
"states" : {
|
|
"default": {
|
|
"animations": [ "vindicator_base", "vindicator_attack", "vindicator_walk" ]
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|