Created
June 13, 2022 23:27
-
-
Save Kas-tle/a0b2d8701120d639798ae81e69e95d93 to your computer and use it in GitHub Desktop.
Geyser Particle Examples
This file contains hidden or 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
{ | |
"format_version": "1.10.0", | |
"particle_effect": { | |
"description": { | |
"identifier": "geyseropt:test_particle", | |
"basic_render_parameters": { | |
"material": "particles_alpha", | |
"texture": "textures/blocks/wool_colored_white" | |
} | |
}, | |
"components": { | |
"minecraft:emitter_initialization": { | |
"creation_expression": "variable.direction_x = 5;variable.direction_y = 5;variable.direction_z = 5;" | |
}, | |
"minecraft:emitter_rate_instant": { | |
"num_particles": 1 | |
}, | |
"minecraft:emitter_lifetime_looping": { | |
"active_time": 1 | |
}, | |
"minecraft:emitter_shape_box": { | |
"direction": ["variable.direction_x", "variable.direction_y", "variable.direction_z"] | |
}, | |
"minecraft:particle_lifetime_expression": { | |
"max_lifetime": "20/20" | |
}, | |
"minecraft:particle_initial_speed": 50, | |
"minecraft:particle_motion_dynamic": { | |
"linear_acceleration": ["variable.direction_x", "variable.particle_age < variable.particle_lifetime-5/20 ? v.direction_y : -1000", "variable.direction_z"] | |
}, | |
"minecraft:particle_appearance_billboard": { | |
"size": [0.2, 0.2], | |
"facing_camera_mode": "rotate_xyz", | |
"uv": { | |
"texture_width": 16, | |
"texture_height": 16, | |
"uv": [0, 0], | |
"uv_size": [1, 1] | |
} | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment