public static enum BattleScreen.EnumBattleButton extends java.lang.Enum<BattleScreen.EnumBattleButton>
Modifier and Type | Method and Description |
---|---|
void |
drawButton(com.mojang.blaze3d.matrix.MatrixStack matrix,
net.minecraft.client.gui.screen.Screen screen,
boolean active) |
void |
drawIcon(com.mojang.blaze3d.matrix.MatrixStack matrix,
net.minecraft.client.gui.screen.Screen screen) |
BattleMode |
getBattleMode() |
net.minecraft.util.ResourceLocation |
getIcon() |
net.minecraft.util.ResourceLocation |
getTexture(boolean disabled) |
int |
getY() |
static BattleScreen.EnumBattleButton |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BattleScreen.EnumBattleButton[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BattleScreen.EnumBattleButton BAG
public static final BattleScreen.EnumBattleButton POKE
public static final BattleScreen.EnumBattleButton RUN
public static BattleScreen.EnumBattleButton[] values()
for (BattleScreen.EnumBattleButton c : BattleScreen.EnumBattleButton.values()) System.out.println(c);
public static BattleScreen.EnumBattleButton 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 null@Nonnull public BattleMode getBattleMode()
@Nonnull public net.minecraft.util.ResourceLocation getTexture(boolean disabled)
@Nonnull public void drawButton(com.mojang.blaze3d.matrix.MatrixStack matrix, net.minecraft.client.gui.screen.Screen screen, boolean active)
public int getY()
@Nonnull public net.minecraft.util.ResourceLocation getIcon()
@Nonnull public void drawIcon(com.mojang.blaze3d.matrix.MatrixStack matrix, net.minecraft.client.gui.screen.Screen screen)