public class GuiCheckBox extends GuiButton
BUTTON_TEXTURES, displayString, enabled, height, hovered, id, packedFGColour, visible, width, xPosition, yPosition
ICONS, OPTIONS_BACKGROUND, STAT_ICONS, zLevel
Constructor and Description |
---|
GuiCheckBox(int id,
int xPos,
int yPos,
java.lang.String displayString,
boolean isChecked) |
Modifier and Type | Method and Description |
---|---|
void |
drawButton(Minecraft mc,
int mouseX,
int mouseY) |
boolean |
isChecked() |
boolean |
mousePressed(Minecraft mc,
int mouseX,
int mouseY) |
void |
setIsChecked(boolean isChecked) |
drawButtonForegroundLayer, getButtonWidth, getHoverState, isMouseOver, mouseDragged, mouseReleased, playPressSound, setWidth
drawCenteredString, drawGradientRect, drawHorizontalLine, drawModalRectWithCustomSizedTexture, drawRect, drawScaledCustomSizeModalRect, drawString, drawTexturedModalRect, drawTexturedModalRect, drawTexturedModalRect, drawVerticalLine
public GuiCheckBox(int id, int xPos, int yPos, java.lang.String displayString, boolean isChecked)
public void drawButton(Minecraft mc, int mouseX, int mouseY)
drawButton
in class GuiButton
public boolean mousePressed(Minecraft mc, int mouseX, int mouseY)
mousePressed
in class GuiButton
public boolean isChecked()
public void setIsChecked(boolean isChecked)