//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:breaking_item_terrain",
      "basic_render_parameters": {
        "material": "particles_alpha",
        "texture": "atlas.terrain"
      }
    },
    "components": {
      "minecraft:emitter_rate_instant": {
        "num_particles": 1.5
      },
      "minecraft:emitter_lifetime_once": {
        "active_time": 0
      },
      "minecraft:emitter_shape_point": {
        "offset": [ "Math.random(-variable.emitter_radius, variable.emitter_radius)", "Math.random(-variable.emitter_radius, variable.emitter_radius)", "Math.random(-variable.emitter_radius, variable.emitter_radius)" ],
        "direction": [ "Math.Random(-0.4, 0.4)", "Math.Random(-0.4, 0.4)", "Math.Random(-0.4, 0.4)" ]
      },
      "minecraft:particle_initial_speed": "Math.random(0.1, 1)",
      "minecraft:particle_lifetime_expression": {
        "max_lifetime": "0.2f / (Math.random(0.0, 1.0) * 0.9f + 0.1f)"
      },
      "minecraft:particle_motion_dynamic": {
        "linear_acceleration": [ 0, -9.8, 0 ],
        "linear_drag_coefficient": 0.5
      },
      "minecraft:particle_motion_collision": {
        "coefficient_of_restitution": 0.1,
        "collision_drag": 3,
        "collision_radius": 0.004
      },
      "minecraft:particle_appearance_billboard": {
        "size": [ "variable.particle_random_1 * 0.0375 + 0.0375", "variable.particle_random_1 * 0.0375 + 0.0375" ],
        "facing_camera_mode": "rotate_xyz",
        "uv": {
          "texture_width": 1,
          "texture_height": 1,
          "uv": [ "variable.EmitterTextureCoord.u + (variable.EmitterTextureSize.u/4) * (variable.particle_random_1*3)", "variable.EmitterTextureCoord.v + (variable.EmitterTextureSize.v/4) * (variable.particle_random_2*3)" ],
          "uv_size": [ "variable.EmitterTextureSize.u/4", "variable.EmitterTextureSize.v/4" ]
        }
      },
      "minecraft:particle_appearance_lighting": {}
    }
  }
}
