public static enum ExplosionMeta.ExplosionType extends Enum<ExplosionMeta.ExplosionType>
Enum Constant and Description |
---|
BURST
Represents a burst-shaped firework explosion.
|
CREEPER
Represents a creeper-shaped firework explosion.
|
LARGE
Represents a large firework explosion.
|
SMALL
Represents a small firework explosion.
|
STAR
Represents a star-shaped firework explosion.
|
UNKNOWN
Represents an unknown firework explosion.
|
Modifier and Type | Method and Description |
---|---|
static ExplosionMeta.ExplosionType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ExplosionMeta.ExplosionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ExplosionMeta.ExplosionType SMALL
public static final ExplosionMeta.ExplosionType LARGE
public static final ExplosionMeta.ExplosionType STAR
public static final ExplosionMeta.ExplosionType CREEPER
public static final ExplosionMeta.ExplosionType BURST
public static final ExplosionMeta.ExplosionType UNKNOWN
Represents an unknown firework explosion.
ID is preserved in case of future Minecraft effects.
public static ExplosionMeta.ExplosionType[] values()
for (ExplosionMeta.ExplosionType c : ExplosionMeta.ExplosionType.values()) System.out.println(c);
public static ExplosionMeta.ExplosionType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2016. All rights reserved.