1
0
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:
Kastle
2021-03-09 00:22:29 -08:00
parent 314cd6eeb8
commit 1bcd62fe6b
2 changed files with 49 additions and 0 deletions

View 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]
}
}
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB