mirror of
https://github.com/GeyserMC/GeyserOptionalPack.git
synced 2026-01-03 22:16:33 +00:00
48 lines
1.1 KiB
JSON
48 lines
1.1 KiB
JSON
{
|
|
"format_version": "1.10.0",
|
|
"particle_effect": {
|
|
"description": {
|
|
"identifier": "geyseropt:flash",
|
|
"basic_render_parameters": {
|
|
"material": "particles_blend",
|
|
"texture": "textures/particle/flash"
|
|
}
|
|
},
|
|
"components": {
|
|
"minecraft:emitter_initialization": {
|
|
"per_update_expression": "v.visible = math.random_integer(0, 1);"
|
|
},
|
|
"minecraft:emitter_rate_instant": {
|
|
"num_particles": 1
|
|
},
|
|
"minecraft:emitter_lifetime_once": {
|
|
"active_time": 0.3
|
|
},
|
|
"minecraft:emitter_shape_point": {},
|
|
"minecraft:particle_lifetime_expression": {
|
|
"max_lifetime": 0.3
|
|
},
|
|
"minecraft:particle_initial_speed": 0,
|
|
"minecraft:particle_motion_dynamic": {},
|
|
"minecraft:particle_appearance_billboard": {
|
|
"size": [6, 6],
|
|
"facing_camera_mode": "rotate_xyz",
|
|
"uv": {
|
|
"texture_width": 16,
|
|
"texture_height": 16,
|
|
"uv": [0, 0],
|
|
"uv_size": [16, 16]
|
|
}
|
|
},
|
|
"minecraft:particle_appearance_tinting": {
|
|
"color": {
|
|
"interpolant": "v.visible",
|
|
"gradient": {
|
|
"0.0": "#FFFFFFFF",
|
|
"1.0": "#00FFFFFF"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
} |