{
  "format_version": "1.10.0",
  "animations": {
    "animation.test_shield.wield_main_hand_first_person": {
      "loop": true,
      "bones": {
        "shield": {
          "position": [ -12.0, 10.5, -12.0 ],
          "rotation": [ 76.0, -119.0, -34.0 ]
        },
        // 如果您的盾牌不是对称的，第一人称主手时需要转180度
        "bone3": {
          "rotation": [0.0, 0.0, 180.0]
        },
        // 让半个盾牌转起来
        "bone4": {
          "rotation": {
						"0.0": [0.0, 0.0, 0.0],
						"2.0": [0.0, 0.0, 360.0]
					}
        }
      }
    },
    "animation.test_shield.wield_off_hand_first_person": {
      "loop": true,
      "bones": {
        "shield": {
          "position": [ -14.0, 20.0, "(query.get_equipped_item_name == 'bow') && (query.main_hand_item_use_duration > 0.0f) ? -25.0 : 2.0" ],
          "rotation": [ 0.0, 185.0, 178.0 ],
          "scale": [ -1.0, 1.0, 1.0 ]
        },
        // 如果您的盾牌不是对称的，第一人称副手时需要转180度
        "bone3": {
          "rotation": [0.0, 0.0, 180.0]
        },
        // 让半个盾牌转起来
        "bone4": {
          "rotation": {
						"0.0": [0.0, 0.0, 0.0],
						"2.0": [0.0, 0.0, 360.0]
					}
        }
      }
    },

    "animation.test_shield.wield_third_person": {
      "loop": true,
      "bones": {
        "shield": {
          "position": [ -1.0, 9.0, "c.item_slot == 'main_hand' ? 8.5 : -16.5" ],
          "rotation": [ -90.0, 0.0, 90.0 ],
          "scale": [ 1.0, "c.item_slot == 'main_hand' ? -1.0 : 1.0", "c.item_slot == 'main_hand' ? -1.0 : 1.0" ]
        },
        // 如果您的盾牌不是对称的，第三人称副手时需要转180度
        "bone3": {
          "rotation": [0.0, 0.0, "c.item_slot == 'main_hand' ? 0.0 : 180.0"]
        },
        // 让半个盾牌转起来
        "bone4": {
          "rotation": {
						"0.0": [0.0, 0.0, 0.0],
						"2.0": [0.0, 0.0, 360.0]
					}
        }
      }
    },

    "animation.test_shield.wield_main_hand_first_person_blocking": {
      "loop": true,
      "bones": {
        "shield": {
          "position": [ "variable.main_hand_first_person_pos_x - 2", "variable.main_hand_first_person_pos_y - 3", "variable.main_hand_first_person_pos_z - 2" ],
          "rotation": [ "variable.main_hand_first_person_rot_x", "variable.main_hand_first_person_rot_y - 12.0", "variable.main_hand_first_person_rot_z" ]
        },
        "bone4": {
          "rotation": {
            "0.0": [0.0, 0.0, 0.0],
            "2.0": [0.0, 0.0, 360.0]
          }
        }
      }
    },
    
    "animation.test_shield.wield_off_hand_first_person_blocking": {
      "loop": true,
      "bones": {
        "shield": {
          "position": [ "variable.off_hand_first_person_pos_x + 0.5", "variable.off_hand_first_person_pos_y + 4.2", "variable.is_using_bow ? variable.off_hand_first_person_with_bow_pos_z : variable.off_hand_first_person_pos_z + 1.5" ],
          "rotation": [ "variable.off_hand_first_person_rot_x", "variable.off_hand_first_person_rot_y", "variable.off_hand_first_person_rot_z + 10.0" ]
        },
        // 如果您的盾牌不是对称的，第一人称副手时需要转180度
        "bone3": {
          "rotation": [0.0, 0.0, 180.0]
        },
        // 让半个盾牌转起来
        "bone4": {
          "rotation": {
            "0.0": [0.0, 0.0, 0.0],
            "2.0": [0.0, 0.0, -360.0]
          }
        }
      }
    }
  }
}