Enum Constant and Description |
---|
COLORLESS |
DARKNESS |
DRAGON |
FAIRY |
FIGHTING |
FIRE |
GRASS |
LIGHTNING |
METAL |
PSYCHIC |
RAINBOW |
WATER |
Modifier and Type | Method and Description |
---|---|
static Energy |
getEnergyFromString(java.lang.String name) |
static Energy |
getEnergyFromType(Element type) |
net.minecraft.util.ResourceLocation |
getHighResAlt() |
net.minecraft.util.ResourceLocation |
getHighResTexture() |
net.minecraft.util.ResourceLocation |
getTexture() |
java.lang.String |
getUnlocalizedName() |
static Energy |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Energy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Energy GRASS
public static final Energy FIRE
public static final Energy WATER
public static final Energy LIGHTNING
public static final Energy FIGHTING
public static final Energy PSYCHIC
public static final Energy COLORLESS
public static final Energy DARKNESS
public static final Energy METAL
public static final Energy DRAGON
public static final Energy FAIRY
public static final Energy RAINBOW
public static Energy[] values()
for (Energy c : Energy.values()) System.out.println(c);
public static Energy 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 static Energy getEnergyFromString(java.lang.String name)
public net.minecraft.util.ResourceLocation getTexture()
public net.minecraft.util.ResourceLocation getHighResTexture()
public net.minecraft.util.ResourceLocation getHighResAlt()
public java.lang.String getUnlocalizedName()