public static enum PotionName.PotionItemType extends Enum<PotionName.PotionItemType>
Enum Constant and Description |
---|
LINGERING_POTION |
POTION |
SPLASH_POTION |
TIPPED_ARROW |
Modifier and Type | Method and Description |
---|---|
static PotionName.PotionItemType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PotionName.PotionItemType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PotionName.PotionItemType POTION
public static final PotionName.PotionItemType LINGERING_POTION
public static final PotionName.PotionItemType SPLASH_POTION
public static final PotionName.PotionItemType TIPPED_ARROW
public static PotionName.PotionItemType[] values()
for (PotionName.PotionItemType c : PotionName.PotionItemType.values()) System.out.println(c);
public static PotionName.PotionItemType 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.