diff --git a/particles_examples_1.19/ParticlesExamples1.19.mcpack b/particles_examples_1.19/ParticlesExamples1.19.mcpack new file mode 100644 index 0000000..2885e5c Binary files /dev/null and b/particles_examples_1.19/ParticlesExamples1.19.mcpack differ diff --git a/particles_examples_1.19/unzipped/manifest.json b/particles_examples_1.19/unzipped/manifest.json new file mode 100644 index 0000000..44d0368 --- /dev/null +++ b/particles_examples_1.19/unzipped/manifest.json @@ -0,0 +1,19 @@ +{ + "format_version": 1, + "header": { + "description": "Particle System Examples 1.19", + "name": "Particle System Examples 1.19", + "uuid": "6208b7b2-41b1-4492-9eb2-0461d44ddeb1", + "version": [ 0, 0, 1 ], + "min_engine_version": [ 1, 10, 0 ] + }, + "modules": [ + { + "description": "", + "type": "resources", + "uuid": "5d76c5ce-7f03-4f3b-9874-27ba6c0be298", + "version": [ 0, 0, 1 ] + } + ] +} + diff --git a/particles_examples_1.19/unzipped/particles/example_beziercurve.json b/particles_examples_1.19/unzipped/particles/example_beziercurve.json new file mode 100644 index 0000000..6bf3f0c --- /dev/null +++ b/particles_examples_1.19/unzipped/particles/example_beziercurve.json @@ -0,0 +1,63 @@ +{ + "format_version": "1.10.0", + "particle_effect": { + "description": { + "identifier": "minecraft:example_beziercurve", + "basic_render_parameters": { + "material": "particles_alpha", + "texture": "textures/particle/particles" + } + }, + "curves": { + "variable.color_curve": { + "type": "bezier", + "nodes": [ 0.0, 0.1, 1.0, 0.8 ], + "input": "variable.particle_age", + "horizontal_range": "variable.particle_lifetime" + } + }, + "components": { + "minecraft:emitter_rate_instant": { + "num_particles": 100 + }, + "minecraft:emitter_lifetime_once": { + "active_time": 0 + }, + "minecraft:emitter_shape_sphere": { + "radius": 0.1, + "direction": "outwards" + }, + "minecraft:particle_initial_speed": "Math.random(0.0, 15.0)", + "minecraft:particle_initial_spin": { + "rotation": "Math.random(0, 360)" + }, + "minecraft:particle_lifetime_expression": { + "max_lifetime": "math.random(1.0, 3.0)" + }, + "minecraft:particle_motion_dynamic": { + "linear_acceleration": [ 0, 2.0, 0 ], + "linear_drag_coefficient": 5 + }, + "minecraft:particle_appearance_billboard": { + "size": [ "0.1", "0.1" ], + "facing_camera_mode": "lookat_xyz", + "uv": { + "texture_width": 16, + "texture_height": 16, + "uv": [ 2, 2 ], + "uv_size": [ 1, 1 ] + } + }, + "minecraft:particle_appearance_tinting": { + "color": { + "gradient": [ + [ 1, 0, 0, 1 ], + [ 0, 1, 1, 1 ] + ], + "interpolant": "variable.color_curve" + } + }, + "minecraft:particle_appearance_lighting": {} + } + } +} \ No newline at end of file diff --git a/particles_examples_1.19/unzipped/particles/example_blendmode_add.json b/particles_examples_1.19/unzipped/particles/example_blendmode_add.json new file mode 100644 index 0000000..8516062 --- /dev/null +++ b/particles_examples_1.19/unzipped/particles/example_blendmode_add.json @@ -0,0 +1,57 @@ +{ + "format_version": "1.10.0", + "particle_effect": { + "description": { + "identifier": "minecraft:example_blendmode_add", + "basic_render_parameters": { + "material": "particles_add", + "texture": "textures/particle/particles" + } + }, + "components": { + "minecraft:emitter_rate_instant": { + "num_particles": 30 + }, + "minecraft:emitter_lifetime_once": { + "active_time": 0 + }, + "minecraft:emitter_shape_disc": { + "offset": [ 0, 0.1, 0 ], + "radius": 1, + "direction": "outwards" + }, + "minecraft:particle_initial_speed": 5, + "minecraft:particle_initial_spin": { + "rotation": 0 + }, + "minecraft:particle_lifetime_expression": { + "max_lifetime": 10 + }, + "minecraft:particle_motion_dynamic": { + "linear_acceleration": [ 0, "variable.particle_random_1*0.1", 0 ], + "linear_drag_coefficient": 5 + }, + "minecraft:particle_appearance_billboard": { + "size": [ "math.clamp(variable.particle_random_1-0.3,0.3,0.8)", "math.clamp(variable.particle_random_1-0.3,0.3,0.8)" ], + "facing_camera_mode": "emitter_transform_xz", + "uv": { + "texture_width": 128, + "texture_height": 128, + "uv": [ 32, 16 ], + "uv_size": [ 32, 32 ] + } + }, + "minecraft:particle_appearance_tinting": { + "color": { + "gradient": [ + [ "variable.particle_random_4 * 1.5", "variable.particle_random_2 * 1.5", "variable.particle_random_3 * 1.5", 1.0 ], + [ "variable.particle_random_3 * 1.5", "variable.particle_random_4 * 1.5", "variable.particle_random_2 * 1.5", 1.0 ], + [ "variable.particle_random_1 * 1.5", "variable.particle_random_2 * 1.5", "variable.particle_random_3 * 1.5", 1.0 ] + ], + "interpolant": "variable.particle_age/variable.particle_lifetime" + } + }, + "minecraft:particle_appearance_lighting": {} + } + } +} \ No newline at end of file diff --git a/particles_examples_1.19/unzipped/particles/example_blendmode_alpha.json b/particles_examples_1.19/unzipped/particles/example_blendmode_alpha.json new file mode 100644 index 0000000..8ab526b --- /dev/null +++ b/particles_examples_1.19/unzipped/particles/example_blendmode_alpha.json @@ -0,0 +1,57 @@ +{ + "format_version": "1.10.0", + "particle_effect": { + "description": { + "identifier": "minecraft:example_blendmode_alpha", + "basic_render_parameters": { + "material": "particles_alpha", + "texture": "textures/particle/particles" + } + }, + "components": { + "minecraft:emitter_rate_instant": { + "num_particles": 30 + }, + "minecraft:emitter_lifetime_once": { + "active_time": 0 + }, + "minecraft:emitter_shape_disc": { + "offset": [ 0, 0.1, 0 ], + "radius": 1, + "direction": "outwards" + }, + "minecraft:particle_initial_speed": 5, + "minecraft:particle_initial_spin": { + "rotation": 0 + }, + "minecraft:particle_lifetime_expression": { + "max_lifetime": 10 + }, + "minecraft:particle_motion_dynamic": { + "linear_acceleration": [ 0, "variable.particle_random_1*0.1", 0 ], + "linear_drag_coefficient": 5 + }, + "minecraft:particle_appearance_billboard": { + "size": [ "math.clamp(variable.particle_random_1-0.3,0.3,0.8)", "math.clamp(variable.particle_random_1-0.3,0.3,0.8)" ], + "facing_camera_mode": "emitter_transform_xz", + "uv": { + "texture_width": 128, + "texture_height": 128, + "uv": [ 32, 16 ], + "uv_size": [ 32, 32 ] + } + }, + "minecraft:particle_appearance_tinting": { + "color": { + "gradient": [ + [ "variable.particle_random_4 * 1.5", "variable.particle_random_2 * 1.5", "variable.particle_random_3 * 1.5", 1.0 ], + [ "variable.particle_random_3 * 1.5", "variable.particle_random_4 * 1.5", "variable.particle_random_2 * 1.5", 1.0 ], + [ "variable.particle_random_1 * 1.5", "variable.particle_random_2 * 1.5", "variable.particle_random_3 * 1.5", 1.0 ] + ], + "interpolant": "variable.particle_age/variable.particle_lifetime" + } + }, + "minecraft:particle_appearance_lighting": {} + } + } +} \ No newline at end of file diff --git a/particles_examples_1.19/unzipped/particles/example_blendmode_blend.json b/particles_examples_1.19/unzipped/particles/example_blendmode_blend.json new file mode 100644 index 0000000..91934ef --- /dev/null +++ b/particles_examples_1.19/unzipped/particles/example_blendmode_blend.json @@ -0,0 +1,57 @@ +{ + "format_version": "1.10.0", + "particle_effect": { + "description": { + "identifier": "minecraft:example_blendmode_blend", + "basic_render_parameters": { + "material": "particles_blend", + "texture": "textures/particle/particles" + } + }, + "components": { + "minecraft:emitter_rate_instant": { + "num_particles": 30 + }, + "minecraft:emitter_lifetime_once": { + "active_time": 0 + }, + "minecraft:emitter_shape_disc": { + "offset": [ 0, 0.1, 0 ], + "radius": 1, + "direction": "outwards" + }, + "minecraft:particle_initial_speed": 5, + "minecraft:particle_initial_spin": { + "rotation": 0 + }, + "minecraft:particle_lifetime_expression": { + "max_lifetime": 10 + }, + "minecraft:particle_motion_dynamic": { + "linear_acceleration": [ 0, "variable.particle_random_1*0.1", 0 ], + "linear_drag_coefficient": 5 + }, + "minecraft:particle_appearance_billboard": { + "size": [ "math.clamp(variable.particle_random_1-0.3,0.3,0.8)", "math.clamp(variable.particle_random_1-0.3,0.3,0.8)" ], + "facing_camera_mode": "emitter_transform_xz", + "uv": { + "texture_width": 128, + "texture_height": 128, + "uv": [ 32, 16 ], + "uv_size": [ 32, 32 ] + } + }, + "minecraft:particle_appearance_tinting": { + "color": { + "gradient": [ + [ "variable.particle_random_4 * 1.5", "variable.particle_random_2 * 1.5", "variable.particle_random_3 * 1.5", 1.0 ], + [ "variable.particle_random_3 * 1.5", "variable.particle_random_4 * 1.5", "variable.particle_random_2 * 1.5", 1.0 ], + [ "variable.particle_random_1 * 1.5", "variable.particle_random_2 * 1.5", "variable.particle_random_3 * 1.5", 1.0 ] + ], + "interpolant": "variable.particle_age/variable.particle_lifetime" + } + }, + "minecraft:particle_appearance_lighting": {} + } + } +} \ No newline at end of file diff --git a/particles_examples_1.19/unzipped/particles/example_bounce.json b/particles_examples_1.19/unzipped/particles/example_bounce.json new file mode 100644 index 0000000..46c1051 --- /dev/null +++ b/particles_examples_1.19/unzipped/particles/example_bounce.json @@ -0,0 +1,52 @@ +{ + "format_version": "1.10.0", + "particle_effect": { + "description": { + "identifier": "minecraft:example_bounce", + "basic_render_parameters": { + "material": "particles_alpha", + "texture": "textures/particle/particles" + } + }, + "components": { + "minecraft:emitter_rate_instant": { + "num_particles": 100 + }, + "minecraft:emitter_lifetime_once": { + "active_time": 2 + }, + "minecraft:emitter_shape_sphere": { + "offset": [ "Math.random(-0.5, 0.5)", "Math.random(-0.5, 0.5)", "Math.random(-0.5, 0.5)" ], + "direction": "outwards", + "radius": 1 + }, + "minecraft:particle_initial_speed": 5.0, + "minecraft:particle_initial_spin": { + "rotation": "Math.random(0, 360)", + "rotation_rate": 0 + }, + "minecraft:particle_lifetime_expression": { + "max_lifetime": "5" + }, + "minecraft:particle_motion_dynamic": { + "linear_acceleration": [ 0, -9.8, 0 ] + }, + "minecraft:particle_motion_collision": { + "coefficient_of_restitution": 0.5, + "collision_drag": 4, + "collision_radius": 0.1 + }, + "minecraft:particle_appearance_billboard": { + "size": [ "0.1", "0.1" ], + "facing_camera_mode": "lookat_xyz", + "uv": { + "texture_width": 128, + "texture_height": 128, + "uv": [ 0, 16 ], + "uv_size": [ 8, 8 ] + } + }, + "minecraft:particle_appearance_lighting": {} + } + } +} \ No newline at end of file diff --git a/particles_examples_1.19/unzipped/particles/example_catmullromcurve.json b/particles_examples_1.19/unzipped/particles/example_catmullromcurve.json new file mode 100644 index 0000000..bdb0e7d --- /dev/null +++ b/particles_examples_1.19/unzipped/particles/example_catmullromcurve.json @@ -0,0 +1,57 @@ +{ + "format_version": "1.10.0", + "particle_effect": { + "description": { + "identifier": "minecraft:example_catmullromcurve", + "basic_render_parameters": { + "material": "particles_alpha", + "texture": "textures/particle/particles" + } + }, + "curves": { + "variable.size_curve": { + "type": "catmull_rom", + "nodes": [ 0.25, 0.2, 0.1, 0.3, 0.1, 0.5, 0.0, 0.3 ], + "input": "variable.particle_age", + "horizontal_range": "variable.particle_lifetime" + } + }, + "components": { + "minecraft:emitter_rate_instant": { + "num_particles": 100 + }, + "minecraft:emitter_lifetime_once": { + "active_time": 0 + }, + "minecraft:emitter_shape_sphere": { + "radius": 0.1, + "direction": "outwards" + }, + "minecraft:particle_initial_speed": "Math.random(0.0, 15.0)", + "minecraft:particle_initial_spin": { + "rotation": "Math.random(0, 360)" + }, + "minecraft:particle_lifetime_expression": { + "max_lifetime": "math.random(1.0, 3.0)" + }, + "minecraft:particle_motion_dynamic": { + "linear_acceleration": [ 0, 2.0, 0 ], + "linear_drag_coefficient": 5 + }, + "minecraft:particle_appearance_billboard": { + "size": [ "variable.size_curve", "variable.size_curve" ], + "facing_camera_mode": "lookat_xyz", + "uv": { + "texture_width": 16, + "texture_height": 16, + "uv": [ 0, 2 ], + "uv_size": [ 1, 1 ] + } + } + }, + "minecraft:particle_appearance_tinting": { + "color": [ "variable.particle_random_1*0.5", "variable.particle_random_1*0.5", "variable.particle_random_1*0.5", 1.0 ] + }, + "minecraft:particle_appearance_lighting": {} + } +} diff --git a/particles_examples_1.19/unzipped/particles/example_colorcurve.json b/particles_examples_1.19/unzipped/particles/example_colorcurve.json new file mode 100644 index 0000000..c80968d --- /dev/null +++ b/particles_examples_1.19/unzipped/particles/example_colorcurve.json @@ -0,0 +1,60 @@ +{ + "format_version": "1.10.0", + "particle_effect": { + "description": { + "identifier": "minecraft:example_colorcurve", + "basic_render_parameters": { + "material": "particles_alpha", + "texture": "textures/particle/particles" + } + }, + "components": { + "minecraft:emitter_rate_instant": { + "num_particles": 100 + }, + "minecraft:emitter_lifetime_once": { + "active_time": 0 + }, + "minecraft:emitter_shape_sphere": { + "radius": 0.1, + "direction": "outwards" + }, + "minecraft:particle_initial_speed": "Math.random(0.0, 15.0)", + "minecraft:particle_initial_spin": { + "rotation": "Math.random(0, 360)" + }, + "minecraft:particle_lifetime_expression": { + "max_lifetime": "math.random(1.0, 3.0)" + }, + "minecraft:particle_motion_dynamic": { + "linear_acceleration": [ 0, 2.0, 0 ], + "linear_drag_coefficient": 5 + }, + "minecraft:particle_appearance_billboard": { + "size": [ 0.1, 0.1 ], + "facing_camera_mode": "lookat_xyz", + "uv": { + "texture_width": 16, + "texture_height": 16, + "uv": [ 2, 2 ], + "uv_size": [ 1, 1 ] + } + }, + "minecraft:particle_appearance_tinting": { + "color": { + "gradient": [ + "#FFFF0000", + "#00FF00", + [ 0, 0, 1 ], + [ 1, 1, 0, 1 ], + [ 1, 0, 1, 1 ], + [ 0, 1, 1, 1 ], + [ 1, 1, 1, 0 ] + ], + "interpolant": "variable.particle_age/variable.particle_lifetime" + } + }, + "minecraft:particle_appearance_lighting": {} + } + } +} \ No newline at end of file diff --git a/particles_examples_1.19/unzipped/particles/example_colorcurve2.json b/particles_examples_1.19/unzipped/particles/example_colorcurve2.json new file mode 100644 index 0000000..8ec0a8a --- /dev/null +++ b/particles_examples_1.19/unzipped/particles/example_colorcurve2.json @@ -0,0 +1,60 @@ +{ + "format_version": "1.10.0", + "particle_effect": { + "description": { + "identifier": "minecraft:example_colorcurve2", + "basic_render_parameters": { + "material": "particles_alpha", + "texture": "textures/particle/particles" + } + }, + "components": { + "minecraft:emitter_rate_instant": { + "num_particles": 100 + }, + "minecraft:emitter_lifetime_once": { + "active_time": 0 + }, + "minecraft:emitter_shape_sphere": { + "radius": 0.1, + "direction": "outwards" + }, + "minecraft:particle_initial_speed": "Math.random(0.0, 15.0)", + "minecraft:particle_initial_spin": { + "rotation": "Math.random(0, 360)" + }, + "minecraft:particle_lifetime_expression": { + "max_lifetime": "math.random(1.0, 3.0)" + }, + "minecraft:particle_motion_dynamic": { + "linear_acceleration": [ 0, 2.0, 0 ], + "linear_drag_coefficient": 5 + }, + "minecraft:particle_appearance_billboard": { + "size": [ 0.1, 0.1 ], + "facing_camera_mode": "lookat_xyz", + "uv": { + "texture_width": 16, + "texture_height": 16, + "uv": [ 2, 2 ], + "uv_size": [ 1, 1 ] + } + }, + "minecraft:particle_appearance_tinting": { + "color": { + "gradient": { + "0.1": "#FFFF0000", + "0.3": "#00FF00", + "1.0": [ 0, 0, 1 ], + "1.2": [ 1, 1, 0, 1 ], + "2.2": [ 1, 1, 1, 0 ], + "1.3": [ 1, 0, 1, 1 ], + "1.7": [ 0, 1, 1, 1 ] + }, + "interpolant": "variable.particle_age" + } + }, + "minecraft:particle_appearance_lighting": {} + } + } +} \ No newline at end of file diff --git a/particles_examples_1.19/unzipped/particles/example_combocurve.json b/particles_examples_1.19/unzipped/particles/example_combocurve.json new file mode 100644 index 0000000..72d1bd5 --- /dev/null +++ b/particles_examples_1.19/unzipped/particles/example_combocurve.json @@ -0,0 +1,88 @@ +{ + "format_version": "1.10.0", + "particle_effect": { + "description": { + "identifier": "minecraft:example_combocurve", + "basic_render_parameters": { + "material": "particles_alpha", + "texture": "textures/particle/particles" + } + }, + "curves": { + "variable.color_curve": { + "type": "bezier", + "nodes": [ 0.0, 0.1, 1.0, 0.8 ], + "input": "variable.particle_age", + "horizontal_range": "variable.particle_lifetime" + }, + "variable.size_curve": { + "type": "catmull_rom", + "nodes": [ 0.25, 0.2, 0.1, 0.3, 0.1, 0.5, 0.1, 0.3 ], + "input": "variable.particle_age", + "horizontal_range": "variable.particle_lifetime" + }, + "variable.rotation_acceleration": { + "type": "linear", + "nodes": [ 1000.0, -2000.0, 4000.0, -8000.0, 16000.0, -32000.0 ], + "input": "variable.particle_age", + "horizontal_range": "variable.particle_lifetime" + } + }, + "components": { + "minecraft:emitter_rate_instant": { + "num_particles": 100 + }, + "minecraft:emitter_lifetime_once": { + "active_time": 0 + }, + "minecraft:emitter_shape_sphere": { + "radius": 0.1, + "direction": "outwards" + }, + "minecraft:particle_initial_speed": "Math.random(0.0, 15.0)", + "minecraft:particle_initial_spin": { + "rotation": "Math.random(0, 360)" + }, + "minecraft:particle_lifetime_expression": { + "max_lifetime": "math.random(1.0, 3.0)" + }, + "minecraft:particle_motion_dynamic": { + "linear_acceleration": [ 0, 2.0, 0 ], + "linear_drag_coefficient": 5, + "rotation_acceleration": "variable.rotation_acceleration" + }, + "minecraft:particle_appearance_billboard": { + "size": [ "variable.size_curve", "variable.size_curve" ], + "facing_camera_mode": "lookat_xyz", + "uv": { + "texture_width": 128, + "texture_height": 128, + "flipbook": { + "base_UV": [ 56, 0 ], + "size_UV": [ 8, 8 ], + "step_UV": [ -8, 0 ], + "frames_per_second": 8, + "max_frame": 8, + "stretch_to_lifetime": true, + "loop": false + } + } + }, + "minecraft:particle_appearance_tinting": { + "color": { + "gradient": [ + "#FFFF0000", + "#00FF00", + [ 0, 0, 1 ], + [ 1, 1, 0, 1 ], + [ 1, 0, 1, 1 ], + [ 0, 1, 1, 1 ], + [ 1, 1, 1, 0 ] + ], + "interpolant": "variable.color_curve" + } + }, + "minecraft:particle_appearance_lighting": {} + } + } +} \ No newline at end of file diff --git a/particles_examples_1.19/unzipped/particles/example_directional_sphere.json b/particles_examples_1.19/unzipped/particles/example_directional_sphere.json new file mode 100644 index 0000000..d523091 --- /dev/null +++ b/particles_examples_1.19/unzipped/particles/example_directional_sphere.json @@ -0,0 +1,36 @@ +{ + "format_version": "1.10.0", + "particle_effect": { + "description": { + "identifier": "minecraft:example_directional_sphere", + "basic_render_parameters": { + "material": "particles_alpha", + "texture": "textures/items/diamond_pickaxe" + } + }, + "components": { + "minecraft:emitter_rate_instant": { + "num_particles": 150 + }, + "minecraft:emitter_lifetime_once": { + "active_time": 0 + }, + "minecraft:emitter_shape_sphere": { + "radius": 1, + "direction": "outwards", + "surface_only": true + }, + "minecraft:particle_lifetime_expression": { + "max_lifetime": 10 + }, + "minecraft:particle_motion_parametric": { + "rotation": "variable.particle_random_1 * 360 + variable.particle_age * 500" + }, + "minecraft:particle_appearance_billboard": { + "size": [ 0.2, 0.2 ], + "facing_camera_mode": "direction_z" + }, + "minecraft:particle_appearance_lighting": {} + } + } +} diff --git a/particles_examples_1.19/unzipped/particles/example_enitity_sparkle_box.json b/particles_examples_1.19/unzipped/particles/example_enitity_sparkle_box.json new file mode 100644 index 0000000..c3bb098 --- /dev/null +++ b/particles_examples_1.19/unzipped/particles/example_enitity_sparkle_box.json @@ -0,0 +1,57 @@ +{ + "format_version": "1.10.0", + "particle_effect": { + "description": { + "identifier": "minecraft:example_entity_sparkle_box", + "basic_render_parameters": { + "material": "particles_alpha", + "texture": "textures/particle/particles" + } + }, + "components": { + "minecraft:emitter_local_space": { + "position": true, + "rotation": true + }, + "minecraft:emitter_rate_steady": { + "spawn_rate": "math.random(30, 60)", + "max_particles": 100 + }, + "minecraft:emitter_lifetime_expression": { + "activation_expression": 1 + }, + "minecraft:emitter_shape_box": { + "offset": [ 0, "0.5 * variable.entity_scale", "0.2 * variable.entity_scale"], + "half_dimensions": ["0.5 * variable.entity_scale", "0.5 * variable.entity_scale", "0.75 * variable.entity_scale"], + "direction": "outwards", + "surface_only": true + }, + "minecraft:particle_initial_speed": 0.0, + "minecraft:particle_initialization": { + "per_render_expression": "variable.size = (variable.particle_random_1*0.05 + 0.05) * variable.entity_scale;" + }, + "minecraft:particle_appearance_billboard": { + "size": ["variable.size", "variable.size"], + "face_camera_mode": "lookat_xyz", + "uv": { + "texture_width": 16, + "texture_height": 16, + "flipbook": { + "base_UV": [ 8, 12] , + "size_UV": [ 1, 1 ], + "step_UV": [ -1, 0 ], + "max_frame": 8, + "stretch_to_lifetime": true + } + } + }, + "minecraft:particle_appearance_tinting": { + "color": [ 1, 0.85, 0 ] + }, + "minecraft:particle_lifetime_expression": { + "max_lifetime": "math.random(0.5, 0.75)" + } + } + } +} + \ No newline at end of file diff --git a/particles_examples_1.19/unzipped/particles/example_entity_sparkle_aabb.json b/particles_examples_1.19/unzipped/particles/example_entity_sparkle_aabb.json new file mode 100644 index 0000000..ec1b3bf --- /dev/null +++ b/particles_examples_1.19/unzipped/particles/example_entity_sparkle_aabb.json @@ -0,0 +1,58 @@ +{ + "format_version": "1.10.0", + "particle_effect": { + "description": { + "identifier": "minecraft:example_entity_sparkle_aabb", + "basic_render_parameters": { + "material": "particles_alpha", + "texture": "textures/particle/particles" + } + }, + "components": { + "minecraft:emitter_local_space": { + "velocity": true + }, + "minecraft:emitter_rate_steady": { + "spawn_rate": "math.random(30, 60)", + "max_particles": 100 + }, + "minecraft:emitter_lifetime_expression": { + "activation_expression": 1 + }, + "minecraft:emitter_shape_entity_aabb": { + "direction": "outwards", + "surface_only": true + }, + "minecraft:particle_initial_speed": 2.0, + "minecraft:particle_motion_dynamic": { + "linear_acceleration": [ 0, -9.8, 0 ], + "linear_drag_coefficient": 0.5 + }, + "minecraft:particle_initialization": { + "per_render_expression": "variable.size = variable.particle_random_1*0.05 + 0.05;" + }, + "minecraft:particle_appearance_billboard": { + "size": ["variable.size", "variable.size"], + "face_camera_mode": "lookat_xyz", + "uv": { + "texture_width": 16, + "texture_height": 16, + "flipbook": { + "base_UV": [ 8, 12] , + "size_UV": [ 1, 1 ], + "step_UV": [ -1, 0 ], + "max_frame": 8, + "stretch_to_lifetime": true + } + } + }, + "minecraft:particle_appearance_tinting": { + "color": [ 1, 0.85, 0 ] + }, + "minecraft:particle_lifetime_expression": { + "max_lifetime": "math.random(0.5, 0.75)" + } + } + } +} + \ No newline at end of file diff --git a/particles_examples_1.19/unzipped/particles/example_expire_on_contact.json b/particles_examples_1.19/unzipped/particles/example_expire_on_contact.json new file mode 100644 index 0000000..dc2a3d6 --- /dev/null +++ b/particles_examples_1.19/unzipped/particles/example_expire_on_contact.json @@ -0,0 +1,51 @@ +{ + "format_version": "1.10.0", + "particle_effect": { + "description": { + "identifier": "minecraft:example_expire_on_contact", + "basic_render_parameters": { + "material": "particles_alpha", + "texture": "textures/particle/particles" + } + }, + "components": { + "minecraft:emitter_rate_instant": { + "num_particles": 100 + }, + "minecraft:emitter_lifetime_once": { + "active_time": 2 + }, + "minecraft:emitter_shape_sphere": { + "offset": [ "Math.random(-0.5, 0.5)", "Math.random(-0.5, 0.5)", "Math.random(-0.5, 0.5)" ], + "direction": "outwards", + "radius": 1 + }, + "minecraft:particle_initial_speed": 5.0, + "minecraft:particle_initial_spin": { + "rotation": "Math.random(0, 360)", + "rotation_rate": 0 + }, + "minecraft:particle_lifetime_expression": { + "max_lifetime": "5" + }, + "minecraft:particle_motion_dynamic": { + "linear_acceleration": [ 0, -9.8, 0 ] + }, + "minecraft:particle_motion_collision": { + "expire_on_contact": true, + "collision_radius": 0.1 + }, + "minecraft:particle_appearance_billboard": { + "size": [ "0.1", "0.1" ], + "facing_camera_mode": "lookat_xyz", + "uv": { + "texture_width": 128, + "texture_height": 128, + "uv": [ 0, 16 ], + "uv_size": [ 8, 8 ] + } + }, + "minecraft:particle_appearance_lighting": {} + } + } +} \ No newline at end of file diff --git a/particles_examples_1.19/unzipped/particles/example_flipbook.json b/particles_examples_1.19/unzipped/particles/example_flipbook.json new file mode 100644 index 0000000..38b6844 --- /dev/null +++ b/particles_examples_1.19/unzipped/particles/example_flipbook.json @@ -0,0 +1,53 @@ +{ + "format_version": "1.10.0", + "particle_effect": { + "description": { + "identifier": "minecraft:example_flipbook", + "basic_render_parameters": { + "material": "particles_alpha", + "texture": "textures/particle/particles" + } + }, + "components": { + "minecraft:emitter_rate_instant": { + "num_particles": 100 + }, + "minecraft:emitter_lifetime_once": { + "active_time": 0 + }, + "minecraft:emitter_shape_sphere": { + "radius": 0.1, + "direction": "outwards" + }, + "minecraft:particle_initial_speed": "Math.random(0.0, 15.0)", + "minecraft:particle_lifetime_expression": { + "max_lifetime": "Math.random(1.0, 4.0)" + }, + "minecraft:particle_motion_dynamic": { + "linear_acceleration": [ 0, 2.0, 0 ], + "linear_drag_coefficient": 5 + }, + "minecraft:particle_appearance_billboard": { + "size": [ "0.1", "0.1" ], + "facing_camera_mode": "lookat_xyz", + "uv": { + "texture_width": 16, + "texture_height": 16, + "flipbook": { + "base_UV": [ 7, "8 + math.floor(variable.particle_random_1 * 5.999)" ], + "size_UV": [ 1, 1 ], + "step_UV": [ -1, 0 ], + "frames_per_second": 8, + "max_frame": "8 - math.floor(variable.particle_random_2*4)", + "stretch_to_lifetime": true, + "loop": false + } + } + }, + "minecraft:particle_appearance_tinting": { + "color": [ 1, 1, 1, 1 ] + }, + "minecraft:particle_appearance_lighting": {} + } + } +} diff --git a/particles_examples_1.19/unzipped/particles/example_highrestitution.json b/particles_examples_1.19/unzipped/particles/example_highrestitution.json new file mode 100644 index 0000000..bca4c21 --- /dev/null +++ b/particles_examples_1.19/unzipped/particles/example_highrestitution.json @@ -0,0 +1,53 @@ +{ + "format_version": "1.10.0", + "particle_effect": { + "description": { + "identifier": "minecraft:example_highrestitution", + "basic_render_parameters": { + "material": "particles_alpha", + "texture": "textures/particle/particles" + } + }, + "components": { + "minecraft:emitter_rate_instant": { + "num_particles": 100 + }, + "minecraft:emitter_lifetime_once": { + "active_time": 2 + }, + "minecraft:emitter_shape_sphere": { + "radius": 0.1, + "direction": "outwards", + "surface_only": true + }, + "minecraft:particle_initial_speed": 5.0, + "minecraft:particle_initial_spin": { + "rotation": "Math.random(0, 360)", + "rotation_rate": 0 + }, + "minecraft:particle_lifetime_expression": { + "max_lifetime": "Math.random(1.0, 4.0) + 10" + }, + "minecraft:particle_motion_dynamic": { + "linear_acceleration": [ 0, -9.8, 0 ], + "linear_drag_coefficient": 0.1 + }, + "minecraft:particle_motion_collision": { + "coefficient_of_restitution": 1.1, + "collision_drag": 1, + "collision_radius": 0.1 + }, + "minecraft:particle_appearance_billboard": { + "size": [ "0.1", "0.1" ], + "facing_camera_mode": "lookat_xyz", + "uv": { + "texture_width": 128, + "texture_height": 128, + "uv": [ 0, 16 ], + "uv_size": [ 8, 8 ] + } + }, + "minecraft:particle_appearance_lighting": {} + } + } +} diff --git a/particles_examples_1.19/unzipped/particles/example_linearcurve.json b/particles_examples_1.19/unzipped/particles/example_linearcurve.json new file mode 100644 index 0000000..4a45e96 --- /dev/null +++ b/particles_examples_1.19/unzipped/particles/example_linearcurve.json @@ -0,0 +1,65 @@ +{ + "format_version": "1.10.0", + "particle_effect": { + "description": { + "identifier": "minecraft:example_linearcurve", + "basic_render_parameters": { + "material": "particles_alpha", + "texture": "textures/particle/particles" + } + }, + "curves": { + "variable.rotation_acceleration": { + "type": "linear", + "nodes": [ 1000.0, -2000.0, 4000.0, -8000.0, 16000.0, -32000.0 ], + "input": "variable.particle_age", + "horizontal_range": "variable.particle_lifetime" + } + }, + "components": { + "minecraft:emitter_rate_instant": { + "num_particles": 100 + }, + "minecraft:emitter_lifetime_once": { + "active_time": 0 + }, + "minecraft:emitter_shape_sphere": { + "radius": 0.1, + "direction": "outwards" + }, + "minecraft:particle_initial_speed": "Math.random(0.0, 15.0)", + "minecraft:particle_initial_spin": { + "rotation": "Math.random(0, 360)" + }, + "minecraft:particle_lifetime_expression": { + "max_lifetime": "math.random(1.0, 3.0)" + }, + "minecraft:particle_motion_dynamic": { + "linear_acceleration": [ 0, 2.0, 0 ], + "linear_drag_coefficient": 5, + "rotation_acceleration": "variable.rotation_acceleration" + }, + "minecraft:particle_appearance_billboard": { + "size": [ 0.2, 0.2 ], + "facing_camera_mode": "lookat_xyz", + "uv": { + "texture_width": 128, + "texture_height": 128, + "flipbook": { + "base_UV": [ 56, 0 ], + "size_UV": [ 8, 8 ], + "step_UV": [ -8, 0 ], + "frames_per_second": 8, + "max_frame": 8, + "stretch_to_lifetime": true, + "loop": false + } + } + }, + "minecraft:particle_appearance_tinting": { + "color": [ "variable.particle_random_1*0.5", "variable.particle_random_1*0.5", "variable.particle_random_1*0.5", 1.0 ] + }, + "minecraft:particle_appearance_lighting": {} + } + } +} \ No newline at end of file diff --git a/particles_examples_1.19/unzipped/particles/example_particle_event_system.json b/particles_examples_1.19/unzipped/particles/example_particle_event_system.json new file mode 100644 index 0000000..4cc0329 --- /dev/null +++ b/particles_examples_1.19/unzipped/particles/example_particle_event_system.json @@ -0,0 +1,128 @@ +{ + "format_version": "1.10.0", + "particle_effect": { + "description": { + "identifier": "minecraft:example_particle_event_system", + "basic_render_parameters": { + "material": "particles_alpha", + "texture": "textures/particle/particles" + } + }, + "events": { + "emitter_create_event": { "log": "emitter_create_event" }, + "emitter_expiration_event": { "log": "emitter_expiration_event" }, + "emitter_timeline_event0": { "log": "emitter_timeline_event0" }, + "emitter_timeline_event1": { "log": "emitter_timeline_event1" }, + "emitter_timeline_event2": { "log": "emitter_timeline_event2" }, + "emitter_timeline_event3": { "log": "emitter_timeline_event3" }, + "emitter_timeline_event4": { "log": "emitter_timeline_event4" }, + + "particle_create_event": { "log": "particle_create_event" }, + "particle_expiration_event": { "log": "particle_expiration_event" }, + "particle_timeline_event0": { "log": "particle_timeline_event0" }, + "particle_timeline_event1": { "log": "particle_timeline_event1" }, + "particle_timeline_event2": { "log": "particle_timeline_event2" }, + "particle_timeline_event3": { "log": "particle_timeline_event3" }, + "particle_lifetime_event4": { "log": "particle_lifetime_event4" }, + + "collision_event": { "log": "collision_event" }, + + "sequence_test": { + "sequence": [ + { "log": "sequence_event1" }, + { "log": "sequence_event2" }, + { "log": "sequence_event3" }, + { "log": "sequence_event4" } + ] + }, + + "random_test": { + "randomize": [ + { "weight": 1, "log": "random_choice1" }, + { "weight": 2, "log": "random_choice2" }, + { "weight": 1, "log": "random_choice3" } + ] + }, + + "mix_test": { + "sequence": [ + { + "randomize": [ + { "weight": 1, "log": "mix_part_1_choice_1" }, + { "weight": 2, "log": "mix_part_1_choice_2" }, + { "weight": 1, "log": "mix_part_1_choice_3" } + ] + }, + { "log": "mix_part_2" } + ], + "random": [ + { + "weight": 1, + "sequence": [ + { "log": "mix_part_3_choice_1_event1" }, + { "log": "mix_part_3_choice_1_event2" }, + { "log": "mix_part_3_choice_1_event3" } + ] + }, + { "weight": 2, "log": "mix_part_3_choice_2" } + ] + } + }, + "components": { + "minecraft:emitter_lifetime_events": { + "creation_event": "emitter_create_event", + "expiration_event": "emitter_expiration_event", + "timeline": { + "0.0": "emitter_timeline_event0", + "1.0": [ "emitter_timeline_event2", "emitter_timeline_event3" ], + "0.5": "emitter_timeline_event1", + "2.0": "emitter_timeline_event4", + "1.3": "mix_test", + "1.5": ["random_test", "random_test", "random_test", "random_test", "sequence_test"] + } + }, + "minecraft:emitter_rate_instant": { + "num_particles": 1 + }, + "minecraft:emitter_lifetime_once": { + "active_time": 2.5 + }, + "minecraft:emitter_shape_point": { + }, + "minecraft:particle_lifetime_events": { + "creation_event": "particle_create_event", + "expiration_event": "particle_expiration_event", + "timeline": { + "0.0": "particle_timeline_event0", + "1.0": [ "particle_timeline_event2", "particle_timeline_event3" ], + "0.5": "particle_timeline_event1", + "3.0": "particle_lifetime_event4" + } + }, + "minecraft:particle_lifetime_expression": { + "max_lifetime": 3 + }, + "minecraft:particle_motion_dynamic": { + "linear_acceleration": [ 0, -9.8, 0 ] + }, + "minecraft:particle_motion_collision": { + "collision_radius": 0.5, + "coefficient_of_restitution": 0, + "events": { + "event": "collision_event", + "min_speed": 2 + } + }, + "minecraft:particle_appearance_billboard": { + "size": [ 1, 1 ], + "facing_camera_mode": "lookat_xyz", + "uv": { + "texture_width": 16, + "texture_height": 16, + "uv": [ 0, 5], + "uv_size": [ 1, 1 ] + } + } + } + } +} \ No newline at end of file diff --git a/particles_examples_1.19/unzipped/particles/example_smoke_puff.json b/particles_examples_1.19/unzipped/particles/example_smoke_puff.json new file mode 100644 index 0000000..a8ce670 --- /dev/null +++ b/particles_examples_1.19/unzipped/particles/example_smoke_puff.json @@ -0,0 +1,58 @@ +{ + "format_version": "1.10.0", + "particle_effect": { + "description": { + "identifier": "minecraft:example_smoke_puff", + "basic_render_parameters": { + "material": "particles_alpha", + "texture": "textures/particle/particles" + } + }, + "components": { + "minecraft:emitter_rate_instant": { + "num_particles": 100 + }, + "minecraft:emitter_lifetime_once": { + "active_time": 0 + }, + "minecraft:emitter_shape_sphere": { + "radius": 0.1, + "direction": "outwards" + }, + "minecraft:particle_initial_speed": "Math.random(0.0, 15.0)", + "minecraft:particle_initial_spin": { + "rotation": "Math.random(0, 360)", + "rotation_rate": "Math.random(-300, 300)" + }, + "minecraft:particle_lifetime_expression": { + "max_lifetime": "Math.random(1.0, 4.0)" + }, + "minecraft:particle_motion_dynamic": { + "linear_acceleration": [ 0, 2.0, 0 ], + "linear_drag_coefficient": 5, + "rotation_drag_coefficient": 0.3 + }, + "minecraft:particle_appearance_billboard": { + "size": [ "0.1 + variable.particle_age * 0.3f", "0.1 + variable.particle_age * 0.3f" ], + "facing_camera_mode": "lookat_xyz", + "uv": { + "texture_width": 128, + "texture_height": 128, + "flipbook": { + "base_UV": [ 56, 0 ], + "size_UV": [ 8, 8 ], + "step_UV": [ -8, 0 ], + "frames_per_second": 8, + "max_frame": 8, + "stretch_to_lifetime": true, + "loop": false + } + } + }, + "minecraft:particle_appearance_tinting": { + "color": [ "variable.particle_random_1*0.5", "variable.particle_random_1*0.5", "variable.particle_random_1*0.5", 1.0 ] + }, + "minecraft:particle_appearance_lighting": {} + } + } +} diff --git a/particles_examples_1.19/unzipped/particles/example_spiral.json b/particles_examples_1.19/unzipped/particles/example_spiral.json new file mode 100644 index 0000000..6237b4c --- /dev/null +++ b/particles_examples_1.19/unzipped/particles/example_spiral.json @@ -0,0 +1,53 @@ +{ + "format_version": "1.10.0", + "particle_effect": { + "description": { + "identifier": "minecraft:example_spiral", + "basic_render_parameters": { + "material": "particles_alpha", + "texture": "textures/particle/particles" + } + }, + "components": { + "minecraft:emitter_rate_steady": { + "spawn_rate": "Math.random(10, 30)", + "max_particles": 100 + }, + "minecraft:emitter_lifetime_once": { + "active_time": 10 + }, + "minecraft:emitter_shape_point": { + }, + "minecraft:particle_lifetime_expression": { + "max_lifetime": "Math.random(1.0, 4.0)" + }, + "minecraft:particle_motion_parametric": { + "relative_position": [ + "Math.cos((variable.particle_age * 360) + (variable.particle_random_1 * 360))", + "variable.particle_age*3", + "Math.sin((variable.particle_age * 360) + (variable.particle_random_1 * 360))" + ] + }, + "minecraft:particle_appearance_billboard": { + "size": [ 0.1, 0.1 ], + "facing_camera_mode": "lookat_xyz", + "uv": { + "texture_width": 128, + "texture_height": 128, + "flipbook": { + "base_UV": [ 0, 80 ], + "size_UV": [ 8, 8 ], + "step_UV": [ 8, 0 ], + "frames_per_second": 1, + "max_frame": 16, + "stretch_to_lifetime": true, + "loop": false + } + } + }, + "minecraft:particle_appearance_tinting": { + "color": [ "variable.particle_random_1", "0", "variable.particle_random_2", 1.0 ] + } + } + } +} diff --git a/particles_examples_1.19/unzipped/particles/example_vertexrandom.json b/particles_examples_1.19/unzipped/particles/example_vertexrandom.json new file mode 100644 index 0000000..19a8f66 --- /dev/null +++ b/particles_examples_1.19/unzipped/particles/example_vertexrandom.json @@ -0,0 +1,58 @@ +{ + "format_version": "1.10.0", + "particle_effect": { + "description": { + "identifier": "minecraft:example_vertexrandom", + "basic_render_parameters": { + "material": "particles_random_test", + "texture": "textures/particle/particles" + } + }, + "components": { + "minecraft:emitter_rate_instant": { + "num_particles": 100 + }, + "minecraft:emitter_lifetime_once": { + "active_time": 0 + }, + "minecraft:emitter_shape_sphere": { + "radius": 0.1, + "direction": "outwards" + }, + "minecraft:particle_initial_speed": "Math.random(0.0, 15.0)", + "minecraft:particle_initial_spin": { + "rotation": "Math.random(0, 360)", + "rotation_rate": "Math.random(-300, 300)" + }, + "minecraft:particle_lifetime_expression": { + "max_lifetime": "Math.random(1.0, 4.0)" + }, + "minecraft:particle_motion_dynamic": { + "linear_acceleration": [ 0, 2.0, 0 ], + "linear_drag_coefficient": 5, + "rotation_drag_coefficient": 0.3 + }, + "minecraft:particle_appearance_billboard": { + "size": [ "0.1 + variable.particle_age * 0.3f", "0.1 + variable.particle_age * 0.3f" ], + "facing_camera_mode": "lookat_xyz", + "uv": { + "texture_width": 128, + "texture_height": 128, + "flipbook": { + "base_UV": [ 56, 0 ], + "size_UV": [ 8, 8 ], + "step_UV": [ -8, 0 ], + "frames_per_second": 8, + "max_frame": 8, + "stretch_to_lifetime": true, + "loop": false + } + } + }, + "minecraft:particle_appearance_tinting": { + "color": [ "variable.particle_random_1*0.5", "variable.particle_random_1*0.5", "variable.particle_random_1*0.5", 1.0 ] + }, + "minecraft:particle_appearance_lighting": {} + } + } +} diff --git a/particles_examples_1.19/unzipped/particles/example_watertest.json b/particles_examples_1.19/unzipped/particles/example_watertest.json new file mode 100644 index 0000000..f2839cd --- /dev/null +++ b/particles_examples_1.19/unzipped/particles/example_watertest.json @@ -0,0 +1,52 @@ +{ + "format_version": "1.10.0", + "particle_effect": { + "description": { + "identifier": "minecraft:example_watertest", + "basic_render_parameters": { + "material": "particles_alpha", + "texture": "textures/particle/particles" + } + }, + "components": { + "minecraft:emitter_rate_instant": { + "num_particles": 100 + }, + "minecraft:emitter_lifetime_once": { + "active_time": 2 + }, + "minecraft:emitter_shape_sphere": { + "offset": [ "Math.random(-0.5, 0.5)", "Math.random(-0.5, 0.5)", "Math.random(-0.5, 0.5)" ], + "direction": "outwards", + "radius": 1 + }, + "minecraft:particle_initial_speed": 5.0, + "minecraft:particle_initial_spin": { + "rotation": "Math.random(0, 360)", + "rotation_rate": 0 + }, + "minecraft:particle_lifetime_expression": { + "max_lifetime": "15" + }, + "minecraft:particle_expire_if_not_in_blocks": [ + "minecraft:water", + "minecraft:flowing_water" + ], + "minecraft:particle_motion_dynamic": { + "linear_acceleration": [ 0, 9.8, 0 ], + "linear_drag": 5 + }, + "minecraft:particle_appearance_billboard": { + "size": [ "0.1", "0.1" ], + "facing_camera_mode": "lookat_xyz", + "uv": { + "texture_width": 128, + "texture_height": 128, + "uv": [ 0, 16 ], + "uv_size": [ 8, 8 ] + } + }, + "minecraft:particle_appearance_lighting": {} + } + } +} diff --git a/particles_examples_1.19/unzipped/particles/fireworks_events_demo.json b/particles_examples_1.19/unzipped/particles/fireworks_events_demo.json new file mode 100644 index 0000000..2be585c --- /dev/null +++ b/particles_examples_1.19/unzipped/particles/fireworks_events_demo.json @@ -0,0 +1,74 @@ +{ + "format_version": "1.10.0", + "particle_effect": { + "description": { + "identifier": "minecraft:fireworks_events_demo", + "basic_render_parameters": { + "material": "particles_alpha", + "texture": "textures/particle/particles" + } + }, + "events": { + "launch_rocket": { + "particle_effect": { + "effect": "minecraft:fireworks_rocket_part", + "type": "emitter" + } + } + }, + "components": { + "minecraft:emitter_lifetime_events": { + "creation_event": "launch_rocket" + }, + "minecraft:emitter_rate_instant": { + "num_particles": 25 + }, + "minecraft:emitter_lifetime_once": { + "active_time": 0 + }, + "minecraft:emitter_shape_sphere": { + "radius": 0.1, + "direction": "outwards" + }, + "minecraft:particle_initial_speed": "Math.random(0.0, 15.0)", + "minecraft:particle_initial_spin": { + "rotation": "Math.random(0, 360)", + "rotation_rate": "Math.random(-300, 300)" + }, + "minecraft:particle_lifetime_expression": { + "max_lifetime": "Math.random(0.5, 1.0)" + }, + "minecraft:particle_motion_dynamic": { + "linear_acceleration": [ 0, 2.0, 0 ], + "linear_drag_coefficient": 5, + "rotation_drag_coefficient": 0.3 + }, + "minecraft:particle_motion_collision": { + "collision_radius": 0.1, + "coefficient_of_restitution": 0 + }, + "minecraft:particle_appearance_billboard": { + "size": [ "0.1 + variable.particle_age * 0.3f", "0.1 + variable.particle_age * 0.3f" ], + "facing_camera_mode": "lookat_xyz", + "uv": { + "texture_width": 128, + "texture_height": 128, + "flipbook": { + "base_UV": [ 56, 0 ], + "size_UV": [ 8, 8 ], + "step_UV": [ -8, 0 ], + "frames_per_second": 8, + "max_frame": 8, + "stretch_to_lifetime": true, + "loop": false + } + } + }, + "minecraft:particle_appearance_tinting": { + "color": [ "variable.particle_random_1*0.5", "variable.particle_random_1*0.5", "variable.particle_random_1*0.5", 1.0 ] + }, + "minecraft:particle_appearance_lighting": {} + } + } + } + \ No newline at end of file diff --git a/particles_examples_1.19/unzipped/particles/fireworks_pop_part.json b/particles_examples_1.19/unzipped/particles/fireworks_pop_part.json new file mode 100644 index 0000000..2d1f284 --- /dev/null +++ b/particles_examples_1.19/unzipped/particles/fireworks_pop_part.json @@ -0,0 +1,77 @@ +{ + "format_version": "1.10.0", + "particle_effect": { + "description": { + "identifier": "minecraft:fireworks_pop_part", + "basic_render_parameters": { + "material": "particles_alpha", + "texture": "textures/particle/particles" + } + }, + "events": { + "twinkle": { + "particle_effect": { + "effect": "minecraft:fireworks_twinkles", + "type": "particle_with_velocity" + } + } + }, + "components": { + "minecraft:emitter_rate_instant": { + "num_particles": 300 + }, + "minecraft:emitter_lifetime_once": { + "active_time": 0 + }, + "minecraft:emitter_shape_sphere": { + "radius": 0.1, + "direction": "outwards" + }, + "minecraft:particle_initial_speed": 15, + "minecraft:particle_initial_spin": { + "rotation": "Math.random(0, 360)", + "rotation_rate": "Math.random(-300, 300)" + }, + "minecraft:particle_lifetime_expression": { + "max_lifetime": "Math.random(1.0, 1.3)" + }, + "minecraft:particle_lifetime_events": { + "expiration_event": [ "twinkle", "twinkle", "twinkle" ] + }, + "minecraft:particle_motion_dynamic": { + "linear_acceleration": [ 0, -3, 0 ], + "linear_drag_coefficient": 5, + "rotation_drag_coefficient": 0.3 + }, + "minecraft:particle_appearance_billboard": { + "size": [ "variable.size", "variable.size" ], + "facing_camera_mode": "lookat_xyz", + "uv": { + "texture_width": 16, + "texture_height": 16, + "flipbook": { + "base_UV": [ 7, 0 ], + "size_UV": [ 1, 1 ], + "step_UV": [ -1, 0 ], + "frames_per_second": 8, + "max_frame": 8, + "stretch_to_lifetime": true, + "loop": false + } + } + }, + "minecraft:particle_appearance_tinting": { + "color": { + "gradient": { + "0.0": [1, 0, 0], + "0.25": [1, 0, 0], + "0.5": [0, 1, 0], + "1.0": [0, 0, 1] + }, + "interpolant": "variable.particle_age" + } + } + } + } +} + \ No newline at end of file diff --git a/particles_examples_1.19/unzipped/particles/fireworks_rocket_part.json b/particles_examples_1.19/unzipped/particles/fireworks_rocket_part.json new file mode 100644 index 0000000..b2ec301 --- /dev/null +++ b/particles_examples_1.19/unzipped/particles/fireworks_rocket_part.json @@ -0,0 +1,82 @@ +{ + "format_version": "1.10.0", + "particle_effect": { + "description": { + "identifier": "minecraft:fireworks_rocket_part", + "basic_render_parameters": { + "material": "particles_alpha", + "texture": "textures/particle/particles" + } + }, + "events": { + "smoke_trail": { + "particle_effect": { + "effect": "minecraft:fireworks_trail", + "type": "particle_with_velocity" + } + }, + "pop": { + "particle_effect": { + "effect": "minecraft:fireworks_pop_part", + "type": "emitter", + "pre_effect_expression": "variable.size = 0.05;" + } + } + }, + "components": { + "minecraft:emitter_rate_instant": { + "num_particles": 1 + }, + "minecraft:emitter_lifetime_once": { + "active_time": 0 + }, + "minecraft:emitter_shape_point": { + "direction": [ "math.random(-1, 1)", 1, "math.random(-1, 1)"] + }, + "minecraft:particle_lifetime_expression": { + "max_lifetime": "Math.random(1.75, 1.8)" + }, + "minecraft:particle_lifetime_events": { + "expiration_event": "pop", + "timeline": { + "0.1": "smoke_trail", + "0.2": "smoke_trail", + "0.3": "smoke_trail", + "0.4": "smoke_trail", + "0.5": "smoke_trail", + "0.6": "smoke_trail", + "0.7": "smoke_trail", + "0.8": "smoke_trail", + "0.9": "smoke_trail", + "1.0": "smoke_trail", + "1.1": "smoke_trail", + "1.2": "smoke_trail", + "1.3": "smoke_trail", + "1.4": "smoke_trail", + "1.5": "smoke_trail", + "1.6": "smoke_trail", + "1.7": "smoke_trail" + } + }, + "minecraft:particle_motion_dynamic": { + "linear_acceleration": [ 0, 30.0, 0 ], + "linear_drag_coefficient": 5 + }, + "minecraft:particle_motion_collision": { + "collision_radius": 0.1, + "expire_on_contact": true + }, + "minecraft:particle_appearance_billboard": { + "size": [ 0.1, 0.1 ], + "facing_camera_mode": "lookat_xyz", + "uv": { + "texture_width": 16, + "texture_height": 16, + "uv": [0, 4], + "uv_size": [1, -1] + } + } + } + } + } + \ No newline at end of file diff --git a/particles_examples_1.19/unzipped/particles/fireworks_trail.json b/particles_examples_1.19/unzipped/particles/fireworks_trail.json new file mode 100644 index 0000000..987e464 --- /dev/null +++ b/particles_examples_1.19/unzipped/particles/fireworks_trail.json @@ -0,0 +1,53 @@ +{ + "format_version": "1.10.0", + "particle_effect": { + "description": { + "identifier": "minecraft:fireworks_trail", + "basic_render_parameters": { + "material": "particles_alpha", + "texture": "textures/particle/particles" + } + }, + "components": { + "minecraft:emitter_rate_manual": { + "max_particles": 50 + }, + "minecraft:emitter_lifetime_expression": { + "activation_expression": 1, + "expiration_expression": 0 + }, + "minecraft:emitter_shape_custom": { + "offset": [ 0, 0, 0 ], + "direction": [ "Math.random(-0.1, 0.1)", 1.0, "Math.random(-0.1, 0.1)" ] + }, + "minecraft:particle_initial_speed": 1.0, + "minecraft:particle_lifetime_expression": { + "max_lifetime": "Math.random(0.4, 1.4)" + }, + "minecraft:particle_motion_dynamic": { + "linear_drag_coefficient": 5 + }, + "minecraft:particle_appearance_billboard": { + "size": [ 0.1, 0.1 ], + "facing_camera_mode": "lookat_xyz", + "uv": { + "texture_width": 16, + "texture_height": 16, + "flipbook": { + "base_UV": [ 7, 0 ], + "size_UV": [ 1, 1 ], + "step_UV": [ -1, 0 ], + "frames_per_second": 8, + "max_frame": 8, + "stretch_to_lifetime": true, + "loop": false + } + } + }, + "minecraft:particle_appearance_tinting": { + "color": [ "variable.particle_random_1*0.5", "variable.particle_random_1*0.5", "variable.particle_random_1*0.5", 1.0 ] + }, + "minecraft:particle_appearance_lighting": {} + } + } +} diff --git a/particles_examples_1.19/unzipped/particles/fireworks_twinkles.json b/particles_examples_1.19/unzipped/particles/fireworks_twinkles.json new file mode 100644 index 0000000..c26acc8 --- /dev/null +++ b/particles_examples_1.19/unzipped/particles/fireworks_twinkles.json @@ -0,0 +1,58 @@ +{ + "format_version": "1.10.0", + "particle_effect": { + "description": { + "identifier": "minecraft:fireworks_twinkles", + "basic_render_parameters": { + "material": "particles_alpha", + "texture": "textures/particle/particles" + } + }, + "components": { + "minecraft:emitter_rate_manual": { + "max_particles": 1000 + }, + "minecraft:emitter_lifetime_expression": { + "activation_expression": 1, + "expiration_expression": 0 + }, + "minecraft:emitter_shape_sphere": { + "radius": 0.1, + "direction": "outwards" + }, + "minecraft:particle_initial_speed": 1.0, + "minecraft:particle_lifetime_expression": { + "max_lifetime": "Math.random(0.4, 1.4)" + }, + "minecraft:particle_motion_dynamic": { + "linear_acceleration": [ 0, -3, 0 ], + "linear_drag_coefficient": 5, + "rotation_drag_coefficient": 0.3 + }, + "minecraft:particle_appearance_billboard": { + "size": [ 0.035, 0.035 ], + "facing_camera_mode": "lookat_xyz", + "uv": { + "texture_width": 16, + "texture_height": 16, + "flipbook": { + "base_UV": [ 7, 12 ], + "size_UV": [ 1, 1 ], + "step_UV": [ -1, 0 ], + "frames_per_second": 8, + "max_frame": 8, + "stretch_to_lifetime": true, + "loop": false + } + } + }, + "minecraft:particle_initialization": { + "per_render_expression": "variable.tint = variable.particle_random_1 * 0.5 + 0.5;" + }, + "minecraft:particle_appearance_tinting": { + "color": [ "variable.tint", "variable.tint*0.85", 0.0 ] + } + } + } + } + \ No newline at end of file