1
0
mirror of https://github.com/GeyserMC/GeyserOptionalPack.git synced 2025-12-19 14:59:14 +00:00
Files
GeyserOptionalPack/src/main/resources/optionalpack/particles/underwater.particle.json
LetsGoAway ddf7cbcf01 Java compiler for GeyserOptionalPack (#65)
* inital commit

* i think pr is ready now

* wait now its ready

* Update copyright year

* add license to each file

* Update pack version

* copy license / mojang disclaimer to pack

* Update mojang.md

* test actions

* Update build.yml

* Update build.yml

* Update build.yml

* Update build.yml

* Update build.yml

* Update build.yml

* Update build.yml

* Update .gitignore

* clean up some code

* change "extracting" to copying

* Update build.yml

* Add new compilation instructions

* update developer documentation for new compiler

* make some code more readable

* some more code cleanup

* Code cleanup and tweaks

* Move to gradle action for running

* Cleanup run folder

* Update build action to use run folder

* Lets not bother with the run folder

* Download the specified version from mojang

* Remove old run folder

---------

Co-authored-by: rtm516 <ryantmilner@hotmail.co.uk>
2025-08-28 00:03:07 +01:00

48 lines
1.2 KiB
JSON

{
"format_version": "1.10.0",
"particle_effect": {
"description": {
"identifier": "geyseropt:underwater",
"basic_render_parameters": {
"material": "particles_alpha",
"texture": "textures/particle/particles"
}
},
"components": {
"minecraft:emitter_initialization": {
"creation_expression": "v.size = math.random(0.01, 0.02);"
},
"minecraft:emitter_rate_instant": {
"num_particles": 1
},
"minecraft:emitter_lifetime_once": {
"active_time": 2.5
},
"minecraft:emitter_shape_sphere": {
"radius": 0.5,
"direction": "outwards"
},
"minecraft:particle_lifetime_expression": {
"max_lifetime": 2.5
},
"minecraft:particle_initial_speed": 0.3,
"minecraft:particle_motion_dynamic": {
"linear_drag_coefficient": 2
},
"minecraft:particle_appearance_billboard": {
"size": ["v.size", "v.size"],
"facing_camera_mode": "rotate_xyz",
"uv": {
"texture_width": 128,
"texture_height": 128,
"uv": [4, 4],
"uv_size": [1, 1]
}
},
"minecraft:particle_appearance_lighting": {},
"minecraft:particle_appearance_tinting": {
"color": [0.27843, 0.47843, 0.86667, 1]
}
}
}
}