//This JSON was modified by Rainvay_ZCYF (@ZouChenyunfei). Please do not use this document without permission.
{
  "format_version": "1.10.0",
  "particle_effect": {
    "description": {
      "identifier": "minecraft:shriek_particle",
      "basic_render_parameters": {
        "material": "particles_blend",
        "texture": "textures/particle/shriek"
      }
    },
    "components": {
      "minecraft:particle_initialization": {
        "per_render_expression": "variable.size = 0.7 * math.clamp(variable.particle_age / variable.particle_lifetime * 0.75, 0.0, 1.0);"
      },
      "minecraft:emitter_rate_steady": {
        "spawn_rate": 4,
        "max_particles": 10
      },
      "minecraft:emitter_lifetime_once": {
        "active_time": 5
      },
      "minecraft:particle_lifetime_expression": {
        "max_lifetime": 1.5
      },
      "minecraft:particle_initial_speed": 1,
      "minecraft:particle_motion_parametric": {
        "relative_position": [ 0, "variable.particle_age * 1.25", 0 ],
        "direction": [ 0, -30, -75 ]
      },
      "minecraft:particle_appearance_billboard": {
        "size": [ "variable.size", "variable.size" ],
        "facing_camera_mode": "direction_y",
        "direction": {
          "mode": "custom_direction",
          "custom_direction": [ 10, 0, 0 ]
        },
        "uv": {
          "texture_width": 4,
          "texture_height": 4,
          "uv": [ 0, 0 ],
          "uv_size": [ 4, 4 ]
        }
      },
      "minecraft:particle_appearance_tinting": {
        "color": [ 1, 1, 1, "Math.clamp(1.0 - math.clamp(variable.particle_age / variable.particle_lifetime, 0, 1), 0, 1)" ]
      }
    }
  }
}