{
    "format_version": "1.10.0",
    "particle_effect": {
        "description": {
            "identifier": "oct_db:cold",
            "basic_render_parameters": {
                "material": "particles_blend",
                "texture": "textures/octovon/db/particle/particles"
            }
        },
        "components": {
            "minecraft:emitter_initialization": {
                "creation_expression": "v.size_min = 0.05;v.size_max = 0.15;"
            },
            "minecraft:emitter_rate_steady": {
                "spawn_rate": "v.spawn_rate ?? 5",
                "max_particles": 999
            },
            "minecraft:emitter_lifetime_once": {
                "active_time": 1
            },
            "minecraft:emitter_shape_box": {
                "offset": [
                    0,
                    0.75,
                    0
                ],
                "half_dimensions": [
                    0.4,
                    0.75,
                    0.4
                ],
                "surface_only": true,
                "direction": "outwards"
            },
            "minecraft:particle_lifetime_expression": {
                "max_lifetime": 1
            },
            "minecraft:particle_initial_spin": {
                "rotation_rate": "math.random(-150,150)"
            },
            "minecraft:particle_initial_speed": 0.5,
            "minecraft:particle_motion_dynamic": {
                "linear_acceleration": [
                    0,
                    0.6,
                    0
                ],
                "linear_drag_coefficient": 3,
                "rotation_drag_coefficient": 0.1
            },
            "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": 64,
                    "texture_height": 64,
                    "uv": [
                        "math.floor(v.particle_random_4*6)*8",
                        0
                    ],
                    "uv_size": [
                        8,
                        8
                    ]
                }
            },
            "minecraft:particle_appearance_tinting": {
                "color": {
                    "interpolant": "v.particle_age / v.particle_lifetime",
                    "gradient": {
                        "0.0": "#00FFFFFF",
                        "0.17": "#ffffffff",
                        "0.62": "#FFFFFFFF",
                        "1.0": "#00FFFFFF"
                    }
                }
            }
        }
    }
}