public class Particles
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
Particles.ParticlesType |
Constructor and Description |
---|
Particles() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
getEffect(Particles.ParticlesType particlesType)
Execute spell on hit
|
static java.util.HashMap<org.bukkit.entity.Player,Particles.ParticlesType> |
getPlayerParticles()
Get the preferences list
|
static Particles.ParticlesType |
getPlayerParticles(org.bukkit.entity.Player p)
Get a player particles effects preferences.
|
static java.util.HashMap<org.bukkit.entity.Player,org.bukkit.scheduler.BukkitTask> |
getSpiralRunnables()
Get active spiral effects
|
static boolean |
hasParticles(org.bukkit.entity.Player p)
Check if a player have particle preferences
|
static void |
setPlayerParticles(org.bukkit.entity.Player p,
Particles.ParticlesType particlesType)
Save particles effect preferences for a player
If the player is already in the preferences list it will be replaced.
|
static void |
spiralEffect(org.bukkit.entity.Player player)
Start spiral effect for a player
|
public static java.util.HashMap<org.bukkit.entity.Player,Particles.ParticlesType> getPlayerParticles()
public static boolean hasParticles(org.bukkit.entity.Player p)
public static Particles.ParticlesType getPlayerParticles(org.bukkit.entity.Player p)
Particles.ParticlesType
public static void setPlayerParticles(org.bukkit.entity.Player p, Particles.ParticlesType particlesType)
public static java.lang.String getEffect(Particles.ParticlesType particlesType)
public static void spiralEffect(org.bukkit.entity.Player player)
public static java.util.HashMap<org.bukkit.entity.Player,org.bukkit.scheduler.BukkitTask> getSpiralRunnables()