Started by
Skullfoxx
on
Topic category: Help with Minecraft modding (Java Edition)
I am making a custom tree for a mod and I want a leaf particle to fall from the bottom of the leaves, yet none of the settings do what I want. Please help me.
So, if you are using custom leaves then you can make a particle, then go into the block settings for the leaf and there should be a setting called "Admit particles" under advanced settings. It may be called something else, but from there you link your leaf particles up, and then set the direction, spread, ext. Idk if this will work 100% but I got particles coming from my custom leaves when I was messing around with it. However I scrapped it before finishing the falling animation for the particles. So 50/50 chance it will work.
I hope this helps and isnt too confusing.
If you only want the leaves to fall from the bottom of the block, set the "Does particle collide" property to off with speed factor 0 and relatively high gravity (you can play with this) - and then set the particles to emit from the block dx=0.5, dy=0.5, dz=0.5.
This is outdated now, for anyone looking for a newer solution, you'll need to turn on "tick randomly" and make a procedure to spawn particles on tick update.