public class GuiListButton extends GuiButton
BUTTON_TEXTURES, displayString, enabled, height, hovered, id, packedFGColour, visible, width, xPosition, yPositionICONS, 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)
Returns true if the mouse has been pressed on this control.
|
void |
setValue(boolean valueIn) |
drawButton, drawButtonForegroundLayer, getButtonWidth, getHoverState, isMouseOver, mouseDragged, mouseReleased, playPressSound, setWidthdrawCenteredString, drawGradientRect, drawHorizontalLine, drawModalRectWithCustomSizedTexture, drawRect, drawScaledCustomSizeModalRect, drawString, drawTexturedModalRect, drawTexturedModalRect, drawTexturedModalRect, drawVerticalLinepublic 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