//This JSON was modified by Rainvay_ZCYF (@ZouChenyunfei). Please do not use this document without permission.
{
  "format_version": "1.8.0",
  "animations": {
    "animation.villager.baby_transform": {
      "loop": true,
      "bones": {
        "head": {
          "scale": 1
        }
      }
    },
    "animation.villager.item_pose.block": {
      "loop": true,
      "override_previous_animation": true,
      "bones": {
        "held_item": {
          "rotation": [ -47.0, 0.0, 0.0 ],
          "position": [ 0.0, 7.65, -10.5 ],
          "scale": 0.75
        }
      }
    },
    "animation.villager.item_pose.flat": {
      "loop": true,
      "bones": {
        "held_item": {
          "rotation": [ 43.0, 31.5, 183.0 ],
          "position": [ -8.25, 28.5, 9.7 ],
          "scale": 1.1
        }
      }
    },
    "animation.villager.item_pose.placeable_flat": { //For some reason, specific 2D items which are placeable are rotated differently and even exist on completely different axes. This animation brings them mostly in-line with other flat items.
      "loop": true, //This isn't a perfect fix because none of the rotation axes are aligned with the pixel grid, so it's incredibly difficult to get everything lined up well.
      "bones": {
        "held_item": {
          "rotation": [ 5.0, -54.0, 48.0 ],
          "position": [ 19.3, -11.25, 5.5 ],
          "scale": 1.1
        }
      }
    },
    "animation.villager.move": {
      "anim_time_update": "query.modified_distance_moved",
      "loop": true,
      "bones": {
        "leg0": {
          "rotation": [ "(math.cos(query.anim_time * (33.33 + (query.modified_move_speed > 2.0 ? 1 : 0) * 5))) * (20.0 + (16.17 + (query.modified_move_speed > 2.0 ? 1 : 0) * 15)) - this", "-this", 0.0 ]
        },
        "leg1": {
          "rotation": [ "(math.cos(query.anim_time * ((33.33 + (query.modified_move_speed > 2.0 ? 1 : 0) * 5)) + 180)) * (20.0 + (16.17 + (query.modified_move_speed > 2.0 ? 1 : 0) * 15)) - this", "-this", 0.0 ]
        }
      }
    },
    "animation.villager.raise_arms": {
      "loop": true,
      "bones": {
        "arms": {
          "rotation": [ 0.0, 0.0, 0.0 ]
        }
      }
    }
  }
}
