public static enum ProgressBarComponent.BarDirection extends java.lang.Enum<ProgressBarComponent.BarDirection>
| Enum Constant and Description |
|---|
ARROW_DOWN |
ARROW_RIGHT |
VERTICAL_UP |
| Modifier and Type | Method and Description |
|---|---|
abstract int |
getXSize(IAssetProvider provider) |
abstract int |
getYSize(IAssetProvider provider) |
abstract <T extends IComponentHarness> |
render(com.mojang.blaze3d.matrix.MatrixStack stack,
net.minecraft.client.gui.screen.Screen screen,
int guiX,
int guiY,
IAssetProvider provider,
ProgressBarScreenAddon<T> addon) |
static ProgressBarComponent.BarDirection |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ProgressBarComponent.BarDirection[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ProgressBarComponent.BarDirection VERTICAL_UP
public static final ProgressBarComponent.BarDirection ARROW_RIGHT
public static final ProgressBarComponent.BarDirection ARROW_DOWN
public static ProgressBarComponent.BarDirection[] values()
for (ProgressBarComponent.BarDirection c : ProgressBarComponent.BarDirection.values()) System.out.println(c);
public static ProgressBarComponent.BarDirection 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 abstract <T extends IComponentHarness> void render(com.mojang.blaze3d.matrix.MatrixStack stack, net.minecraft.client.gui.screen.Screen screen, int guiX, int guiY, IAssetProvider provider, ProgressBarScreenAddon<T> addon)
public abstract int getXSize(IAssetProvider provider)
public abstract int getYSize(IAssetProvider provider)