public static enum ItemFirework.FireworkExplosion.ExplosionType extends Enum<ItemFirework.FireworkExplosion.ExplosionType>
| Enum Constant and Description |
|---|
BURST |
CREEPER_SHAPED |
LARGE_BALL |
SMALL_BALL |
STAR_SHAPED |
| Modifier and Type | Method and Description |
|---|---|
static ItemFirework.FireworkExplosion.ExplosionType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ItemFirework.FireworkExplosion.ExplosionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ItemFirework.FireworkExplosion.ExplosionType SMALL_BALL
public static final ItemFirework.FireworkExplosion.ExplosionType LARGE_BALL
public static final ItemFirework.FireworkExplosion.ExplosionType STAR_SHAPED
public static final ItemFirework.FireworkExplosion.ExplosionType CREEPER_SHAPED
public static final ItemFirework.FireworkExplosion.ExplosionType BURST
public static ItemFirework.FireworkExplosion.ExplosionType[] values()
for (ItemFirework.FireworkExplosion.ExplosionType c : ItemFirework.FireworkExplosion.ExplosionType.values()) System.out.println(c);
public static ItemFirework.FireworkExplosion.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 © 2020. All rights reserved.