mirror of
https://github.com/GeyserMC/GeyserOptionalPack.git
synced 2025-12-19 14:59:14 +00:00
- Use imagemagick to create sprites on the CI - Fix barrier particle UV - Make bubble and underwater particles visible out of water - Increase acceleration of landing particles - Fix warped spore particle color
48 lines
1.2 KiB
JSON
48 lines
1.2 KiB
JSON
{
|
|
"format_version": "1.10.0",
|
|
"particle_effect": {
|
|
"description": {
|
|
"identifier": "geyseropt:underwater",
|
|
"basic_render_parameters": {
|
|
"material": "particles_alpha",
|
|
"texture": "textures/particle/particles"
|
|
}
|
|
},
|
|
"components": {
|
|
"minecraft:emitter_initialization": {
|
|
"creation_expression": "v.size = math.random(0.01, 0.02);"
|
|
},
|
|
"minecraft:emitter_rate_instant": {
|
|
"num_particles": 1
|
|
},
|
|
"minecraft:emitter_lifetime_once": {
|
|
"active_time": 2.5
|
|
},
|
|
"minecraft:emitter_shape_sphere": {
|
|
"radius": 0.5,
|
|
"direction": "outwards"
|
|
},
|
|
"minecraft:particle_lifetime_expression": {
|
|
"max_lifetime": 2.5
|
|
},
|
|
"minecraft:particle_initial_speed": 0.3,
|
|
"minecraft:particle_motion_dynamic": {
|
|
"linear_drag_coefficient": 2
|
|
},
|
|
"minecraft:particle_appearance_billboard": {
|
|
"size": ["v.size", "v.size"],
|
|
"facing_camera_mode": "rotate_xyz",
|
|
"uv": {
|
|
"texture_width": 128,
|
|
"texture_height": 128,
|
|
"uv": [4, 4],
|
|
"uv_size": [1, 1]
|
|
}
|
|
},
|
|
"minecraft:particle_appearance_lighting": {},
|
|
"minecraft:particle_appearance_tinting": {
|
|
"color": [0.27843, 0.47843, 0.86667, 1]
|
|
}
|
|
}
|
|
}
|
|
} |