{
  "format_version": "1.10.0",
  "particle_effect": {
    "description": {
      "identifier": "minecraft:wax_particle",
      "basic_render_parameters": {
        "material": "particles_blend",
        "texture": "textures/particle/particles"
      }
    },
    "components": {
      "minecraft:emitter_rate_instant": {
        "num_particles": 1
      },        
      "minecraft:emitter_lifetime_once": {
      },
     "minecraft:emitter_shape_point": {
      "direction": [
        "variable.direction.x",
        "variable.direction.y",
        "variable.direction.z"
      ]
    },
    "minecraft:emitter_initialization": {
      "creation_expression": "variable.size = Math.random(0.1, 0.2);" 
    },

    "minecraft:particle_initial_speed": -0.05,
     
      "minecraft:particle_lifetime_expression": {
        "max_lifetime": "((variable.particle_random_1 * 30) + 10) / 20"
      },
      "minecraft:particle_motion_dynamic": {
        "linear_acceleration": [ 0,0,0 ],
        "linear_drag_coefficient": 0.96
      },
      "minecraft:particle_appearance_billboard": {
        "size": ["variable.size", "variable.size" ],
        "facing_camera_mode": "lookat_xyz",
        "uv": {
          "texture_width": 128,
          "texture_height": 128,
          "uv": [ 16, 48 ],
          "uv_size": [ 8, 8 ]
        }
      },
      "minecraft:particle_appearance_tinting": {
        "color": [ 
          "math.clamp(variable.color.r * 1.2 * math.clamp((variable.particle_age + 0.5) / variable.particle_lifetime, 0, 1), 0, 1)", 
          "math.clamp(variable.color.g * 1.2 * math.clamp((variable.particle_age + 0.5) / variable.particle_lifetime, 0, 1), 0, 1)",
          "math.clamp(variable.color.b * 1.2 * math.clamp((variable.particle_age + 0.5) / variable.particle_lifetime, 0, 1), 0, 1)", 
          0.5 
        ],
        "minecraft:particle_appearance_lighting": {}
      }
    }
  }
}

