public class GuiCheckBox extends GuiButton
buttonTextures, displayString, enabled, height, hovered, id, packedFGColour, visible, width, xPosition, yPositionicons, optionsBackground, statIcons, 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, setWidthdrawCenteredString, drawGradientRect, drawHorizontalLine, drawModalRectWithCustomSizedTexture, drawRect, drawScaledCustomSizeModalRect, drawString, drawTexturedModalRect, drawTexturedModalRect, drawTexturedModalRect, drawVerticalLinepublic 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 GuiButtonpublic boolean mousePressed(Minecraft mc, int mouseX, int mouseY)
mousePressed in class GuiButtonpublic boolean isChecked()
public void setIsChecked(boolean isChecked)