public enum SurvivalTabHandler extends java.lang.Enum<SurvivalTabHandler>
| Enum Constant and Description |
|---|
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
SurvivalTab |
create(java.lang.String label,
java.lang.Class<? extends net.minecraft.client.gui.inventory.GuiContainer> container)
Create a new survival tab instance and register it.
|
int |
getCurrentPage() |
java.util.List<SurvivalTab> |
getSurvivalTabList() |
void |
setCurrentPage(int page) |
static SurvivalTabHandler |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SurvivalTabHandler[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SurvivalTabHandler INSTANCE
public static SurvivalTabHandler[] values()
for (SurvivalTabHandler c : SurvivalTabHandler.values()) System.out.println(c);
public static SurvivalTabHandler 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 SurvivalTab create(java.lang.String label, java.lang.Class<? extends net.minecraft.client.gui.inventory.GuiContainer> container)
label - the unlocalized survival tab labelcontainer - the container classpublic java.util.List<SurvivalTab> getSurvivalTabList()
public int getCurrentPage()
public void setCurrentPage(int page)