//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:mob_block_spawn_emitter",
      "basic_render_parameters": {
        "material": "particles_alpha",
        "texture": "textures/particle/particles"
      }
    },
    "components": {
      "minecraft:emitter_rate_instant": {
        "num_particles": 20
      },        
      "minecraft:emitter_lifetime_once": {
      },
      "minecraft:emitter_shape_custom": {
        "offset": [ "variable.aabb.x * Math.random(0, 2) - variable.emitter_random_1 * 0.2 - variable.aabb.x", 
                    "variable.aabb.y * Math.random(0, 1) - variable.emitter_random_2 * 0.2", 
                    "variable.aabb.z * Math.random(0, 2) - variable.emitter_random_3 * 0.2 - variable.aabb.z" ]
      },
      "minecraft:particle_initial_speed": [ "Math.random(-1, 1) + variable.emitter_random_1 * 0.4", "Math.random(-1, 1) + variable.emitter_random_2 * 0.4", "Math.random(-1, 1) + variable.emitter_random_3 * 0.4" ],
      "minecraft:particle_lifetime_expression": {
        "max_lifetime": "4 / Math.Random(1, 5) + 0.1"
      },
      "minecraft:particle_motion_dynamic": {
        "linear_acceleration": [ 0, 2, 0 ],
        "linear_drag_coefficient": 2.5
      },
      "minecraft:particle_motion_collision": {
        "coefficient_of_restitution": 0.1,
        "collision_drag": 10.0,
        "collision_radius": 0.1
      },
      "minecraft:particle_appearance_billboard": {
        "size": [ "variable.particle_random_1 * variable.particle_random_2 * 0.6 + 0.1", "variable.particle_random_1 * variable.particle_random_2 * 0.6 + 0.1" ],
        "facing_camera_mode": "rotate_xyz",
        "uv": {
          "texture_width": 128,
          "texture_height": 128,
          "flipbook": {
            "base_UV": [ 56, 0 ],
            "size_UV": [ 8, 8 ],
            "step_UV": [ -8, 0 ],
            "frames_per_second": 8,
            "max_frame": 8,
            "stretch_to_lifetime": true,
            "loop": false
          }
        }
      },
      "minecraft:particle_appearance_tinting": {
        "color": [ "variable.particle_random_1 * 0.3 + 0.7", "variable.particle_random_1 * 0.3 + 0.7", "variable.particle_random_1 * 0.3 + 0.7", 0 ]
      },
      "minecraft:particle_appearance_lighting": {}
    }
  }
} 
