{
  "format_version": "1.10.0",
  "minecraft:client_entity": {
    "description": {
      "identifier": "pixel:gungnir_spear_throw",
      "materials": {
        "default": "slime_outer"
      },
      "textures": {
        "default": "textures/entity/gungnir"
      },
      "geometry": {
        "default": "geometry.spear_entity"
      },
      "animations": {
        "move": "animation.arrow.move"
      },
      "scripts": {
        "pre_animation": [
          "variable.shake = query.shake_time - query.frame_alpha;",
          "variable.shake_power = variable.shake > 0.0 ? -Math.sin(variable.shake * 200.0) * variable.shake : 0.0;"
        ],
        "animate": [
          "move"
        ]
      },
      "render_controllers": [ "controller.render.shulker_bullet" ]
    }
  }
}
