public class GuiButtonRealmsProxy extends GuiButton
Modifier and Type | Field and Description |
---|---|
private RealmsButton |
realmsButton |
BUTTON_TEXTURES, displayString, enabled, height, hovered, id, packedFGColour, visible, width, x, y
ICONS, OPTIONS_BACKGROUND, STAT_ICONS, zLevel
Constructor and Description |
---|
GuiButtonRealmsProxy(RealmsButton realmsButtonIn,
int buttonId,
int x,
int y,
java.lang.String text) |
GuiButtonRealmsProxy(RealmsButton realmsButtonIn,
int buttonId,
int x,
int y,
java.lang.String text,
int widthIn,
int heightIn) |
Modifier and Type | Method and Description |
---|---|
int |
getButtonWidth() |
boolean |
getEnabled() |
int |
getHeight() |
int |
getHoverState(boolean mouseOver) |
int |
getId() |
int |
getPositionY() |
RealmsButton |
getRealmsButton() |
int |
getYImage(boolean p_154312_1_) |
void |
mouseDragged(Minecraft mc,
int mouseX,
int mouseY) |
boolean |
mousePressed(Minecraft mc,
int mouseX,
int mouseY) |
void |
mouseReleased(int mouseX,
int mouseY) |
void |
setEnabled(boolean isEnabled) |
void |
setText(java.lang.String text) |
drawButton, drawButtonForegroundLayer, isMouseOver, playPressSound, setWidth
drawCenteredString, drawGradientRect, drawHorizontalLine, drawModalRectWithCustomSizedTexture, drawRect, drawScaledCustomSizeModalRect, drawString, drawTexturedModalRect, drawTexturedModalRect, drawTexturedModalRect, drawVerticalLine
private final RealmsButton realmsButton
public GuiButtonRealmsProxy(RealmsButton realmsButtonIn, int buttonId, int x, int y, java.lang.String text)
public GuiButtonRealmsProxy(RealmsButton realmsButtonIn, int buttonId, int x, int y, java.lang.String text, int widthIn, int heightIn)
public int getId()
public boolean getEnabled()
public void setEnabled(boolean isEnabled)
public void setText(java.lang.String text)
public int getButtonWidth()
getButtonWidth
in class GuiButton
public int getPositionY()
public boolean mousePressed(Minecraft mc, int mouseX, int mouseY)
mousePressed
in class GuiButton
public void mouseReleased(int mouseX, int mouseY)
mouseReleased
in class GuiButton
public void mouseDragged(Minecraft mc, int mouseX, int mouseY)
mouseDragged
in class GuiButton
public RealmsButton getRealmsButton()
public int getHoverState(boolean mouseOver)
getHoverState
in class GuiButton
public int getYImage(boolean p_154312_1_)
public int getHeight()