{
  "format_version": "1.10.0",
  "particle_effect": {
    "description": {
      "identifier": "silverlabs_nat:firefly_light_effect",
      "basic_render_parameters": {
        "material": "particles_add",
        "texture": "textures/sf/nba/particle/firefly"
      }
    },
    "components": {
      "minecraft:emitter_rate_steady": {
        "spawn_rate": "math.random_integer(4, 12)",
        "max_particles": 100
      },
      "minecraft:emitter_lifetime_once": {
        "active_time": 0.25
      },
      "minecraft:emitter_shape_sphere": {
        "radius": 0.5,
        "direction": "outwards"
      },
      "minecraft:particle_lifetime_expression": {
        "max_lifetime": "(v.particle_random_3 * 1.5 + 0.5)"
      },
      "minecraft:particle_initial_speed": "v.particle_random_1 - 0.5",
      "minecraft:particle_motion_dynamic": {
        "linear_drag_coefficient": 0.96
      },
      "minecraft:particle_appearance_billboard": {
        "size": [
          "0.2 + v.particle_random_1 * 0.4",
          "0.2 + v.particle_random_1 * 0.4"
        ],
        "facing_camera_mode": "rotate_xyz",
        "uv": {
          "texture_width": 16,
          "texture_height": 16,
          "uv": [0, 0],
          "uv_size": [16, 16]
        }
      },
      "minecraft:particle_appearance_tinting": {
        "color": {
          "interpolant": "v.particle_age / v.particle_lifetime",
          "gradient": {
            "0.0": "#00FFF746",
            "0.5": "#FFFFD400",
            "1.0": "#003B2610"
          }
        }
      }
    }
  }
}
