[Bug]: unable to set initial velocity for custom particles
Quantumrage10 opened this issue ยท 8 comments
Mod Loader (Required)
Fabric
Minecraft Version (Required)
1.20.1
Mod Version (Required)
5.2.x
Notes (Required)
nonmatter what i do i an unable to set the initial velocity for custom particles, even after copying your "upwards spiral" json file everything else works, but the particles just spiral around without moving upwards at all
latest.log (Optional)
No response
it would also appear that the horizontal_size and vertical_size have no effect on the size of the particles?
and setting the "amount" to anything less then 1 completely disables the particles
{
"type": "default",
"particle_parameters": {
"collides_with_world": false,
"remove_on_ground": false,
"max_age": 1000,
"horizontal_size": 100,
"vertical_size": 100,
"amount": 0.9
},
"sprite": {
"frames": [
"biomeparticleweather:nebula"
],
"random": true
},
"spawn_parameters": {
"spawn_conditions": {
"is_raining": true
},
"spawn_range": {
"min": {
"x": 100,
"y": -100,
"z": -100
},
"max": {
"x": 100,
"y": 100,
"z": 100
}
}
},
"accelerations": {
"additive": {
"cardinal_velocity": {
"x": -0.001
}
},
"damping_forces": {
"x": 1000000000
}
}
}
on this topic, is their a better way to create "fog?" i want to have a fog to slowly approach the player from far away when it starts to rain
ooo im excited to see what you do with this i can address the size thing here and thats the size of a particle's bounding box (in block size, this is only matters with collision enabled) while the 0 disabling the particle IS intentional ill probably change that also it doesnt support decimal values, im currently working on fixing these things. finally sorry this is my first time doing something like this.
also not entirely sure what you meant by the fog closing in also also sorry for the kinda late response github is slow at notifying me of issues being created
i appear to have forgotten to remove the initial velocity parameter as it got replaced by the "constant" parameter thats fixed and so is the example you mentioned
i cant seem to recreate the initial random problem so im guessing you did something incorrectly in the json
ok so i need to use constant now to get the particles to move at a set speed awesome i will check out those updated examples and have a play around
as for the size, am i to presume their is no way to set the size of the particles? is it impossible to make them larger?
i will have another play around with your mod and see if any other bugs are still present, i will upload the .jsons as well for that initial random issue i was facing, if i can replicate it again
i probably wont be needing your mod for custom fog anymore since i have commissioned a custom shader effect to do what. but i may have a number of uses for your particles elsewhere to spice up my space modpack, it's quite powerful being able to control where when how and why they spawn, I'm very impressed