mirror of
https://github.com/GeyserMC/GeyserOptionalPack.git
synced 2025-12-19 14:59:14 +00:00
57 lines
1.3 KiB
JSON
57 lines
1.3 KiB
JSON
{
|
|
"format_version": "1.10.0",
|
|
"particle_effect": {
|
|
"description": {
|
|
"identifier": "geyseropt:damage_indicator_multiple",
|
|
"basic_render_parameters": {
|
|
"material": "particles_alpha",
|
|
"texture": "textures/particle/damage"
|
|
}
|
|
},
|
|
"components": {
|
|
"minecraft:emitter_local_space": {
|
|
"position": true,
|
|
"rotation": true,
|
|
"velocity": true
|
|
},
|
|
"minecraft:emitter_rate_steady": {
|
|
"spawn_rate": 8,
|
|
"max_particles": 100
|
|
},
|
|
"minecraft:emitter_lifetime_once": {
|
|
"active_time": 1
|
|
},
|
|
"minecraft:emitter_shape_entity_aabb": {
|
|
"direction": "outwards"
|
|
},
|
|
"minecraft:particle_lifetime_expression": {
|
|
"max_lifetime": 1
|
|
},
|
|
"minecraft:particle_initial_speed": 0.3,
|
|
"minecraft:particle_motion_dynamic": {
|
|
"linear_acceleration": [0, "(variable.particle_age - 0.3) * -75", 0],
|
|
"linear_drag_coefficient": 1
|
|
},
|
|
"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_tinting": {
|
|
"color": {
|
|
"interpolant": "variable.particle_age / variable.particle_lifetime",
|
|
"gradient": {
|
|
"0.0": "#FFC66464",
|
|
"1.0": "#FF4C0000"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|