mirror of
https://github.com/GeyserMC/GeyserOptionalPack.git
synced 2025-12-19 14:59:14 +00:00
Add enchanted hit particles
This commit is contained in:
49
particles/enchanted_hit_multiple.particle.json
Normal file
49
particles/enchanted_hit_multiple.particle.json
Normal file
@@ -0,0 +1,49 @@
|
|||||||
|
{
|
||||||
|
"format_version": "1.10.0",
|
||||||
|
"particle_effect": {
|
||||||
|
"description": {
|
||||||
|
"identifier": "geyseropt:enchanted_hit_multiple",
|
||||||
|
"basic_render_parameters": {
|
||||||
|
"material": "particles_alpha",
|
||||||
|
"texture": "textures/particle/particles"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"components": {
|
||||||
|
"minecraft:emitter_local_space": {
|
||||||
|
"position": true,
|
||||||
|
"rotation": true,
|
||||||
|
"velocity": true
|
||||||
|
},
|
||||||
|
"minecraft:emitter_rate_steady": {
|
||||||
|
"spawn_rate": 64,
|
||||||
|
"max_particles": 100
|
||||||
|
},
|
||||||
|
"minecraft:emitter_lifetime_once": {
|
||||||
|
"active_time": 0.2
|
||||||
|
},
|
||||||
|
"minecraft:emitter_shape_entity_aabb": {
|
||||||
|
"direction": "outwards"
|
||||||
|
},
|
||||||
|
"minecraft:particle_lifetime_expression": {
|
||||||
|
"max_lifetime": 0.2
|
||||||
|
},
|
||||||
|
"minecraft:particle_initial_speed": 2,
|
||||||
|
"minecraft:particle_motion_dynamic": {
|
||||||
|
"linear_drag_coefficient": 3
|
||||||
|
},
|
||||||
|
"minecraft:particle_appearance_billboard": {
|
||||||
|
"size": [0.1, 0.1],
|
||||||
|
"facing_camera_mode": "rotate_xyz",
|
||||||
|
"uv": {
|
||||||
|
"texture_width": 128,
|
||||||
|
"texture_height": 128,
|
||||||
|
"uv": [16, 32],
|
||||||
|
"uv_size": [8, 8]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:particle_appearance_tinting": {
|
||||||
|
"color": [0.26667, 0.60392, 0.58039, 1]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
42
particles/enchanted_hit_single.particle.json
Normal file
42
particles/enchanted_hit_single.particle.json
Normal file
@@ -0,0 +1,42 @@
|
|||||||
|
{
|
||||||
|
"format_version": "1.10.0",
|
||||||
|
"particle_effect": {
|
||||||
|
"description": {
|
||||||
|
"identifier": "geyseropt:enchanted_hit_single",
|
||||||
|
"basic_render_parameters": {
|
||||||
|
"material": "particles_alpha",
|
||||||
|
"texture": "textures/particle/particles"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"components": {
|
||||||
|
"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.2,
|
||||||
|
"minecraft:particle_motion_dynamic": {
|
||||||
|
"linear_acceleration": [0, -5, 0]
|
||||||
|
},
|
||||||
|
"minecraft:particle_appearance_billboard": {
|
||||||
|
"size": [0.1, 0.1],
|
||||||
|
"facing_camera_mode": "rotate_xyz",
|
||||||
|
"uv": {
|
||||||
|
"texture_width": 128,
|
||||||
|
"texture_height": 128,
|
||||||
|
"uv": [16, 32],
|
||||||
|
"uv_size": [8, 8]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"minecraft:particle_appearance_lighting": {},
|
||||||
|
"minecraft:particle_appearance_tinting": {
|
||||||
|
"color": [0.26667, 0.60392, 0.58039, 1]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user