Topic category: Help with Minecraft modding (Java Edition)
So I'm attempting to use particles for an added affect with combat.
Beams, areas attacks, and circle attacks are pretty straightforward and I know how to do them
The real issue is creating sweeping, or other unique-shaped attacks (like a cross, star, etc.) does anyone have knowledge on how to make something like this work?
Example of an attack trying to be recreated: (minus animations, just making the attack work in a sweeping action and directional)
I'm confused on how to make the particles place themselves relative to the player's looking positions, and move where you're looking (like above)
I've tried playing around with look vector, raycasting, etc and still struggle,
and when creating lines sometimes they end up the wrong way or behind the player when facing certain directions, help!
.
Nvm, learned how to do it on my own with a few hours of research :P
If anyone is wondering the same issue, do some research about the particle command and functions
Then just create a function in MCreator with your particle function in it, and call it in a procedure :)
Oh, and for making particles spawn correctly, you can use the ^ symbol instead of the ~ symbol to make it spawn relative to the player and not to the world.
Genuinely didn't know this LOL
ahh can you share it i was trying to do this for alot of time
Could you refer me to a website for the particle functions?
hi ! im trying to make a demon slayer mod and i'd love to know where you found the info for if you still have it, or if you have the info for it from memory that'll be reallyyy helpful aswell !!