//This JSON was modified by AgentMindStorm (@agentms_). Please do not use this document without permission.
{
  "format_version": "1.10.0",
  "particle_effect": {
    "description": {
      "identifier": "minecraft:cherry_leaves_particle",
      "basic_render_parameters": {
        "material": "particles_alpha",
        "texture": "textures/particle/cherry_petal_atlas"
      }
    },
    "components": {
      "minecraft:emitter_initialization": {
        "creation_expression": "v.fall_acc = -0.3;v.wind_acc = 2;v.curve_len = 15;"
      },
      "minecraft:emitter_rate_manual": {
        "max_particles": 2000
      },
      "minecraft:emitter_lifetime_expression": {
        "activation_expression": 1,
        "expiration_expression": 0
      },
      "minecraft:emitter_shape_box": {
        "offset": [0.5, -0.075, 0.5],
        "half_dimensions": [0.5, 0, 0.5],
        "direction": "outwards"
      },
      "minecraft:particle_lifetime_expression": {
        "max_lifetime": 15
      },
      "minecraft:particle_initial_spin": {
        "rotation": "math.random(0,360)",
        "rotation_rate": "math.random(-30,30)"
      },
      "minecraft:particle_initial_speed": 0,
      "minecraft:particle_motion_dynamic": {
        "linear_acceleration": [
          "math.cos(v.particle_random_3 * 60) * v.wind_acc * math.pow(math.min(v.curve_len, v.particle_age) / v.curve_len, 1.25)",
          "v.fall_acc",
          "math.sin(v.particle_random_3 * 60) * v.wind_acc * math.pow(math.min(v.curve_len, v.particle_age) / v.curve_len, 1.25)"
        ],
        "rotation_acceleration": "v.particle_random_4 > 0.5 ? -5 : 5"
      },
      "minecraft:particle_appearance_billboard": {
        "size": [
          "v.particle_random_1 > 0.5 ? 0.05 : 0.075",
          "v.particle_random_1 > 0.5 ? 0.05 : 0.075"
        ],
        "facing_camera_mode": "rotate_xyz",
        "uv": {
          "texture_width": 12,
          "texture_height": 9,
          "uv": [
            "math.floor(v.particle_random_1 * 4) * 3",
            "math.floor(v.particle_random_2 * 3) * 3"
          ],
          "uv_size": [3, 3]
        }
      },
      "minecraft:particle_motion_collision": {
        "collision_drag": 10,
        "collision_radius": 0.075,
        "expire_on_contact": true
      },
      "minecraft:particle_appearance_lighting": {},
      "minecraft:particle_appearance_tinting": {
        "color": [1, 1, 1, 1]
      }
    }
  }
}
