mirror of
https://github.com/GeyserMC/GeyserOptionalPack.git
synced 2025-12-19 14:59:14 +00:00
48 lines
1.2 KiB
JSON
48 lines
1.2 KiB
JSON
{
|
|
"format_version": "1.10.0",
|
|
"particle_effect": {
|
|
"description": {
|
|
"identifier": "geyseropt:damage_indicator",
|
|
"basic_render_parameters": {
|
|
"material": "particles_alpha",
|
|
"texture": "textures/particle/damage"
|
|
}
|
|
},
|
|
"components": {
|
|
"minecraft:emitter_rate_instant": {
|
|
"num_particles": 1
|
|
},
|
|
"minecraft:emitter_lifetime_once": {
|
|
"active_time": 1.5
|
|
},
|
|
"minecraft:emitter_shape_point": {},
|
|
"minecraft:particle_lifetime_expression": {
|
|
"max_lifetime": 1.5
|
|
},
|
|
"minecraft:particle_initial_speed": 0.1,
|
|
"minecraft:particle_motion_dynamic": {
|
|
"linear_acceleration": [0, "math.pow(6.5, -2.5 * variable.particle_age) * (1 - 6*variable.particle_age)*50", 0]
|
|
},
|
|
"minecraft:particle_appearance_billboard": {
|
|
"size": [0.2, 0.2],
|
|
"facing_camera_mode": "rotate_xyz",
|
|
"uv": {
|
|
"texture_width": 8,
|
|
"texture_height": 8,
|
|
"uv": [0, 0],
|
|
"uv_size": [8, 8]
|
|
}
|
|
},
|
|
"minecraft:particle_appearance_lighting": {},
|
|
"minecraft:particle_appearance_tinting": {
|
|
"color": {
|
|
"interpolant": "variable.particle_age / variable.particle_lifetime",
|
|
"gradient": {
|
|
"0.0": "#FFC66464",
|
|
"1.0": "#FF4C0000"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
} |