{
  "format_version": "1.10.0",
  "minecraft:client_entity": {
    "description": {
      "identifier": "minecraft:bat",
      "materials": {
        "default": "entity_alphatest"
      },
      "textures": {
        "default": "textures/entity/bat/bat",
        "default1": "textures/entity/bat/bat_1",
        "default2": "textures/entity/bat/bat_2",
        "default3": "textures/entity/bat/bat_3",
        "default4": "textures/entity/bat/bat_4",
        "default5": "textures/entity/bat/bat_5"
      },
      "geometry": {
        "default": "geometry.crl.bat_v2"
      },
      "animations": {
        "flying": "animation.crl.bat.flying",
        "resting": "animation.crl.bat.resting",

        "control_movement": "controller.animation.crl.bat.move"
      },
      "scripts": {
        "scale": "1.0",
        "initialize": ["variable.random_variant = Math.random_integer(0,20);"],
        "animate": ["control_movement"]
      },
      "render_controllers": ["controller.render.crl.bat"]
    }
  }
}
