{
  "format_version": "1.16.0",
  "minecraft:client_entity": {
    "description": {
      "identifier": "projectile:torpedo",
      "materials": {
        "default": "entity_alphatest"
      },
      "textures": {
        "default": "textures/projectiles/torpedo"
      },
      "geometry": {
        "default": "geometry.torpedo"
      },
      "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",
          "particle"
          ]
      },
      "animations": {
        "move": "animation.arrow.move",
        "particle": "animation.shell_light.loop"
      },
      "particle_effects":{
        "shell_trail":"shell:trail"
      },
      "render_controllers": [ "controller.render.no_hit_color" ],
      "enable_attachables": true
    }
  }
}
