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

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"
}
]
}
}
}
}
}