public static enum ItemCandy.CandyType extends java.lang.Enum<ItemCandy.CandyType>
Modifier and Type | Class and Description |
---|---|
static interface |
ItemCandy.CandyType.ICheck |
Enum Constant and Description |
---|
BATTY |
CORN |
ENDERPOP |
HALLOWEEN |
MIDNIGHT |
SKULL |
SPIDER |
WITCH |
WITCHY |
Modifier and Type | Field and Description |
---|---|
static int |
metaTicker |
Modifier and Type | Method and Description |
---|---|
float |
getChance() |
ItemCandy.CandyType.ICheck |
getCheck() |
java.lang.String |
getName() |
void |
setChance(float chance) |
static ItemCandy.CandyType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ItemCandy.CandyType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ItemCandy.CandyType HALLOWEEN
public static final ItemCandy.CandyType WITCHY
public static final ItemCandy.CandyType MIDNIGHT
public static final ItemCandy.CandyType BATTY
public static final ItemCandy.CandyType CORN
public static final ItemCandy.CandyType ENDERPOP
public static final ItemCandy.CandyType SKULL
public static final ItemCandy.CandyType SPIDER
public static final ItemCandy.CandyType WITCH
public static ItemCandy.CandyType[] values()
for (ItemCandy.CandyType c : ItemCandy.CandyType.values()) System.out.println(c);
public static ItemCandy.CandyType 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 nullpublic java.lang.String getName()
public void setChance(float chance)
public float getChance()
public ItemCandy.CandyType.ICheck getCheck()