mirror of
https://github.com/Mojang/bedrock-samples.git
synced 2025-02-21 21:16:08 +00:00
45 lines
1.2 KiB
JSON
45 lines
1.2 KiB
JSON
{
|
|
"format_version": "1.10.0",
|
|
"particle_effect": {
|
|
"description": {
|
|
"identifier": "minecraft:eyeblossom_open",
|
|
"basic_render_parameters": {
|
|
"material": "particles_alpha",
|
|
"texture": "textures/particle/pixel"
|
|
}
|
|
},
|
|
"components": {
|
|
"minecraft:emitter_rate_instant": {
|
|
"num_particles": 1
|
|
},
|
|
"minecraft:emitter_lifetime_once": {
|
|
},
|
|
"minecraft:emitter_shape_point": {
|
|
},
|
|
"minecraft:particle_initial_speed": [
|
|
"math.random(-0.5, 0.5)",
|
|
"math.random(1.0, 2.0)",
|
|
"math.random(-0.5, 0.5)"
|
|
],
|
|
"minecraft:particle_lifetime_expression": {
|
|
"max_lifetime": "math.random(0.0, 1.0) + 0.5"
|
|
},
|
|
"minecraft:particle_motion_dynamic": {
|
|
"linear_acceleration": [ 0, 0, 0 ]
|
|
},
|
|
"minecraft:particle_appearance_billboard": {
|
|
"size": [ 0.0375, 0.0375 ],
|
|
"facing_camera_mode": "lookat_xyz"
|
|
},
|
|
"minecraft:particle_appearance_tinting": {
|
|
"color": [
|
|
"252.0/255.0 * math.min(math.random(0.875, 1.125), 1.0)",
|
|
"120.0/255.0 * math.min(math.random(0.875, 1.125), 1.0)",
|
|
"18.0/255.0 * math.min(math.random(0.875, 1.125), 1.0)",
|
|
1.0
|
|
]
|
|
}
|
|
}
|
|
}
|
|
}
|