public static enum ParticleEffect.ParticleProperty extends java.lang.Enum<ParticleEffect.ParticleProperty>
Enum Constant and Description |
---|
COLORABLE
The particle effect uses the offsets as color values
|
DIRECTIONAL
The particle effect uses the offsets as direction values
|
REQUIRES_DATA
The particle effect requires block or item data to be displayed
|
REQUIRES_WATER
The particle effect requires water to be displayed
|
Modifier and Type | Method and Description |
---|---|
static ParticleEffect.ParticleProperty |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ParticleEffect.ParticleProperty[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ParticleEffect.ParticleProperty REQUIRES_WATER
public static final ParticleEffect.ParticleProperty REQUIRES_DATA
public static final ParticleEffect.ParticleProperty DIRECTIONAL
public static final ParticleEffect.ParticleProperty COLORABLE
public static ParticleEffect.ParticleProperty[] values()
for (ParticleEffect.ParticleProperty c : ParticleEffect.ParticleProperty.values()) System.out.println(c);
public static ParticleEffect.ParticleProperty 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