minny.zephyrus.utils
Enum ParticleEffects
java.lang.Object
java.lang.Enum<ParticleEffects>
minny.zephyrus.utils.ParticleEffects
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<ParticleEffects>
public enum ParticleEffects
- extends java.lang.Enum<ParticleEffects>
Zephyrus
- Author:
- minnymin3
|
Method Summary |
static java.lang.Object |
createCrackPacket(boolean icon,
int id,
byte data,
org.bukkit.Location location,
float offsetX,
float offsetY,
float offsetZ,
int count)
|
static java.lang.Object |
createPacket(ParticleEffects effect,
org.bukkit.Location location,
float offsetX,
float offsetY,
float offsetZ,
float speed,
int count)
|
static ParticleEffects |
fromId(int id)
|
static ParticleEffects |
fromName(java.lang.String name)
|
int |
getId()
|
java.lang.String |
getName()
|
static void |
sendCrackToLocation(boolean icon,
int id,
byte data,
org.bukkit.Location location,
float offsetX,
float offsetY,
float offsetZ,
int count)
|
static void |
sendCrackToPlayer(boolean icon,
int id,
byte data,
org.bukkit.entity.Player player,
org.bukkit.Location location,
float offsetX,
float offsetY,
float offsetZ,
int count)
|
static void |
sendToLocation(ParticleEffects effect,
org.bukkit.Location location,
float offsetX,
float offsetY,
float offsetZ,
float speed,
int count)
|
static void |
sendToPlayer(ParticleEffects effect,
org.bukkit.entity.Player player,
org.bukkit.Location location,
float offsetX,
float offsetY,
float offsetZ,
float speed,
int count)
|
static ParticleEffects |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static ParticleEffects[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
| Methods inherited from class java.lang.Enum |
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
HUGE_EXPLOSION
public static final ParticleEffects HUGE_EXPLOSION
LARGE_EXPLODE
public static final ParticleEffects LARGE_EXPLODE
FIREWORKS_SPARK
public static final ParticleEffects FIREWORKS_SPARK
BUBBLE
public static final ParticleEffects BUBBLE
SUSPEND
public static final ParticleEffects SUSPEND
DEPTH_SUSPEND
public static final ParticleEffects DEPTH_SUSPEND
TOWN_AURA
public static final ParticleEffects TOWN_AURA
CRIT
public static final ParticleEffects CRIT
MAGIC_CRIT
public static final ParticleEffects MAGIC_CRIT
MOB_SPELL
public static final ParticleEffects MOB_SPELL
MOB_SPELL_AMBIENT
public static final ParticleEffects MOB_SPELL_AMBIENT
SPELL
public static final ParticleEffects SPELL
INSTANT_SPELL
public static final ParticleEffects INSTANT_SPELL
WITCH_MAGIC
public static final ParticleEffects WITCH_MAGIC
NOTE
public static final ParticleEffects NOTE
PORTAL
public static final ParticleEffects PORTAL
ENCHANTMENT_TABLE
public static final ParticleEffects ENCHANTMENT_TABLE
EXPLODE
public static final ParticleEffects EXPLODE
FLAME
public static final ParticleEffects FLAME
LAVA
public static final ParticleEffects LAVA
FOOTSTEP
public static final ParticleEffects FOOTSTEP
SPLASH
public static final ParticleEffects SPLASH
LARGE_SMOKE
public static final ParticleEffects LARGE_SMOKE
CLOUD
public static final ParticleEffects CLOUD
RED_DUST
public static final ParticleEffects RED_DUST
SNOWBALL_POOF
public static final ParticleEffects SNOWBALL_POOF
DRIP_WATER
public static final ParticleEffects DRIP_WATER
DRIP_LAVA
public static final ParticleEffects DRIP_LAVA
SNOW_SHOVEL
public static final ParticleEffects SNOW_SHOVEL
SLIME
public static final ParticleEffects SLIME
HEART
public static final ParticleEffects HEART
ANGRY_VILLAGER
public static final ParticleEffects ANGRY_VILLAGER
HAPPY_VILLAGER
public static final ParticleEffects HAPPY_VILLAGER
ICONCRACK
public static final ParticleEffects ICONCRACK
TILECRACK
public static final ParticleEffects TILECRACK
values
public static ParticleEffects[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (ParticleEffects c : ParticleEffects.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static ParticleEffects valueOf(java.lang.String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name - the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified name
java.lang.NullPointerException - if the argument is null
getName
public java.lang.String getName()
getId
public int getId()
fromName
public static ParticleEffects fromName(java.lang.String name)
fromId
public static ParticleEffects fromId(int id)
sendToPlayer
public static void sendToPlayer(ParticleEffects effect,
org.bukkit.entity.Player player,
org.bukkit.Location location,
float offsetX,
float offsetY,
float offsetZ,
float speed,
int count)
throws java.lang.Exception
- Throws:
java.lang.Exception
sendToLocation
public static void sendToLocation(ParticleEffects effect,
org.bukkit.Location location,
float offsetX,
float offsetY,
float offsetZ,
float speed,
int count)
throws java.lang.Exception
- Throws:
java.lang.Exception
sendCrackToPlayer
public static void sendCrackToPlayer(boolean icon,
int id,
byte data,
org.bukkit.entity.Player player,
org.bukkit.Location location,
float offsetX,
float offsetY,
float offsetZ,
int count)
throws java.lang.Exception
- Throws:
java.lang.Exception
sendCrackToLocation
public static void sendCrackToLocation(boolean icon,
int id,
byte data,
org.bukkit.Location location,
float offsetX,
float offsetY,
float offsetZ,
int count)
throws java.lang.Exception
- Throws:
java.lang.Exception
createPacket
public static java.lang.Object createPacket(ParticleEffects effect,
org.bukkit.Location location,
float offsetX,
float offsetY,
float offsetZ,
float speed,
int count)
throws java.lang.Exception
- Throws:
java.lang.Exception
createCrackPacket
public static java.lang.Object createCrackPacket(boolean icon,
int id,
byte data,
org.bukkit.Location location,
float offsetX,
float offsetY,
float offsetZ,
int count)
throws java.lang.Exception
- Throws:
java.lang.Exception