net.minecraft.client.gui.components

public class Checkbox

extends AbstractButton

All mapped superinterfaces:

Widget, GuiEventListener, NarratableEntry, NarrationSupplier

dxc
net.minecraft.client.gui.components.Checkbox
net.minecraft.class_4286
net.minecraft.client.gui.widget.CheckboxWidget
net.minecraft.src.C_3455_

Field summary

Modifier and TypeField
private static final ResourceLocation
a
TEXTURE
field_19231
TEXTURE
f_93821_
private static final int
b
TEXT_COLOR
field_32181
TEXT_COLOR
f_168844_
private boolean
c
selected
field_19230
checked
f_93822_
private final boolean
d
showLabel
field_24253
showMessage
f_93823_

Constructor summary

ModifierConstructor
public (int x, int y, int width, int height, Component message, boolean checked)
public (int x, int y, int width, int height, Component message, boolean checked, boolean showMessage)

Method summary

Modifier and TypeMethod
public void
c()
onPress()
method_25306()
onPress()
m_5691_()
public boolean
a()
selected()
method_20372()
isChecked()
m_93840_()
public void
a(dzd arg0)
updateNarration(NarrationElementOutput arg0)
method_37020(class_6382 arg0)
appendNarrations(NarrationMessageBuilder arg0)
m_142291_(C_141608_ arg0)
public void
b(dql arg0, int arg1, int arg2, float arg3)
renderButton(PoseStack arg0, int arg1, int arg2, float arg3)
method_25359(class_4587 arg0, int arg1, int arg2, float arg3)
renderButton(MatrixStack arg0, int arg1, int arg2, float arg3)
m_6303_(C_3181_ p_93844_, int p_93845_, int p_93846_, float arg3)