mirror of
https://github.com/Mojang/bedrock-samples.git
synced 2024-09-22 08:31:23 +00:00
46 lines
1.2 KiB
JSON
46 lines
1.2 KiB
JSON
{
|
|
"format_version": "1.10.0",
|
|
"particle_effect": {
|
|
"description": {
|
|
"identifier": "minecraft:wind_explosion_emitter",
|
|
"basic_render_parameters": {
|
|
"material": "particles_alpha",
|
|
"texture": "textures/particle/gust"
|
|
}
|
|
},
|
|
"components": {
|
|
"minecraft:emitter_rate_steady": {
|
|
"spawn_rate": 30,
|
|
"max_particles": 10
|
|
},
|
|
"minecraft:emitter_lifetime_once": {
|
|
"active_time": 0.4
|
|
},
|
|
"minecraft:emitter_shape_custom": {
|
|
"offset": [ "Math.random(-1, 1)", "Math.random(-1, 1)", "Math.random(-1, 1)" ]
|
|
},
|
|
"minecraft:particle_initial_speed": 0.0,
|
|
"minecraft:particle_lifetime_expression": {
|
|
"max_lifetime": "Math.random( 0.6, 0.8 )"
|
|
},
|
|
"minecraft:particle_appearance_billboard": {
|
|
"size": [ 1.0, 1.0 ],
|
|
"facing_camera_mode": "lookat_xyz",
|
|
"uv": {
|
|
"texture_width": 384,
|
|
"texture_height": 32,
|
|
"flipbook": {
|
|
"base_UV": [ 0, 0 ],
|
|
"size_UV": [ 32, 32 ],
|
|
"step_UV": [ 32, 0 ],
|
|
"frames_per_second": 12,
|
|
"max_frame": 12,
|
|
"stretch_to_lifetime": true,
|
|
"loop": false
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|