45 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			JSON
		
	
	
	
	
	
			
		
		
	
	
			45 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			JSON
		
	
	
	
	
	
| {
 | |
| 	"format_version": "1.10.0",
 | |
| 	"particle_effect": {
 | |
| 		"description": {
 | |
| 			"identifier": "cobblemon:fire_beam",
 | |
| 			"basic_render_parameters": {
 | |
| 				"material": "particles_alpha",
 | |
| 				"texture": "textures/particles/fire_beam"
 | |
| 			}
 | |
| 		},
 | |
| 		"components": {
 | |
| 			"minecraft:emitter_rate_steady": {
 | |
| 				"spawn_rate": "Math.random(12, 15)",
 | |
| 				"max_particles": 1000
 | |
| 			},
 | |
| 			"minecraft:emitter_lifetime_once": {
 | |
| 				"active_time": 2
 | |
| 			},
 | |
| 			"minecraft:emitter_shape_sphere": {
 | |
| 				"radius": 0.3,
 | |
| 				"direction": [0, 0, -3]
 | |
| 			},
 | |
| 			"minecraft:particle_lifetime_expression": {
 | |
| 				"max_lifetime": "Math.random(0.5, 0.6)"
 | |
| 			},
 | |
| 			"minecraft:particle_initial_speed": 5,
 | |
| 			"minecraft:particle_motion_dynamic": {},
 | |
| 			"minecraft:particle_appearance_billboard": {
 | |
| 				"size": [0.4, 0.4],
 | |
| 				"facing_camera_mode": "lookat_xyz",
 | |
| 				"uv": {
 | |
| 					"texture_width": 16,
 | |
| 					"texture_height": 512,
 | |
| 					"flipbook": {
 | |
| 						"base_UV": [0, 0],
 | |
| 						"size_UV": [16, 16],
 | |
| 						"step_UV": [0, 16],
 | |
| 						"max_frame": 32,
 | |
| 						"stretch_to_lifetime": true
 | |
| 					}
 | |
| 				}
 | |
| 			}
 | |
| 		}
 | |
| 	}
 | |
| } |