//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:block_destruct",
      "basic_render_parameters": {
        "material": "particles_blend",
        "texture": "atlas.terrain"
      }
    },
    "components": {
      "minecraft:emitter_rate_instant": {
        "num_particles": "variable.emitter_radius == 0.5 ?64: (math.round(variable.emitter_intensity * 10) == 20 ?10: (variable.emitter_radius == 0 && variable.emitter_intensity >= 3 ?variable.emitter_intensity * 100 - 300: (math.round(variable.emitter_intensity * 10 ) == 16 ?10: (variable.emitter_intensity == 1 ? 1 : 1 ))))"
      },
      "minecraft:emitter_lifetime_once": {
        "active_time": 0
      },
      "minecraft:emitter_shape_point": {
        "offset": ["variable.emitter_radius == 0.5 ? (variable.particle_random_1-0.5) * (math.round(variable.emitter_intensity * 10) <= 40 ? 1:1) : 0", "math.round(variable.emitter_intensity * 10 ) == 16 ? math.random(0.5,1.7) : (variable.emitter_radius == 0.5 ? (variable.particle_random_2-0.5) * (math.round(variable.emitter_intensity * 10) <= 40 ? 1:1) : 0)", "variable.emitter_radius == 0.5 ? (variable.particle_random_3-0.5) * (math.round(variable.emitter_intensity * 10) <= 40 ? 1:1) : 0"],
        "direction": ["variable.emitter_radius == 0.5 ?(variable.particle_random_1-0.5): (math.round(variable.emitter_intensity * 10) == 20 ?(variable.particle_random_1-0.5): (variable.emitter_radius == 0 && variable.emitter_intensity >= 3 ?math.random(-1,1): (math.round(variable.emitter_intensity * 10) == 16 ?(variable.particle_random_1-0.5): (variable.emitter_intensity == 1 ? (variable.particle_random_1-0.5) : 1 ))))", "variable.emitter_radius == 0.5 ?(variable.particle_random_2-0.5)*1.5+0.2: (math.round(variable.emitter_intensity * 10) == 20 ?(variable.particle_random_2-1)*1.5+0.2: (variable.emitter_radius == 0 && variable.emitter_intensity >= 3 ?(variable.particle_random_2-0.7)*1.5+0.2: (math.round(variable.emitter_intensity * 10 ) == 16 ?(variable.particle_random_2-0.5)*1.5+0.2: (variable.emitter_intensity == 1 ? (variable.particle_random_2-0.5)*1.5+2 : 1 ))))", "variable.emitter_radius == 0.5 ?(variable.particle_random_3-0.5): (math.round(variable.emitter_intensity * 10) == 20 ?(variable.particle_random_3-0.5): (variable.emitter_radius == 0 && variable.emitter_intensity >= 3 ?math.random(-1,1): (math.round(variable.emitter_intensity * 10 ) == 16 ?(variable.particle_random_3-0.5): (variable.emitter_intensity == 1 ? (variable.particle_random_3-0.5) : 1 ))))"]
      },
      "minecraft:particle_initial_speed": "variable.emitter_radius == 0.5 ?math.random(0,5): (math.round(variable.emitter_intensity * 10) == 20 ?math.random(2,3): (variable.emitter_radius == 0 && variable.emitter_intensity >= 3 ?math.pow(math.random(0.3,1.4),3) * math.random(0,4) + 4: (math.round(variable.emitter_intensity * 10 ) == 16 ?math.random(0.5,4.8): (variable.emitter_intensity == 1 ? math.random(0,2) : 1 ))))",
      "minecraft:particle_lifetime_expression": {
        "max_lifetime": "variable.emitter_radius == 0.5 ?math.pow(math.random(0.1,1),3) * math.random(0,1.7) + 0.3: (math.round(variable.emitter_intensity * 10) == 20 ?math.pow(math.random(0.1,1),3) * math.random(0,1.7) + 0.3: (variable.emitter_radius == 0 && variable.emitter_intensity >= 3 ?math.pow(math.random(0.1,1),1) * math.random(0,1.7) + 0.3: (math.round(variable.emitter_intensity * 10 ) == 16 ?math.pow(math.random(0.1,1),3) * math.random(0,1.7) + 0.3: (variable.emitter_intensity == 1 ? math.pow(math.random(0,1),4) * math.random(0,1.5) + 0.25: 1 ))))"
      },
      "minecraft:particle_motion_dynamic": {
        "linear_acceleration": [0, -13.6, 0],
        "linear_drag_coefficient": 0.4
      },
      "minecraft:particle_appearance_billboard": {
        "size": ["variable.emitter_intensity == 1 ? variable.particle_random_4 * 0.03 + 0.04 : variable.particle_random_4 * 0.05 + 0.05", "variable.emitter_intensity == 1 ? variable.particle_random_4 * 0.03 + 0.04 : variable.particle_random_4 * 0.05 + 0.05"],
        "facing_camera_mode": "rotate_xyz",
        "uv": {
          "texture_width": 1,
          "texture_height": 1,
          "uv": ["variable.emitter_texture_coordinate.u + (variable.emitter_texture_size.u/4) * (variable.emitter_random_1*3)", "variable.emitter_texture_coordinate.v + (variable.emitter_texture_size.v/4) * ((variable.particle_random_1>0.5?variable.particle_random_4:(variable.particle_random_3+variable.particle_random_4)/2)*3)"],
          "uv_size": ["variable.emitter_texture_size.u/4", "variable.emitter_texture_size.v/4"]
        }
      },
      "minecraft:particle_appearance_tinting": {
        "color": ["variable.color.r * 0.6", "variable.color.g * 0.6", "variable.color.b * 0.6", "variable.color.a==0?1:variable.color.a"]
      },
      "minecraft:particle_appearance_lighting": {}
    }
  }
}