public class GuiCheckBox extends GuiButton
buttonTextures, displayString, enabled, field_146123_n, height, id, packedFGColour, visible, width, xPosition, yPosition
icons, 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 p_146116_1_,
int p_146116_2_,
int p_146116_3_) |
void |
setIsChecked(boolean isChecked) |
func_146111_b, func_146113_a, func_146115_a, func_154310_c, getButtonWidth, getHoverState, mouseDragged, mouseReleased
drawCenteredString, drawGradientRect, drawHorizontalLine, drawRect, drawString, drawTexturedModalRect, drawTexturedModelRectFromIcon, drawVerticalLine, func_146110_a, func_152125_a
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 p_146116_1_, int p_146116_2_, int p_146116_3_)
mousePressed
in class GuiButton
public boolean isChecked()
public void setIsChecked(boolean isChecked)