1
0
mirror of https://github.com/Mojang/bedrock-samples.git synced 2024-11-11 13:49:29 +00:00
bedrock-samples/resource_pack/particles/falling_border_dust.json
Mike Ammerlaan a3b394c507 1.19.30
Initial layout
2022-09-23 06:24:26 -07:00

51 lines
1.8 KiB
JSON

{
"format_version": "1.10.0",
"particle_effect": {
"description": {
"identifier": "minecraft:falling_border_dust_particle",
"basic_render_parameters": {
"material": "particles_alpha",
"texture": "textures/particle/particles"
}
},
"components": {
"minecraft:emitter_rate_manual": {
"max_particles": 100
},
"minecraft:emitter_lifetime_expression": {
"activation_expression": 1,
"expiration_expression": 0
},
"minecraft:emitter_shape_point": {
},
"minecraft:particle_initial_speed": [ "Math.random(-0.016, 0.016)", "Math.random(-0.2, -0.6)", "Math.random(-0.016, 0.016)" ],
"minecraft:particle_lifetime_expression": {
"max_lifetime": "(8 / math.random(0.0001, 20.0)) + 0.5"
},
"minecraft:particle_motion_dynamic": {
"linear_acceleration": [ 0, "-1 / (math.clamp(variable.particle_random_4, 0.4, 0.8) * 6)", 0 ]
},
"minecraft:particle_appearance_billboard": {
"size": [ "variable.particle_random_3 * 0.075 + 0.075", "variable.particle_random_3 * 0.075 + 0.075" ],
"facing_camera_mode": "lookat_xyz",
"uv": {
"texture_width": 128,
"texture_height": 128,
"flipbook": {
"base_UV": [ 64, 72 ],
"size_UV": [ 8, 8 ],
"step_UV": [ -8, 0 ],
"frames_per_second": 8,
"max_frame": 8,
"stretch_to_lifetime": true,
"loop": false
}
}
},
"minecraft:particle_appearance_tinting": {
"color": [ "(variable.particle_random_1 * 0.2 + 0.8) * (variable.particle_random_2 * 0.4 + 0.6)", 0.0, 0.0, 0.0 ]
},
"minecraft:particle_appearance_lighting": {}
}
}
}