//This JSON was modified by AgentMindStorm (@agentms_). Please do not use this document without permission.
{
  "format_version" : "1.10.0",
  "animation_controllers" : {
    "controller.animation.shield.wield": {
      "initial_state": "default",
      "states": {
        "default": {
          "animations": [
            {
              "wield_main_hand_first_person": "c.item_slot == 'main_hand'"
            },
            {
              "wield_off_hand_first_person": "c.item_slot != 'main_hand'"
            },
            {
              "wield_main_hand_first_person_block": "query.blocking && q.is_item_name_any('slot.weapon.mainhand', 'minecraft:shield') && c.item_slot == 'main_hand'"
            },
            {
              "wield_off_hand_first_person_block": "query.blocking && !q.is_item_name_any('slot.weapon.mainhand', 'minecraft:shield') && q.is_item_name_any('slot.weapon.offhand', 'minecraft:shield') && c.item_slot != 'main_hand'"
            }
          ],
          "transitions": [
            {
              "blocking": "query.blocking"
            },
            {
              "third_person": "!c.is_first_person"
            }
          ]
        },
        "blocking": {
          "animations": [
            {
              "wield_main_hand_first_person": "c.item_slot == 'main_hand'"
            },
            {
              "wield_off_hand_first_person": "c.item_slot != 'main_hand'"
            },
            {
              "wield_main_hand_first_person_block": "query.blocking && q.is_item_name_any('slot.weapon.mainhand', 'minecraft:shield') && c.item_slot == 'main_hand'"
            },
            {
              "wield_off_hand_first_person_block": "query.blocking && !q.is_item_name_any('slot.weapon.mainhand', 'minecraft:shield') && q.is_item_name_any('slot.weapon.offhand', 'minecraft:shield') && c.item_slot != 'main_hand'"
            }
          ],
          "transitions": [
            {
              "default": "!query.blocking"
            },
            {
              "third_person": "!c.is_first_person"
            }
          ]
        },
        "third_person": {
          "animations": [ "wield_third_person" ],
          "transitions": [
            {
              "default": "c.is_first_person"
            }
          ]
        }
      }
    }
  }
}
