{
    "format_version": "1.10.0",
    "particle_effect": {
        "description": {
            "identifier": "oct_spcrs:paint_blue",
            "basic_render_parameters": {
                "material": "particles_blend",
                "texture": "textures/particle/campfire_smoke"
            }
        },
        "components": {
            "minecraft:emitter_initialization": {
                "creation_expression": "v.size_min = 0.2;v.size_max = 0.8;"
            },
            "minecraft:emitter_rate_instant": {
                "num_particles": "math.random_integer(20,30)"
            },
            "minecraft:emitter_lifetime_once": {
                "active_time": 1
            },
            "minecraft:emitter_shape_sphere": {
                "offset": [
                    0,
                    1,
                    0
                ],
                "radius": 1,
                "direction": "outwards"
            },
            "minecraft:particle_lifetime_expression": {
                "max_lifetime": "4 + variable.particle_random_3"
            },
            "minecraft:particle_initial_spin": {
                "rotation": "math.random(-180, 180)"
            },
            "minecraft:particle_initial_speed": 6,
            "minecraft:particle_motion_dynamic": {
                "linear_acceleration": [
                    0,
                    2,
                    0
                ],
                "linear_drag_coefficient": 4
            },
            "minecraft:particle_appearance_billboard": {
                "size": [
                    "math.lerp(v.size_min,v.size_max,v.particle_random_1)",
                    "math.lerp(v.size_min,v.size_max,v.particle_random_1)"
                ],
                "facing_camera_mode": "rotate_xyz",
                "uv": {
                    "texture_width": 16,
                    "texture_height": 192,
                    "flipbook": {
                        "base_UV": [
                            0,
                            "math.floor(v.particle_random_2*6)*16"
                        ],
                        "size_UV": [
                            16,
                            16
                        ],
                        "step_UV": [
                            0,
                            16
                        ],
                        "frames_per_second": 8,
                        "max_frame": 10,
                        "stretch_to_lifetime": true,
                        "loop": true
                    }
                }
            },
            "minecraft:particle_motion_collision": {
                "collision_drag": 0.5,
                "coefficient_of_restitution": 0.5,
                "collision_radius": 0.1
            },
            "minecraft:particle_appearance_lighting": {},
            "minecraft:particle_appearance_tinting": {
                "color": {
                    "interpolant": "v.particle_age / v.particle_lifetime",
                    "gradient": {
                        "0.0": "#0020D1E1",
                        "0.06": "#FF20D1E1",
                        "1.0": "#0020D1E1"
                    }
                }
            }
        }
    }
}