1
0
mirror of https://github.com/Mojang/bedrock-samples.git synced 2024-09-22 08:31:23 +00:00
bedrock-samples/resource_pack/particles/water_splash_manual.json
Mike Ammerlaan 8a7cb6d0b6 v1.20.60.4
2024-02-06 09:42:22 -08:00

54 lines
1.6 KiB
JSON

{
"format_version": "1.10.0",
"particle_effect": {
"description": {
"identifier": "minecraft:water_splash_particle_manual",
"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": {
"offset": [ 0.0, 0.5, 0.0 ]
},
"minecraft:particle_lifetime_expression": {
"max_lifetime": "Math.Random(0.4, 2.0)"
},
"minecraft:particle_motion_dynamic": {
"linear_acceleration": [ 6.0, "30.0 + variable.particle_random_2*60.0 - variable.particle_age*410.0", 6.0 ],
"linear_drag_coefficient": 20.0
},
"minecraft:particle_motion_collision": {
"coefficient_of_restitution": 0.1,
"collision_drag": 10.0,
"collision_radius": 0.01
},
"minecraft:particle_appearance_billboard": {
"size": [ 0.2, 0.2 ],
"facing_camera_mode": "lookat_xyz",
"uv": {
"texture_width": 128,
"texture_height": 128,
"uv": [ "24+Math.Round(variable.particle_random_1*3.0)*8", 8 ],
"uv_size": [ 8, 8 ]
}
},
"minecraft:particle_appearance_tinting": {
"color": [ 1.0, 1.0, 1.0, 1.0 ]
},
"minecraft:particle_expire_if_not_in_blocks": [
"minecraft:air"
],
"minecraft:particle_appearance_lighting": {}
}
}
}