mirror of
https://github.com/GeyserMC/GeyserOptionalPack.git
synced 2025-12-19 14:59:14 +00:00
Add geyseropt:bubble (minecraft:bubble) particle
This commit is contained in:
43
particles/bubble.particle.json
Normal file
43
particles/bubble.particle.json
Normal file
@@ -0,0 +1,43 @@
|
|||||||
|
{
|
||||||
|
"format_version": "1.10.0",
|
||||||
|
"particle_effect": {
|
||||||
|
"description": {
|
||||||
|
"identifier": "geyseropt:bubble",
|
||||||
|
"basic_render_parameters": {
|
||||||
|
"material": "particles_alpha",
|
||||||
|
"texture": "textures/particle/particles"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"components": {
|
||||||
|
"minecraft:emitter_initialization": {
|
||||||
|
"creation_expression": "v.size = math.random(0.05, 0.15);"
|
||||||
|
},
|
||||||
|
"minecraft:emitter_rate_instant": {
|
||||||
|
"num_particles": 1
|
||||||
|
},
|
||||||
|
"minecraft:emitter_lifetime_once": {
|
||||||
|
"active_time": 0.25
|
||||||
|
},
|
||||||
|
"minecraft:emitter_shape_point": {},
|
||||||
|
"minecraft:particle_lifetime_expression": {
|
||||||
|
"max_lifetime": 0.25
|
||||||
|
},
|
||||||
|
"minecraft:particle_initial_speed": 0,
|
||||||
|
"minecraft:particle_motion_dynamic": {},
|
||||||
|
"minecraft:particle_appearance_billboard": {
|
||||||
|
"size": ["v.size", "v.size"],
|
||||||
|
"facing_camera_mode": "rotate_xyz",
|
||||||
|
"uv": {
|
||||||
|
"texture_width": 128,
|
||||||
|
"texture_height": 128,
|
||||||
|
"uv": [0, 16],
|
||||||
|
"uv_size": [8, 8]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:particle_appearance_lighting": {},
|
||||||
|
"minecraft:particle_appearance_tinting": {
|
||||||
|
"color": [1, 1, 1, 1]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user