//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:obsidian_tear_particle",
      "basic_render_parameters": {
        "material": "particles_alpha",
        "texture": "textures/particle/particles"
      }
    },
    "events": {
      "hit_ground": {
        "particle_effect": {
          "effect": "minecraft:obsidian_tear_dripped",
          "type": "particle_with_velocity"
        }
      }
    },
    "components": {
      "minecraft:emitter_rate_manual": {
        "max_particles": 50
      },
      "minecraft:emitter_lifetime_expression": {
        "activation_expression": 1,
        "expiration_expression": 0
      },
      "minecraft:particle_initialization": {
        "per_update_expression": "variable.stuck_time = variable.particle_random_1 * 4 + 1;",
        "per_render_expression": "variable.stuck_time = variable.particle_random_1 * 4 + 1;"
      },
      "minecraft:particle_initial_speed": 0.0,
      "minecraft:particle_lifetime_expression": {
        "max_lifetime": 10.0
      },
      "minecraft:particle_motion_dynamic": {
        "linear_acceleration": [ 0.0, -3.5, 0 ],
        "linear_drag_coefficient": "variable.stuck_time = variable.particle_random_1 * 4 + 1; return variable.particle_age < variable.stuck_time ? 277 : 0.01;"
      },
      "minecraft:particle_motion_collision": {
        "expire_on_contact": true,
        "coefficient_of_restitution": 0.1,
        "collision_drag": 10.0,
        "collision_radius": 0.01,
        "events": [
          {
            "event": "hit_ground",
            "min_speed": 0.5
          }
        ]
      },
      "minecraft:particle_appearance_billboard": {
        "size": [ "variable.particle_random_4 * 0.1 + 0.1", "variable.particle_random_4 * 0.1 + 0.1" ],
        "facing_camera_mode": "rotate_xyz",
        "uv": {
          "texture_width": 128,
          "texture_height": 128,
          "uv": [ 8, 56 ],
          "uv_size": [ 8, 8 ]
        }
      },
      "minecraft:particle_appearance_tinting": {
        "color": [
          0.51171875,
          0.03125,
          0.890625,
          1.0
        ]
      },
      "minecraft:particle_appearance_lighting": {}
    }
  }
}
