public enum StandardButtonTextureSets extends java.lang.Enum<StandardButtonTextureSets> implements IButtonTextureSet
| Enum Constant and Description |
|---|
LARGE_BUTTON |
LEFT_BUTTON |
RIGHT_BUTTON |
SMALL_BUTTON |
| Modifier and Type | Field and Description |
|---|---|
static net.minecraft.util.ResourceLocation |
BUTTON_TEXTURES |
| Modifier and Type | Method and Description |
|---|---|
int |
getHeight() |
net.minecraft.util.ResourceLocation |
getTexture() |
int |
getWidth() |
int |
getX() |
int |
getY() |
static StandardButtonTextureSets |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static StandardButtonTextureSets[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StandardButtonTextureSets LARGE_BUTTON
public static final StandardButtonTextureSets SMALL_BUTTON
public static final StandardButtonTextureSets LEFT_BUTTON
public static final StandardButtonTextureSets RIGHT_BUTTON
public static final net.minecraft.util.ResourceLocation BUTTON_TEXTURES
public static StandardButtonTextureSets[] values()
for (StandardButtonTextureSets c : StandardButtonTextureSets.values()) System.out.println(c);
public static StandardButtonTextureSets 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 int getX()
getX in interface IButtonTextureSetpublic int getY()
getY in interface IButtonTextureSetpublic int getHeight()
getHeight in interface IButtonTextureSetpublic int getWidth()
getWidth in interface IButtonTextureSetpublic net.minecraft.util.ResourceLocation getTexture()
getTexture in interface IButtonTextureSet