public enum ParticleEffect extends java.lang.Enum<ParticleEffect>
| Modifier and Type | Method and Description |
|---|---|
void |
display(org.bukkit.Location l,
float offsetX,
float offsetY,
float offsetZ,
float speed,
int amount)
Displays a Particle assigned with the COLORED/NORMAL Type
|
void |
displayColoredParticle(org.bukkit.Location l,
java.awt.Color color)
Displays a Particle with a certain Color
Note: This only works with Particles assigned with the
COLORED type
|
void |
displayCrack(org.bukkit.Location l,
org.bukkit.material.MaterialData data,
float offsetX,
float offsetY,
float offsetZ,
float speed,
int amount)
Displays a Particle assigned with the CRACK type
|
static ParticleEffect |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ParticleEffect[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ParticleEffect BARRIER
public static final ParticleEffect BLOCK_CRACK
public static final ParticleEffect BLOCK_DUST
public static final ParticleEffect CLOUD
public static final ParticleEffect CRIT
public static final ParticleEffect CRIT_MAGIC
public static final ParticleEffect DRIP_LAVA
public static final ParticleEffect DRIP_WATER
public static final ParticleEffect ENCHANTMENT_TABLE
public static final ParticleEffect EXPLOSION_HUGE
public static final ParticleEffect EXPLOSION_LARGE
public static final ParticleEffect EXPLOSION_NORMAL
public static final ParticleEffect FIREWORKS_SPARK
public static final ParticleEffect FLAME
public static final ParticleEffect FOOTSTEP
public static final ParticleEffect HEART
public static final ParticleEffect ITEM_CRACK
public static final ParticleEffect ITEM_TAKE
public static final ParticleEffect LAVA
public static final ParticleEffect MOB_APPEARANCE
public static final ParticleEffect NOTE
public static final ParticleEffect PORTAL
public static final ParticleEffect REDSTONE
public static final ParticleEffect SLIME
public static final ParticleEffect SMOKE_LARGE
public static final ParticleEffect SMOKE_NORMAL
public static final ParticleEffect SNOW_SHOVEL
public static final ParticleEffect SNOWBALL
public static final ParticleEffect SPELL
public static final ParticleEffect SPELL_INSTANT
public static final ParticleEffect SPELL_MOB
public static final ParticleEffect SPELL_MOB_AMBIENT
public static final ParticleEffect SPELL_WITCH
public static final ParticleEffect SUSPENDED
public static final ParticleEffect SUSPENDED_DEPTH
public static final ParticleEffect TOWN_AURA
public static final ParticleEffect VILLAGER_ANGRY
public static final ParticleEffect VILLAGER_HAPPY
public static final ParticleEffect WATER_BUBBLE
public static final ParticleEffect WATER_DROP
public static final ParticleEffect WATER_SPLASH
public static final ParticleEffect WATER_WAKE
public static ParticleEffect[] values()
for (ParticleEffect c : ParticleEffect.values()) System.out.println(c);
public static ParticleEffect 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 namejava.lang.NullPointerException - if the argument is nullpublic void display(org.bukkit.Location l,
float offsetX,
float offsetY,
float offsetZ,
float speed,
int amount)
throws java.lang.Exception
l - The Location where the Particle should be displayedoffsetX - The Offset on the X-AxisoffsetY - The Offset on the Y-AxisoffsetZ - The Offset on the Z-Axisspeed - The Speed of the Particleamount - The Amount of Particles which should be displayedjava.lang.Exceptionpublic void displayCrack(org.bukkit.Location l,
org.bukkit.material.MaterialData data,
float offsetX,
float offsetY,
float offsetZ,
float speed,
int amount)
throws java.lang.Exception
l - The Location where the Particle should be displayeddata - The Item/Block Data which should be usedoffsetX - The Offset on the X-AxisoffsetY - The Offset on the Y-AxisoffsetZ - The Offset on the Z-Axisspeed - The Speed of the Particleamount - The Amount of Particles which should be displayedjava.lang.Exceptionpublic void displayColoredParticle(org.bukkit.Location l,
java.awt.Color color)
throws java.lang.Exception
l - The Location where the Particle should be displayedcolor - The Color your Particle should havejava.lang.Exception