mirror of
https://github.com/Mojang/bedrock-samples.git
synced 2024-11-11 13:49:29 +00:00
a3b394c507
Initial layout
59 lines
1.8 KiB
JSON
59 lines
1.8 KiB
JSON
{
|
|
"format_version": "1.10.0",
|
|
"particle_effect": {
|
|
"description": {
|
|
"identifier": "minecraft:sculk_soul_particle",
|
|
"basic_render_parameters": {
|
|
"material": "particles_alpha",
|
|
"texture": "textures/particle/sculk_soul"
|
|
}
|
|
},
|
|
"components": {
|
|
"minecraft:emitter_rate_instant": {
|
|
"num_particles": 2
|
|
},
|
|
"minecraft:emitter_lifetime_once": {
|
|
"active_time": 0.15
|
|
},
|
|
"minecraft:emitter_shape_point": {
|
|
"direction": [
|
|
"variable.direction.x",
|
|
"variable.direction.y",
|
|
"variable.direction.z"
|
|
]
|
|
},
|
|
"minecraft:particle_initial_speed": 0,
|
|
"minecraft:particle_lifetime_expression": {
|
|
"max_lifetime": "((8 / (Math.random(0.0, 0.8) + 0.2)) + 4) / 20.0"
|
|
},
|
|
"minecraft:particle_motion_dynamic": {
|
|
"linear_acceleration": [ 0, 0.4, 0 ]
|
|
},
|
|
"minecraft:particle_appearance_billboard": {
|
|
"size": [
|
|
"(0.1 + variable.particle_random_1*0.1) + (0.2 * variable.particle_age)",
|
|
"(0.1 + variable.particle_random_1*0.1) + (0.2 * variable.particle_age)"
|
|
],
|
|
"facing_camera_mode": "lookat_xyz",
|
|
"uv": {
|
|
"texture_width": 16,
|
|
"texture_height": 176,
|
|
"flipbook": {
|
|
"base_UV": [ 0, 0 ],
|
|
"size_UV": [ 16, 16 ],
|
|
"step_UV": [ 0, 16 ],
|
|
"frames_per_second": 11,
|
|
"max_frame": 11,
|
|
"stretch_to_lifetime": true,
|
|
"loop": false
|
|
}
|
|
}
|
|
},
|
|
"minecraft:particle_appearance_tinting": {
|
|
"color": [ 1.0, 1.0, 1.0, 1.0 ]
|
|
},
|
|
"minecraft:particle_appearance_lighting": {}
|
|
}
|
|
}
|
|
}
|
|
|