{
  "format_version": "1.19.0",
  "minecraft:attachable": {
    "description": {
      "identifier": "tsu_morph:evocation_illager_morph",
      "materials": {
        "default": "entity_alphatest",
        "arms": "entity_alphatest"
      },
      "textures": {
        "default": "textures/entity/illager/evoker"
      },
      "geometry": {
        "default": "geometry.tsu_morph.vindicator"
      },
      "animations": {
        "general": "animation.villager.general",
        "ability_item_use": "animation.tsu_morph.evoker.casting",
        "ability_item_use_controller": "controller.animation.tsu_morph.ability_item_use",

        "hurt_sounds": "controller.animation.tsu_morph.hurt_sounds",
        "idle_sounds": "animation.tsu_morph.idle_sounds"
      },
      "sound_effects": {
        "hurt": "mob.evocation_illager.hurt",
        "idle": "mob.evocation_illager.ambient"
      },
      "scripts": {
        "initialize": [
          "v.hide_arms = 0;"
        ],
        "pre_animation": [
          "v.display_fp = c.is_first_person && !q.is_in_ui && q.is_local_player;",
          "v.has_ability_item = q.is_item_name_any('slot.weapon.mainhand', 0, 'tsu_morph:evocation_illager_ability');"
        ],
        "animate": [
          "general",
          "ability_item_use_controller",
          "hurt_sounds",
          "idle_sounds"
        ]
      },
      "render_controllers": [
        {
          "controller.render.tsu_morph.illager": "!v.display_fp"
        }
      ]
    }
  }
}