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/raid_omen_emitter.json
Mike Ammerlaan c989e80c35 v1.21.0.3
2024-06-13 09:45:16 -07:00

59 lines
1.7 KiB
JSON

{
"format_version": "1.10.0",
"particle_effect": {
"description": {
"identifier": "minecraft:raid_omen_emitter",
"basic_render_parameters": {
"material": "particles_alpha",
"texture": "textures/particle/raid_omen"
}
},
"components": {
"minecraft:emitter_rate_instant": {
"num_particles": 1
},
"minecraft:emitter_lifetime_once": {},
"minecraft:emitter_shape_custom": {
"direction": [ "Math.random(-0.25, 0.25)", "Math.random(0, 1)", "Math.random(-0.25, 0.25)" ]
},
"minecraft:particle_initial_speed": "(Math.random(0, 1) + Math.random(0, 1) + 1) * 0.55",
"minecraft:particle_lifetime_expression": {
"max_lifetime": "Math.random(0.85, 1.35)"
},
"minecraft:particle_motion_dynamic": {
"linear_acceleration": [
"(variable.particle_random_1 * 2 - 1)*0.5 - (variable.particle_age * 0.4) * 2.5",
"1 + (0.08 * variable.particle_age) - (variable.particle_age * 0.4) * 1.5",
"(variable.particle_random_2 * 2 - 1)*0.5 - (variable.particle_age * 0.4) * 2.5"
]
},
"minecraft:particle_motion_collision": {
"enabled": 1,
"expire_on_contact": true,
"collision_drag": 1.0,
"coefficient_of_restitution": 1.0,
"collision_radius": 0.01
},
"minecraft:particle_appearance_billboard": {
"size": [ 0.125, 0.125 ],
"facing_camera_mode": "lookat_xyz",
"uv": {
"texture_width": 16,
"texture_height": 16,
"uv": [ 0, 0 ],
"uv_size": [ 16, 16 ]
}
},
"minecraft:particle_appearance_lighting": {}
}
}
}