public class GuiListButton extends GuiButton
BUTTON_TEXTURES, displayString, enabled, height, hovered, id, packedFGColour, visible, width, x, y
ICONS, OPTIONS_BACKGROUND, STAT_ICONS, zLevel
Constructor and Description |
---|
GuiListButton(GuiPageButtonList.GuiResponder responder,
int buttonId,
int x,
int y,
java.lang.String localizationStrIn,
boolean valueIn) |
Modifier and Type | Method and Description |
---|---|
boolean |
mousePressed(Minecraft mc,
int mouseX,
int mouseY) |
void |
setValue(boolean valueIn) |
drawButton, drawButtonForegroundLayer, getButtonWidth, getHoverState, isMouseOver, mouseDragged, mouseReleased, playPressSound, setWidth
drawCenteredString, drawGradientRect, drawHorizontalLine, drawModalRectWithCustomSizedTexture, drawRect, drawScaledCustomSizeModalRect, drawString, drawTexturedModalRect, drawTexturedModalRect, drawTexturedModalRect, drawVerticalLine
public GuiListButton(GuiPageButtonList.GuiResponder responder, int buttonId, int x, int y, java.lang.String localizationStrIn, boolean valueIn)
public void setValue(boolean valueIn)
public boolean mousePressed(Minecraft mc, int mouseX, int mouseY)
mousePressed
in class GuiButton