public enum BCEnergyGuis extends java.lang.Enum<BCEnergyGuis>
Enum Constant and Description |
---|
ENGINE_IRON |
ENGINE_STONE |
Modifier and Type | Field and Description |
---|---|
static BCEnergyGuis[] |
VALUES |
Modifier and Type | Method and Description |
---|---|
static BCEnergyGuis |
get(int id) |
void |
openGUI(net.minecraft.entity.player.EntityPlayer player) |
void |
openGUI(net.minecraft.entity.player.EntityPlayer player,
net.minecraft.util.math.BlockPos pos) |
static BCEnergyGuis |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BCEnergyGuis[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BCEnergyGuis ENGINE_STONE
public static final BCEnergyGuis ENGINE_IRON
public static final BCEnergyGuis[] VALUES
public static BCEnergyGuis[] values()
for (BCEnergyGuis c : BCEnergyGuis.values()) System.out.println(c);
public static BCEnergyGuis 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 BCEnergyGuis get(int id)
public void openGUI(net.minecraft.entity.player.EntityPlayer player)
public void openGUI(net.minecraft.entity.player.EntityPlayer player, net.minecraft.util.math.BlockPos pos)