|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<ParticleEffects>
minny.zephyrus.utils.ParticleEffects
public enum ParticleEffects
Zephyrus
| Method Summary | |
|---|---|
static ParticleEffects |
fromId(int id)
Gets the Particle Effect from its id |
static ParticleEffects |
fromName(java.lang.String name)
Gets the Particle Effect from its name |
int |
getId()
Gets the id of the Particle Effect |
java.lang.String |
getName()
Gets the name of the Particle Effect |
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)
Send a particle effect to all players |
static void |
sendToPlayer(ParticleEffects effect,
org.bukkit.entity.Player player,
org.bukkit.Location location,
float offsetX,
float offsetY,
float offsetZ,
float speed,
int count)
Send a particle effect to a player |
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 |
| Enum Constant Detail |
|---|
public static final ParticleEffects HUGE_EXPLOSION
public static final ParticleEffects LARGE_EXPLODE
public static final ParticleEffects FIREWORKS_SPARK
public static final ParticleEffects BUBBLE
public static final ParticleEffects SUSPEND
public static final ParticleEffects DEPTH_SUSPEND
public static final ParticleEffects TOWN_AURA
public static final ParticleEffects CRIT
public static final ParticleEffects MAGIC_CRIT
public static final ParticleEffects MOB_SPELL
public static final ParticleEffects MOB_SPELL_AMBIENT
public static final ParticleEffects SPELL
public static final ParticleEffects INSTANT_SPELL
public static final ParticleEffects WITCH_MAGIC
public static final ParticleEffects NOTE
public static final ParticleEffects PORTAL
public static final ParticleEffects ENCHANTMENT_TABLE
public static final ParticleEffects EXPLODE
public static final ParticleEffects FLAME
public static final ParticleEffects LAVA
public static final ParticleEffects FOOTSTEP
public static final ParticleEffects SPLASH
public static final ParticleEffects LARGE_SMOKE
public static final ParticleEffects CLOUD
public static final ParticleEffects REDSTONE_DUST
public static final ParticleEffects SNOWBALL_POOF
public static final ParticleEffects DRIP_WATER
public static final ParticleEffects DRIP_LAVA
public static final ParticleEffects SNOW_SHOVEL
public static final ParticleEffects SLIME
public static final ParticleEffects HEART
public static final ParticleEffects ANGRY_VILLAGER
public static final ParticleEffects HAPPY_VILLAGER
public static final ParticleEffects ICONCRACK
public static final ParticleEffects TILECRACK
| Method Detail |
|---|
public static ParticleEffects[] values()
for (ParticleEffects c : ParticleEffects.values()) System.out.println(c);
public static ParticleEffects valueOf(java.lang.String name)
name - the name of the enum constant to be returned.
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified name
java.lang.NullPointerException - if the argument is nullpublic java.lang.String getName()
public int getId()
public static ParticleEffects fromName(java.lang.String name)
name - The name of the particle effect
public static ParticleEffects fromId(int id)
id - The id of the particle effect
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)
effect - The particle effect to sendplayer - The player to send the effect tolocation - The location to send the effect tooffsetX - The x range of the particle effectoffsetY - The y range of the particle effectoffsetZ - The z range of the particle effectspeed - The speed (or color depending on the effect) of the particle
effectcount - The count of effects
public static void sendToLocation(ParticleEffects effect,
org.bukkit.Location location,
float offsetX,
float offsetY,
float offsetZ,
float speed,
int count)
effect - The particle effect to sendlocation - The location to send the effect tooffsetX - The x range of the particle effectoffsetY - The y range of the particle effectoffsetZ - The z range of the particle effectspeed - The speed (or color depending on the effect) of the particle
effectcount - The count of effects
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
java.lang.Exception
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
java.lang.Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||