{
  "format_version": "1.10.0",
  "particle_effect": {
    "description": {
      "identifier": "hoh_bht:despawn_magic",
      "basic_render_parameters": {
        "material": "particles_add",
        "texture": "textures/HoH/bht/particle/hoh_despawn_magic"
      }
    },
    "curves": {
      "variable.psize": {
        "type": "linear",
        "input": "v.particle_age",
        "horizontal_range": "v.particle_lifetime",
        "nodes": [0, 1]
      }
    },
    "components": {
      "minecraft:emitter_rate_instant": {
        "num_particles": 50
      },
      "minecraft:emitter_lifetime_once": {
        "active_time": 1
      },
      "minecraft:emitter_shape_sphere": {
        "offset": [0, 0.5, 0],
        "radius": 2,
        "surface_only": true,
        "direction": "inwards"
      },
      "minecraft:particle_lifetime_expression": {
        "max_lifetime": 0.4
      },
      "minecraft:particle_initial_spin": {
        "rotation": "math.random(0,360)"
      },
      "minecraft:particle_initial_speed": 10,
      "minecraft:particle_motion_dynamic": {},
      "minecraft:particle_appearance_billboard": {
        "size": [0.25, 0.25],
        "facing_camera_mode": "rotate_xyz",
        "uv": {
          "texture_width": 16,
          "texture_height": 128,
          "flipbook": {
            "base_UV": [
              "Math.floor(v.particle_random_3 * 2) * 8",
              "Math.floor(v.particle_random_4 * 2) * 8"
            ],
            "size_UV": [8, 8],
            "step_UV": [0, 16],
            "frames_per_second": 12,
            "max_frame": 8,
            "stretch_to_lifetime": true
          }
        }
      },
      "minecraft:particle_motion_collision": {
        "collision_radius": 0.49
      },
      "minecraft:particle_appearance_tinting": {
        "color": {
          "interpolant": "v.particle_age / v.particle_lifetime",
          "gradient": {
            "0.0": "#8086D6F7",
            "0.64": "#FF751EFF",
            "1.0": "#000038FF"
          }
        }
      }
    }
  }
}
