Started by
Bobking2010
on
Topic category: Help with modding (Java Edition)
I want to create a keybind that shoots 3 or more projectiles from the player. Is there a way to change the density between the projectiles to be more spread out, without changing its Y- position
You can do it. To be honest, I do not know how to make it much easier, but I used this method:
If you have already created a projectile and a key combination, then open the key combination element and use this procedure on the trigger "When the key is pressed":
![procedure](https://imgur.com/GZAZt9j.jpg)
Change the values of damage, inaccuracy, etc. to what you need. If you want you to shoot scattered, then leave the inaccuracy at 5, and if the opposite is the case, then at 0.
Here is the procedure itself: https://www.mediafire.com/file/ajcc6fn2qzl4j67/procedure.ptpl/file
If you want to shoot all at the same time, you can omit wait procedure blocks.
When possible, try to avoid wait blocks
thank you very much
I will try it right now
is it also possible to shoot the projectiles in all directions (like a circle), with the player standing in the center ?
Yes. Just make procedure that shoots arrow 4 times in different directions
How do I do that with the directions. Vectors and directions still are a mysterie to me