mirror of
https://github.com/Mojang/bedrock-samples.git
synced 2024-11-11 13:49:29 +00:00
a3b394c507
Initial layout
60 lines
1.6 KiB
JSON
60 lines
1.6 KiB
JSON
{
|
|
"format_version": "1.10.0",
|
|
"particle_effect": {
|
|
"description": {
|
|
"identifier": "minecraft:sculk_charge_pop_particle",
|
|
"basic_render_parameters": {
|
|
"material": "particles_alpha",
|
|
"texture": "textures/particle/sculk_charge_pop"
|
|
}
|
|
},
|
|
"components": {
|
|
"minecraft:emitter_initialization": {
|
|
"creation_expression": "variable.size = Math.random(0.1, 0.2);"
|
|
},
|
|
"minecraft:emitter_rate_instant": {
|
|
"num_particles": 1
|
|
},
|
|
"minecraft:emitter_lifetime_once": {
|
|
},
|
|
"minecraft:emitter_shape_point": {
|
|
"direction": [
|
|
"variable.direction.x",
|
|
"variable.direction.y",
|
|
"variable.direction.z"
|
|
]
|
|
},
|
|
"minecraft:particle_initial_speed": 0.7,
|
|
"minecraft:particle_motion_dynamic": {
|
|
"linear_acceleration": [ 0, 0, 0 ]
|
|
},
|
|
"minecraft:particle_lifetime_expression": {
|
|
"max_lifetime": "Math.random(0.3, 0.5)"
|
|
},
|
|
"minecraft:particle_appearance_billboard": {
|
|
"size": [
|
|
"variable.size",
|
|
"variable.size"
|
|
],
|
|
"facing_camera_mode": "lookat_xyz",
|
|
"uv": {
|
|
"texture_width": 16,
|
|
"texture_height": 64,
|
|
"flipbook": {
|
|
"base_UV": [ 0, 0 ],
|
|
"size_UV": [ 16, 16 ],
|
|
"step_UV": [ 0, 16 ],
|
|
"max_frame": 4,
|
|
"stretch_to_lifetime": true,
|
|
"loop": false
|
|
}
|
|
}
|
|
},
|
|
"minecraft:particle_appearance_tinting": {
|
|
"color": [ 1.0, 1.0, 1.0, 1.0 ]
|
|
},
|
|
"minecraft:particle_appearance_lighting": {}
|
|
}
|
|
}
|
|
}
|
|
|