net.minecraft.client.gui.components

public class Checkbox

extends AbstractButton

All mapped superinterfaces:

Renderable, GuiEventListener, TabOrderedElement, LayoutElement, NarratableEntry, NarrationSupplier

ess
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
CHECKBOX_SELECTED_HIGHLIGHTED_SPRITE
field_45348
SELECTED_HIGHLIGHTED_TEXTURE
f_291205_
private static final ResourceLocation
b
CHECKBOX_SELECTED_SPRITE
field_45349
SELECTED_TEXTURE
f_290627_
private static final ResourceLocation
c
CHECKBOX_HIGHLIGHTED_SPRITE
field_45350
HIGHLIGHTED_TEXTURE
f_290543_
private static final ResourceLocation
d
CHECKBOX_SPRITE
field_45351
TEXTURE
f_291208_
private static final int
l
TEXT_COLOR
field_32181
TEXT_COLOR
f_168844_
private boolean
m
selected
field_19230
checked
f_93822_
private final boolean
n
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(ewi arg0)
updateWidgetNarration(NarrationElementOutput arg0)
method_47399(class_6382 arg0)
appendClickableNarrations(NarrationMessageBuilder arg0)
m_168797_(C_141608_ arg0)
public void
b(esf arg0, int arg1, int arg2, float arg3)
renderWidget(GuiGraphics arg0, int arg1, int arg2, float arg3)
method_48579(class_332 arg0, int arg1, int arg2, float arg3)
renderButton(DrawContext arg0, int arg1, int arg2, float arg3)
m_87963_(C_279497_ p_282925_, int p_282705_, int p_282612_, float arg3)