public static enum GUIBackpack.GUI extends java.lang.Enum<GUIBackpack.GUI>
| Modifier and Type | Method and Description |
|---|---|
static GUIBackpack |
buildGUI(net.minecraft.entity.player.EntityPlayer player,
InventoryBackpack backpack,
int[] upgrades,
net.minecraft.item.ItemStack itemStack)
Creates the GUI.
|
static GUIBackpack.GUI |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static GUIBackpack.GUI[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GUIBackpack.GUI BASIC
public static final GUIBackpack.GUI IRON
public static final GUIBackpack.GUI GOLD
public static final GUIBackpack.GUI DIAMOND
public static GUIBackpack.GUI[] values()
for (GUIBackpack.GUI c : GUIBackpack.GUI.values()) System.out.println(c);
public static GUIBackpack.GUI 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 GUIBackpack buildGUI(net.minecraft.entity.player.EntityPlayer player, InventoryBackpack backpack, int[] upgrades, net.minecraft.item.ItemStack itemStack)
player - - the player opening the backpackbackpack - - the inventoryupgrades - - the upgrades on the backpackitemStack - - the backpack