Modifier and Type | Method | Description |
---|---|---|
java.lang.Class<?> |
getDataType() |
Returns the required data type for the particle
|
static Particle |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static Particle[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Particle EXPLOSION_NORMAL
public static final Particle EXPLOSION_LARGE
public static final Particle EXPLOSION_HUGE
public static final Particle FIREWORKS_SPARK
public static final Particle WATER_BUBBLE
public static final Particle WATER_SPLASH
public static final Particle WATER_WAKE
public static final Particle SUSPENDED
public static final Particle SUSPENDED_DEPTH
public static final Particle CRIT
public static final Particle CRIT_MAGIC
public static final Particle SMOKE_NORMAL
public static final Particle SMOKE_LARGE
public static final Particle SPELL
public static final Particle SPELL_INSTANT
public static final Particle SPELL_MOB
public static final Particle SPELL_MOB_AMBIENT
public static final Particle SPELL_WITCH
public static final Particle DRIP_WATER
public static final Particle DRIP_LAVA
public static final Particle VILLAGER_ANGRY
public static final Particle VILLAGER_HAPPY
public static final Particle TOWN_AURA
public static final Particle NOTE
public static final Particle PORTAL
public static final Particle ENCHANTMENT_TABLE
public static final Particle FLAME
public static final Particle LAVA
public static final Particle FOOTSTEP
public static final Particle CLOUD
public static final Particle REDSTONE
public static final Particle SNOWBALL
public static final Particle SNOW_SHOVEL
public static final Particle SLIME
public static final Particle HEART
public static final Particle BARRIER
public static final Particle ITEM_CRACK
public static final Particle BLOCK_CRACK
public static final Particle BLOCK_DUST
public static final Particle WATER_DROP
public static final Particle ITEM_TAKE
public static final Particle MOB_APPEARANCE
public static final Particle DRAGON_BREATH
public static final Particle END_ROD
public static final Particle DAMAGE_INDICATOR
public static final Particle SWEEP_ATTACK
public static final Particle FALLING_DUST
public static final Particle TOTEM
public static final Particle SPIT
public static Particle[] values()
for (Particle c : Particle.values()) System.out.println(c);
public static Particle 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 java.lang.Class<?> getDataType()
Copyright © 2018. All rights reserved.