{
	"format_version": "1.10.0",
	"particle_effect": {
		"description": {
			"identifier": "df:bfbook.magic_bullet",
			"basic_render_parameters": {
				"material": "particles_alpha",
				"texture": "textures/particles/weapons/bfbook/sprit_disc_wand"
			}
		},
		"curves": {
			"variable.psize": {
				"type": "catmull_rom",
				"input": "v.particle_age",
				"horizontal_range": "v.particle_lifetime",
				"nodes": [0.46, 0.45, 0.41, 0.04, 0, 0]
			}
		},
		"components": {
			"minecraft:emitter_initialization": {
				"per_update_expression": "v.prsize=math.random(0.8,1);"
			},
			"minecraft:emitter_local_space": {
				"position": true,
				"rotation": true,
				"velocity": true
			},
			"minecraft:emitter_rate_steady": {
				"spawn_rate": "50+math.random_integer(10,30)",
				"max_particles": 200
			},
			"minecraft:emitter_lifetime_once": {
				"active_time": 1
			},
			"minecraft:emitter_shape_point": {},
			"minecraft:particle_lifetime_expression": {
				"max_lifetime": 0.4
			},
			"minecraft:particle_initial_spin": {
				"rotation": "-90+math.random(-10,10)",
				"rotation_rate": "math.random(0,2)"
			},
			"minecraft:particle_initial_speed": 0.2,
			"minecraft:particle_motion_dynamic": {
				"linear_acceleration": [0, "math.random(-5,5)", 0],
				"linear_drag_coefficient": 1,
				"rotation_acceleration": -1
			},
			"minecraft:particle_appearance_billboard": {
				"size": ["v.particle_random_2*variable.psize", "v.particle_random_2*variable.psize"],
				"facing_camera_mode": "rotate_xyz",
				"uv": {
					"texture_width": 64,
					"texture_height": 16,
					"flipbook": {
						"base_UV": [0, 0],
						"size_UV": [16, 16],
						"step_UV": [16, 0],
						"frames_per_second": 4,
						"max_frame": 4,
						"stretch_to_lifetime": true
					}
				}
			},
			"minecraft:particle_motion_collision": {
				"collision_drag": 0.5,
				"coefficient_of_restitution": 1,
				"collision_radius": 0
			}
		}
	}
}