class GuiBeacon.PowerButton extends GuiBeacon.Button
| Modifier and Type | Field and Description |
|---|---|
private Potion |
effect |
private int |
tier |
BUTTON_TEXTURES, displayString, enabled, height, hovered, id, packedFGColour, visible, width, x, yICONS, OPTIONS_BACKGROUND, STAT_ICONS, zLevel| Constructor and Description |
|---|
PowerButton(int buttonId,
int x,
int y,
Potion effectIn,
int tierIn) |
| Modifier and Type | Method and Description |
|---|---|
void |
drawButtonForegroundLayer(int mouseX,
int mouseY) |
drawButton, isSelected, setSelectedgetButtonWidth, getHoverState, isMouseOver, mouseDragged, mousePressed, mouseReleased, playPressSound, setWidthdrawCenteredString, drawGradientRect, drawHorizontalLine, drawModalRectWithCustomSizedTexture, drawRect, drawScaledCustomSizeModalRect, drawString, drawTexturedModalRect, drawTexturedModalRect, drawTexturedModalRect, drawVerticalLineprivate final Potion effect
private final int tier
public PowerButton(int buttonId,
int x,
int y,
Potion effectIn,
int tierIn)
public void drawButtonForegroundLayer(int mouseX,
int mouseY)
drawButtonForegroundLayer in class GuiButton