{
  "format_version": "1.10.0",
  "minecraft:client_entity": {
    "description": {
      "identifier": "minecraft:bee",
      "materials": { "default": "bee" },
      "textures": {
        "default": "textures/entity/bee/bee",
        "angry": "textures/entity/bee/bee_angry",
        "nectar": "textures/entity/bee/bee_nectar",
        "angry_nectar": "textures/entity/bee/bee_angry_nectar"
      },
      "geometry": {
        "default": "geometry.crl.bee"
      },
      "animations": {
        "flying": "animation.crl.bee.flying",
        "drip_controller": "controller.animation.crl.bee.drip",

        "vertical_adjustment": "animation.crl.common.vertical_adjustment",

        "bee_sting": "animation.crl.bee.sting",
        "bee_no_stinger": "animation.crl.bee.no_stinger",
        "bee_fly_bobbing": "animation.crl.bee.fly.bobbing",
        "bee_root_controller": "controller.animation.crl.bee.root",
        "movement_controller": "controller.animation.crl.bee.movement",
        "looping": "animation.crl.bee.looping",
        "body_rotation": "animation.crl.bee.body_rotation"
      },
      "particle_effects": {
        "nectar_dripping": "minecraft:nectar_drip_particle"
      },
      "scripts": {
        "initialize": ["v.vertical_adjustment_weight = 10;"],
        "animate": [
          "bee_sting",
          "bee_root_controller",
          "drip_controller",
          "vertical_adjustment",
          "movement_controller",
          "body_rotation",
          { "bee_no_stinger": "query.mark_variant == 1" }
        ],
        "pre_animation": ["v.body_rot_diff.y = query.target_y_rotation;"]
      },
      "render_controllers": ["controller.render.crl.bee"],
      "spawn_egg": {
        "texture": "egg_bee",
        "texture_index": 0
      }
    }
  }
}
