Enum Constant and Description |
---|
ASPEC |
BASIC |
BREAK |
COSMETIC |
ENERGY |
EX |
GX |
ITEM |
LEGEND |
LVLX |
MEGA |
STADIUM |
STAGE1 |
STAGE2 |
SUPPORTER |
TM |
TOOL |
TRAINER |
Modifier and Type | Method and Description |
---|---|
static CardType |
getCardTypeFromString(java.lang.String name) |
net.minecraft.util.ResourceLocation |
getIcon() |
java.lang.String |
getLocalizedName() |
java.lang.String |
getUnlocalizedName() |
boolean |
isCosmetic() |
boolean |
isPokemon() |
static CardType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CardType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CardType BASIC
public static final CardType STAGE1
public static final CardType STAGE2
public static final CardType MEGA
public static final CardType EX
public static final CardType LVLX
public static final CardType BREAK
public static final CardType LEGEND
public static final CardType GX
public static final CardType TRAINER
public static final CardType STADIUM
public static final CardType ITEM
public static final CardType SUPPORTER
public static final CardType ENERGY
public static final CardType TOOL
public static final CardType TM
public static final CardType ASPEC
public static final CardType COSMETIC
public static CardType[] values()
for (CardType c : CardType.values()) System.out.println(c);
public static CardType 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 boolean isPokemon()
public boolean isCosmetic()
public static CardType getCardTypeFromString(java.lang.String name)
public net.minecraft.util.ResourceLocation getIcon()
public java.lang.String getUnlocalizedName()
public java.lang.String getLocalizedName()