protected static enum Projectile.BulletType extends Enum<Projectile.BulletType>
Enum Constant and Description |
---|
ARMOR_STAND |
ARROW |
BLOCK |
ITEM |
MOB |
MYTHICITEM |
NONE |
SMALLBLOCK |
Modifier and Type | Method and Description |
---|---|
static Projectile.BulletType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Projectile.BulletType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Projectile.BulletType NONE
public static final Projectile.BulletType ITEM
public static final Projectile.BulletType BLOCK
public static final Projectile.BulletType SMALLBLOCK
public static final Projectile.BulletType MYTHICITEM
public static final Projectile.BulletType ARMOR_STAND
public static final Projectile.BulletType ARROW
public static final Projectile.BulletType MOB
public static Projectile.BulletType[] values()
for (Projectile.BulletType c : Projectile.BulletType.values()) System.out.println(c);
public static Projectile.BulletType 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.