net.minecraft.client.gui.components

public class Checkbox

extends AbstractButton

All mapped superinterfaces:

Renderable, GuiEventListener, TabOrderedElement, LayoutElement, NarratableEntry, NarrationSupplier

fhi
net.minecraft.client.gui.components.Checkbox
net.minecraft.class_4286
net.minecraft.unmapped.C_lvxxsthn
net.minecraft.client.gui.widget.CheckboxWidget
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
f_tbqpobgu
SELECTED_HIGHLIGHTED_TEXTURE
CHECKBOX_SELECTED_HIGHLIGHTED
f_291205_
private static final ResourceLocation
b
CHECKBOX_SELECTED_SPRITE
field_45349
f_tvppaimz
SELECTED_TEXTURE
CHECKBOX_SELECTED
f_290627_
private static final ResourceLocation
c
CHECKBOX_HIGHLIGHTED_SPRITE
field_45350
f_epfkmuwh
HIGHLIGHTED_TEXTURE
CHECKBOX_HIGHLIGHTED
f_290543_
private static final ResourceLocation
d
CHECKBOX_SPRITE
field_45351
f_fmrbhduc
TEXTURE
CHECKBOX
f_291208_
private static final int
f
TEXT_COLOR
field_32181
f_gygkawuq
TEXT_COLOR
TEXT_COLOR
f_168844_
private static final int
m
SPACING
field_47105
f_fiwvdbpa
field_47105
f_302543_
private static final int
n
BOX_PADDING
field_47106
f_frkkaocd
field_47106
f_302538_
private boolean
o
selected
field_19230
f_phdyvtst
checked
checked
f_93822_
private final Checkbox$OnValueChange
p
onValueChange
field_47107
f_cnayjurh
callback
f_302693_

Constructor summary

ModifierConstructor
(int x, int y, Component message, Font textRenderer, boolean checked, Checkbox$OnValueChange callback)

Method summary

Modifier and TypeMethod
public static Checkbox$Builder
a(xp arg0, fgr arg1)
builder(Component arg0, Font arg1)
method_54787(class_2561 arg0, class_327 arg1)
m_jmdnrbjd(C_rdaqiwdt arg0, C_mavozmpp arg1)
builder(Text text, TextRenderer textRenderer)
m_jmdnrbjd(Text text, TextRenderer textRenderer)
m_306644_(C_4996_ p_309446_, C_3429_ p_309998_)
public static int
a(fgr arg0)
getBoxSize(Font arg0)
method_54786(class_327 arg0)
m_xueqpqgi(C_mavozmpp arg0)
getSize(TextRenderer textRenderer)
m_xueqpqgi(TextRenderer textRenderer)
m_305019_(C_3429_ p_310239_)
public void
b()
onPress()
method_25306()
m_npixagfj()
onPress()
onPress()
m_5691_()
public boolean
a()
selected()
method_20372()
m_nclcqadb()
isChecked()
isChecked()
m_93840_()
public void
a(flc arg0)
updateWidgetNarration(NarrationElementOutput arg0)
method_47399(class_6382 arg0)
m_acsoyrbk(C_pofrkllk arg0)
appendClickableNarrations(NarrationMessageBuilder arg0)
updateNarration(NarrationMessageBuilder arg0)
m_168797_(C_141608_ arg0)
public void
b(fgt 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)
m_mxhoikgj(C_sedilmty arg0, int arg1, int arg2, float arg3)
renderWidget(DrawContext arg0, int arg1, int arg2, float arg3)
drawWidget(GuiGraphics arg0, int arg1, int arg2, float arg3)
m_87963_(C_279497_ p_282925_, int p_282705_, int p_282612_, float arg3)