Enum Constant and Description |
---|
COLORLESS |
DARKNESS |
DRAGON |
FAIRY |
FIGHTING |
FIRE |
GRASS |
LIGHTNING |
METAL |
PSYCHIC |
RAINBOW |
WATER |
Modifier and Type | Method and Description |
---|---|
static void |
copyAllEssence(net.minecraft.entity.player.EntityPlayer source,
net.minecraft.entity.player.EntityPlayer target) |
static Energy |
getEnergyFromString(java.lang.String name) |
static Energy |
getEnergyFromType(EnumType type) |
net.minecraft.util.ResourceLocation |
getHighResAlt() |
net.minecraft.util.ResourceLocation |
getHighResTexture() |
net.minecraft.util.ResourceLocation |
getTexture() |
java.lang.String |
getUnlocalizedName() |
static void |
givePlayerEssence(net.minecraft.entity.player.EntityPlayer receiver,
java.lang.String energy,
int amount) |
static void |
givePlayerEssence(net.minecraft.command.ICommandSender sender,
net.minecraft.entity.player.EntityPlayer receiver,
java.lang.String energy,
int amount)
Used to give player essence.
|
static void |
resetEssence(net.minecraft.entity.player.EntityPlayer player) |
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 static void givePlayerEssence(net.minecraft.command.ICommandSender sender, net.minecraft.entity.player.EntityPlayer receiver, java.lang.String energy, int amount)
sender
- receiver
- energy
- amount
- public static void copyAllEssence(net.minecraft.entity.player.EntityPlayer source, net.minecraft.entity.player.EntityPlayer target)
public static void resetEssence(net.minecraft.entity.player.EntityPlayer player)
public static void givePlayerEssence(net.minecraft.entity.player.EntityPlayer receiver, java.lang.String energy, int amount)
public net.minecraft.util.ResourceLocation getTexture()
public net.minecraft.util.ResourceLocation getHighResTexture()
public net.minecraft.util.ResourceLocation getHighResAlt()
public java.lang.String getUnlocalizedName()