diff --git a/particles/bubble_pop.particle.json b/particles/bubble_pop.particle.json new file mode 100644 index 0000000..7d42764 --- /dev/null +++ b/particles/bubble_pop.particle.json @@ -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] + } + } + } +} \ No newline at end of file diff --git a/textures/particle/bubble_pop.png b/textures/particle/bubble_pop.png new file mode 100644 index 0000000..ea4375a Binary files /dev/null and b/textures/particle/bubble_pop.png differ