45 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			JSON
		
	
	
	
	
	
		
		
			
		
	
	
			45 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			JSON
		
	
	
	
	
	
|  | { | ||
|  | 	"format_version": "1.10.0", | ||
|  | 	"particle_effect": { | ||
|  | 		"description": { | ||
|  | 			"identifier": "cobblemon:fire_beam_old", | ||
|  | 			"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": 3 | ||
|  | 			}, | ||
|  | 			"minecraft:emitter_shape_sphere": { | ||
|  | 				"radius": 0.3, | ||
|  | 				"direction": [0, 0, -4] | ||
|  | 			}, | ||
|  | 			"minecraft:particle_lifetime_expression": { | ||
|  | 				"max_lifetime": "Math.random(0.8, 1.2)" | ||
|  | 			}, | ||
|  | 			"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 | ||
|  | 					} | ||
|  | 				} | ||
|  | 			} | ||
|  | 		} | ||
|  | 	} | ||
|  | } |