{
  "format_version": "1.10.0",
  "minecraft:client_entity": {
    "description": {
      "identifier": "minecraft:agent",
      "materials": { "default": "agent" },
      "textures": {
        "default": "textures/entity/agent"
      },
      "geometry": {
        "default": "geometry.agent"
      },
      "scripts": {
        "pre_animation": [
          "variable.Agent.ArmZRotation = (Math.cos(query.life_time * 114.6) + 1.0) * 1.15;",
          "variable.Agent.ArmXRotationFactor = Math.sin(query.life_time * 80.0) * 4.6;",
          "variable.Agent.LegXRotationFactor = Math.sin(query.life_time * 46.0) * 1.15;"
        ],
        "animate": [
          "move_controller",
          "look_at_target"
        ]
      },
      "animations": {
        "move": "animation.agent.move",
        "look_at_target": "animation.common.look_at_target",
        "swing_arms": "animation.agent.swing_arms",
        "move_controller": "controller.animation.agent.move"
      },
      "render_controllers": [ "controller.render.agent" ],
      "spawn_egg": {
        "texture": "spawn_egg",
        "texture_index": 52
      }
    }
  }
}