mirror of
https://github.com/GeyserMC/GeyserOptionalPack.git
synced 2025-12-30 04:09:23 +00:00
Add geyseropt:bubble_pop (minecraft:bubble_pop) particle
This commit is contained in:
49
particles/bubble_pop.particle.json
Normal file
49
particles/bubble_pop.particle.json
Normal file
@@ -0,0 +1,49 @@
|
||||
{
|
||||
"format_version": "1.10.0",
|
||||
"particle_effect": {
|
||||
"description": {
|
||||
"identifier": "geyseropt:bubble_pop",
|
||||
"basic_render_parameters": {
|
||||
"material": "particles_alpha",
|
||||
"texture": "textures/particle/bubble_pop"
|
||||
}
|
||||
},
|
||||
"components": {
|
||||
"minecraft:emitter_initialization": {
|
||||
"creation_expression": "v.size = math.random(0.1, 0.2);"
|
||||
},
|
||||
"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": {
|
||||
"linear_acceleration": [0, -0.5, 0]
|
||||
},
|
||||
"minecraft:particle_appearance_billboard": {
|
||||
"size": ["v.size", "v.size"],
|
||||
"facing_camera_mode": "rotate_xyz",
|
||||
"uv": {
|
||||
"texture_width": 16,
|
||||
"texture_height": 80,
|
||||
"flipbook": {
|
||||
"base_UV": [0, 0],
|
||||
"size_UV": [16, 16],
|
||||
"step_UV": [0, 16],
|
||||
"max_frame": 4,
|
||||
"stretch_to_lifetime": true
|
||||
}
|
||||
}
|
||||
},
|
||||
"minecraft:particle_appearance_tinting": {
|
||||
"color": [1, 1, 1, 1]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
BIN
textures/particle/bubble_pop.png
Normal file
BIN
textures/particle/bubble_pop.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.5 KiB |
Reference in New Issue
Block a user