public class Checkbox
extends net.minecraft.client.gui.widget.button.CheckboxButton
Constructor and Description |
---|
Checkbox(int id,
int x,
int y,
int width,
int height,
boolean checked,
net.minecraft.client.gui.widget.button.Button.IPressable pressedAction) |
Modifier and Type | Method and Description |
---|---|
void |
onPress() |
void |
renderButton(com.mojang.blaze3d.matrix.MatrixStack matrix,
int mouseX,
int mouseY,
float partialTicks) |
keyPressed, onClick
changeFocus, clearFGColor, clicked, createNarrationMessage, getFGColor, getHeight, getMessage, getWidth, getYImage, isFocused, isHovered, isMouseOver, isValidClickButton, mouseClicked, mouseDragged, mouseReleased, narrate, onDrag, onFocusedChanged, onRelease, playDownSound, queueNarration, render, renderBg, renderToolTip, setAlpha, setFGColor, setFocused, setHeight, setMessage, setWidth
blit, blit, blit, blit, blit, blitOutlineBlack, drawCenteredString, drawCenteredString, drawString, drawString, fill, fillGradient, fillGradient, getBlitOffset, hLine, setBlitOffset, vLine
public Checkbox(int id, int x, int y, int width, int height, boolean checked, net.minecraft.client.gui.widget.button.Button.IPressable pressedAction)
public void onPress()
onPress
in class net.minecraft.client.gui.widget.button.CheckboxButton
public void renderButton(com.mojang.blaze3d.matrix.MatrixStack matrix, int mouseX, int mouseY, float partialTicks)
renderButton
in class net.minecraft.client.gui.widget.button.CheckboxButton