public class ParticleSpawner
extends java.lang.Object
SkillParticle
Constructor and Description |
---|
ParticleSpawner() |
Modifier and Type | Method and Description |
---|---|
static void |
spawnParticleCircle(org.bukkit.Location origin,
SkillParticle particle,
double radius,
int amount)
Creates a circle of particles at a specific location.
|
static void |
spawnParticleCircle(org.bukkit.entity.Player player,
org.bukkit.Location origin,
SkillParticle particle,
double radius,
int amount)
Creates a circle of particles for a player at a specific location.
|
static void |
spawnParticleHelix(org.bukkit.Location origin,
SkillParticle particle,
double radius,
double height)
Creates a helix of particles at a specific location.
|
static void |
spawnParticleLine(org.bukkit.Location origin,
org.bukkit.Location target,
SkillParticle particle,
int amount)
Creates a line of particles between two locations.
|
static void |
spawnParticleLine(org.bukkit.Location origin,
org.bukkit.Location target,
SkillParticle particle,
int amount,
double spacing)
Creates a line of particles between two locations.
|
static void |
spawnParticleSphere(org.bukkit.Location origin,
SkillParticle particle,
double radius)
Creates an animated sphere of particles at a specific location.
|
static void |
spawnParticleWave(org.bukkit.Location origin,
SkillParticle particle,
double length)
Creates an animated wave of particles at a specific location.
|
public static void spawnParticleLine(org.bukkit.Location origin, org.bukkit.Location target, SkillParticle particle, int amount)
origin
- Where the particles should originate.target
- Where the particles should lead to.particle
- The type of particle to spawn.amount
- The amount of particles to spawn.public static void spawnParticleLine(org.bukkit.Location origin, org.bukkit.Location target, SkillParticle particle, int amount, double spacing)
origin
- Where the particles should originate.target
- Where the particles should lead to.particle
- The type of particle to spawn.amount
- The amount of particles to spawn.spacing
- The spacing between particles.public static void spawnParticleCircle(org.bukkit.Location origin, SkillParticle particle, double radius, int amount)
origin
- Where the particles should originate.particle
- The type of particle to spawn.radius
- The radius of the circle.amount
- The amount of particles to spawn.public static void spawnParticleCircle(org.bukkit.entity.Player player, org.bukkit.Location origin, SkillParticle particle, double radius, int amount)
player
- The player who should see the particles.origin
- Where the particles should originate.particle
- The type of particle to spawn.radius
- The radius of the circle.amount
- The amount of particles to spawn.public static void spawnParticleHelix(org.bukkit.Location origin, SkillParticle particle, double radius, double height)
origin
- Where the particles should originate.particle
- The type of particle to spawn.radius
- The radius of the helix.height
- The amount of particles to spawn.public static void spawnParticleWave(org.bukkit.Location origin, SkillParticle particle, double length)
origin
- Where the particles should originate.particle
- The type of particle to spawn.length
- The length of the wave.public static void spawnParticleSphere(org.bukkit.Location origin, SkillParticle particle, double radius)
origin
- Where the particles should originate.particle
- The type of particle to spawn.radius
- The radius of the sphere.