Want a better Minecraft server? Read about SpigotMC here!
Separate names with a comma.
Discussion in 'Spigot Plugin Development' started by LazyDev, Oct 15, 2016.
How can i do this using ParticleAPI ?
You're looking at a liiiitle bit of trigonometry there. I wouldn't know how to make that shape in specific, but I guarantee you that sin and cos are involved. Looks perhaps like sin on all three axis. I could be wrong on that though. Also, don't worry about an external library such as ParticleAPI when you have World#spawnParticle() and Player#spawnParticle().
First you need a mathematical description for that shape. This is the hard part, we cant/wont help you. Realising this with Bukkit is minor work compared to this
Looks like a somewhat simple 3D parametric. Try look at it from the X, Y, and Z plane and see how the particle moves on each plane so you can come up with an equation for the the XYZ coordinate.