mirror of
https://github.com/Mojang/bedrock-samples.git
synced 2024-11-11 13:49:29 +00:00
a3b394c507
Initial layout
51 lines
1.7 KiB
JSON
51 lines
1.7 KiB
JSON
{
|
|
"format_version": "1.10.0",
|
|
"particle_effect": {
|
|
"description": {
|
|
"identifier": "minecraft:squid_ink_bubble",
|
|
"basic_render_parameters": {
|
|
"material": "particles_alpha",
|
|
"texture": "textures/particle/particles"
|
|
}
|
|
},
|
|
"components": {
|
|
"minecraft:emitter_rate_instant": {
|
|
"num_particles": 1
|
|
},
|
|
"minecraft:emitter_lifetime_once": {
|
|
},
|
|
"minecraft:emitter_shape_point": {
|
|
"direction": [ "variable.direction.x * 0.2 + Math.random(-1, 1) * 0.02", "variable.direction.y * 0.2 + Math.random(-1, 1) * 0.02", "variable.direction.z * 0.2 + Math.random(-1, 1) * 0.02" ]
|
|
},
|
|
"minecraft:particle_initial_speed": "10",
|
|
"minecraft:particle_lifetime_expression": {
|
|
"max_lifetime": "2 / ((Math.Random(0.0, 1.0) * 0.8 + 0.2) * 5)"
|
|
},
|
|
"minecraft:particle_expire_if_not_in_blocks": [
|
|
"minecraft:water",
|
|
"minecraft:flowing_water",
|
|
"minecraft:bubble_column"
|
|
],
|
|
"minecraft:particle_motion_dynamic": {
|
|
"linear_acceleration": [ 0, 0.8, 0 ],
|
|
"linear_drag_coefficient": 5.25
|
|
},
|
|
"minecraft:particle_appearance_billboard": {
|
|
"size": [ "(0.05*variable.particle_random_1+0.1)*(variable.particle_random_2*0.9+0.2)", "(0.05*variable.particle_random_1+0.1)*(variable.particle_random_2*0.9+0.2)" ],
|
|
"facing_camera_mode": "lookat_xyz",
|
|
"uv": {
|
|
"texture_width": 128,
|
|
"texture_height": 128,
|
|
"uv": [ 16, 16 ],
|
|
"uv_size": [ 8, 8 ]
|
|
}
|
|
},
|
|
"minecraft:particle_appearance_tinting": {
|
|
"color": [ 0, 0.003922, 0.956863, 0 ]
|
|
},
|
|
"minecraft:particle_appearance_lighting": {}
|
|
}
|
|
}
|
|
}
|
|
|