public static enum Particle.PType extends java.lang.Enum<Particle.PType>
| Enum Constant and Description |
|---|
EXPLOSION_LARGE |
FIREWORKS_SPARK |
FLAME |
LARGE_SMOKE |
SNOW_SHOVEL |
WITCH_MAGIC |
| Modifier and Type | Method and Description |
|---|---|
static Particle.PType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Particle.PType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Particle.PType LARGE_SMOKE
public static final Particle.PType EXPLOSION_LARGE
public static final Particle.PType FIREWORKS_SPARK
public static final Particle.PType WITCH_MAGIC
public static final Particle.PType FLAME
public static final Particle.PType SNOW_SHOVEL
public static Particle.PType[] values()
for (Particle.PType c : Particle.PType.values()) System.out.println(c);
public static Particle.PType 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 null