1
0
mirror of https://github.com/Mojang/bedrock-samples.git synced 2025-02-21 17:46:09 +00:00
bedrock-samples/resource_pack/particles/creaking_crumble_head.json
Mike Ammerlaan 5ce65764d3 v1.21.50.7
2024-12-03 08:43:20 -08:00

48 lines
1.6 KiB
JSON

{
"format_version": "1.10.0",
"particle_effect": {
"description": {
"identifier": "minecraft:creaking_crumble_head",
"basic_render_parameters": {
"material": "particles_alpha",
"texture": "textures/blocks/creaking_heart_side_active"
}
},
"components": {
"minecraft:emitter_rate_instant": {
"num_particles": 20
},
"minecraft:emitter_lifetime_once": {
},
"minecraft:emitter_shape_box": {
"half_dimensions": [ 0.45, 1.35, 0.45 ],
"direction": [ "Math.random(-1.0, 1.0)", 1.0, "Math.random(-1.0, 1.0)" ]
},
"minecraft:particle_initial_speed": "Math.random(0.0, 1.0)",
"minecraft:particle_lifetime_expression": {
"max_lifetime": "0.2f / (Math.random(0.0, 1.0) * 0.9f + 0.1f)"
},
"minecraft:particle_motion_dynamic": {
"linear_acceleration": [ 0, -9.8, 0 ],
"linear_drag_coefficient": 0.5
},
"minecraft:particle_motion_collision": {
"coefficient_of_restitution": 0.1,
"collision_drag": 5,
"collision_radius": 0.1
},
"minecraft:particle_appearance_billboard": {
"size": [ "variable.particle_random_1 * 0.0375 + 0.0375", "variable.particle_random_2 * 0.0375 + 0.0375" ],
"facing_camera_mode": "lookat_xyz",
"uv": {
"texture_width": 16,
"texture_height": 16,
"uv": [ "Math.round(variable.particle_random_1 * 12.0)", "Math.round(variable.particle_random_2 * 12.0)" ],
"uv_size": [ 4, 4 ]
}
},
"minecraft:particle_appearance_lighting": {}
}
}
}