mirror of
https://github.com/Mojang/bedrock-samples.git
synced 2024-11-23 13:36:18 +00:00
a3b394c507
Initial layout
43 lines
914 B
JSON
43 lines
914 B
JSON
{
|
|
"format_version": "1.10.0",
|
|
"animation_controllers": {
|
|
"controller.animation.trident.wield": {
|
|
"initial_state": "first_person",
|
|
"states": {
|
|
"first_person": {
|
|
"animations": [
|
|
"wield_first_person",
|
|
{
|
|
"wield_first_person_raise": "query.main_hand_item_use_duration > 0.0f"
|
|
},
|
|
{
|
|
"wield_first_person_raise_shake": "query.main_hand_item_use_duration > 0.0f"
|
|
},
|
|
{
|
|
"wield_first_person_riptide": "query.can_damage_nearby_mobs > 0.0"
|
|
}
|
|
],
|
|
"transitions": [
|
|
{
|
|
"third_person": "!c.is_first_person"
|
|
}
|
|
]
|
|
},
|
|
"third_person": {
|
|
"animations": [
|
|
"wield_third_person",
|
|
{
|
|
"wield_third_person_raise": "query.main_hand_item_use_duration > 0.0f || query.has_target"
|
|
}
|
|
],
|
|
"transitions": [
|
|
{
|
|
"first_person": "c.is_first_person"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|