public enum StandardButtonTextureSets extends java.lang.Enum<StandardButtonTextureSets> implements IButtonTextureSet
| Enum Constant and Description |
|---|
ARROW_DOWN_BUTTON |
ARROW_UP_BUTTON |
DOWN_BUTTON |
LARGE_BUTTON |
LEFT_BUTTON |
LEFT_BUTTON_SMALL |
LOCKED_BUTTON |
RIGHT_BUTTON |
RIGHT_BUTTON_SMALL |
SMALL_BLANK_BUTTON |
SMALL_BUTTON |
UNLOCKED_BUTTON |
UP_BUTTON |
| 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 LOCKED_BUTTON
public static final StandardButtonTextureSets UNLOCKED_BUTTON
public static final StandardButtonTextureSets SMALL_BLANK_BUTTON
public static final StandardButtonTextureSets ARROW_DOWN_BUTTON
public static final StandardButtonTextureSets ARROW_UP_BUTTON
public static final StandardButtonTextureSets DOWN_BUTTON
public static final StandardButtonTextureSets UP_BUTTON
public static final StandardButtonTextureSets LEFT_BUTTON
public static final StandardButtonTextureSets RIGHT_BUTTON
public static final StandardButtonTextureSets LEFT_BUTTON_SMALL
public static final StandardButtonTextureSets RIGHT_BUTTON_SMALL
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