{
  "format_version": "1.10.0",
  "particle_effect": {
    "description": {
      "identifier": "minecraft:stunned_emitter",
      "basic_render_parameters": {
        "material": "particles_alpha",
        "texture": "textures/particle/particles"
      }
    },
    "components": {
      "minecraft:emitter_rate_steady": {
        "spawn_rate": 4,
        "max_particles": 20
      },

      "minecraft:emitter_lifetime_expression": {
        "activation_expression": 1,
        "expiration_expression": 0
      },

      "minecraft:emitter_shape_custom": {
        "offset": [ "Math.random(-1.0, 1.0)", 0.0, "Math.random(-1.0, 1.0)" ],
        "direction": [ "Math.random(-0.5, 0.5)", "Math.random(0, 1)", "Math.random(-0.5, 0.5)" ]
      },

      "minecraft:particle_initial_speed": [ "2.0 * Math.random(-1.0, 1.0)", "Math.random(0.6, 1.2)", "2.0 * Math.random(-1.0, 1.0)" ],
      "minecraft:particle_lifetime_expression": {
        "max_lifetime": "Math.random(0.7, 1.0)"
      },

      "minecraft:particle_motion_dynamic": {
        "linear_acceleration": [ 0, 2, 0 ],
        "linear_drag_coefficient": 0.5
      },

      "minecraft:particle_appearance_billboard": {
        "size": [ 0.125, 0.125 ],
        "facing_camera_mode": "lookat_xyz",

        "uv": {
          "texture_width": 128,
          "texture_height": 128,

          "flipbook": {
            "base_UV": [ 64, 64 ],
            "size_UV": [ 8, 8 ],
            "step_UV": [ -8, 0 ],
            "frames_per_second": 10,
            "max_frame": 8,
            "stretch_to_lifetime": true,
            "loop": false
          }
        }
      },

      "minecraft:particle_appearance_tinting": {
        "color": [ "0.498", "0.5137", "0.5725", "1.0" ]
      },

      "minecraft:particle_appearance_lighting": {}
    }
  }
}
