diff --git a/particles/bubble.particle.json b/particles/bubble.particle.json new file mode 100644 index 0000000..fb97b2c --- /dev/null +++ b/particles/bubble.particle.json @@ -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] + } + } + } +} \ No newline at end of file