{
  "format_version": "1.10.0",
  "minecraft:client_entity": {
    "description": {
      "identifier": "minecraft:allay",
      "materials": {
        "default": "allay"
      },
      "textures": {
        "default": "textures/entity/allay/allay",
        "black": "textures/entity/allay/black",
        "blue": "textures/entity/allay/blue",
        "brown": "textures/entity/allay/brown",
        "cyan": "textures/entity/allay/cyan",
        "gray": "textures/entity/allay/gray",
        "green": "textures/entity/allay/green",
        "light_blue": "textures/entity/allay/light_blue",
        "lime": "textures/entity/allay/lime",
        "magenta": "textures/entity/allay/magenta",
        "orange": "textures/entity/allay/orange",
        "pink": "textures/entity/allay/pink",
        "purple": "textures/entity/allay/purple",
        "red": "textures/entity/allay/red",
        "silver": "textures/entity/allay/silver",
        "white": "textures/entity/allay/white",
        "yellow": "textures/entity/allay/yellow"
      },
      "geometry": {
        "default": "geometry.crl.allay"
      },
      "spawn_egg": {
        "texture": "spawn_egg_allay"
      },
      "scripts": {
        "pre_animation": [
          "variable.holding_trident = query.is_item_name_any('slot.weapon.mainhand', 'minecraft:trident');"
        ],
        "animate": [
          "control_general",
          "control_look_at_target",
          "control_holding",
          "control_dancing"
        ]
      },
      "animations": {
        "idle": "animation.crl.allay.idle",
        "fly": "animation.crl.allay.fly",
        "hold_item": "animation.crl.allay.hold_item",
        "hold_item_fly": "animation.crl.allay.hold_item_fly",
        "look_at_target_default": "animation.crl.allay.look_at_target.default",
        "dance": "animation.crl.allay.dance",

        "control_general": "controller.animation.crl.allay.general",
        "control_look_at_target": "controller.animation.crl.allay.look_at_target",
        "control_holding": "controller.animation.crl.allay.holding",
        "control_dancing": "controller.animation.crl.allay.dancing"
      },
      "render_controllers": ["controller.render.crl.allay"],
      "enable_attachables": true,
      "held_item_ignores_lighting": true
    }
  }
}
