-
Notifications
You must be signed in to change notification settings - Fork 188
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adds updated particle example mcpack
goes with particle update
- Loading branch information
Showing
28 changed files
with
1,636 additions
and
0 deletions.
There are no files selected for viewing
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 ] | ||
} | ||
] | ||
} | ||
|
63 changes: 63 additions & 0 deletions
63
particles_examples_1.19/unzipped/particles/example_beziercurve.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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": {} | ||
} | ||
} | ||
} |
57 changes: 57 additions & 0 deletions
57
particles_examples_1.19/unzipped/particles/example_blendmode_add.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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": {} | ||
} | ||
} | ||
} |
57 changes: 57 additions & 0 deletions
57
particles_examples_1.19/unzipped/particles/example_blendmode_alpha.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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": {} | ||
} | ||
} | ||
} |
57 changes: 57 additions & 0 deletions
57
particles_examples_1.19/unzipped/particles/example_blendmode_blend.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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": {} | ||
} | ||
} | ||
} |
52 changes: 52 additions & 0 deletions
52
particles_examples_1.19/unzipped/particles/example_bounce.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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": {} | ||
} | ||
} | ||
} |
57 changes: 57 additions & 0 deletions
57
particles_examples_1.19/unzipped/particles/example_catmullromcurve.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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": {} | ||
} | ||
} |
Oops, something went wrong.