net.minecraft.client.gui.components

public class Checkbox

extends AbstractButton

All mapped superinterfaces:

Renderable, GuiEventListener, TabOrderedElement, LayoutElement, NarratableEntry, NarrationSupplier

fow
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
SPACING
f_302543_
private static final int
n
BOX_PADDING
field_47106
f_frkkaocd
field_47106
TEXT_SPACING
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
listener
f_302693_
private final MultiLineTextWidget
q
textWidget
field_52293
f_uwwqpunt
textWidget
text
f_337578_

Constructor summary

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

Method summary

Modifier and TypeMethod
private int
a(int arg0, wp arg1, fod arg2)
getAdjustedWidth(int arg0, Component arg1, Font arg2)
method_61128(int arg0, class_2561 arg1, class_327 arg2)
m_acpgyyuc(int arg0, C_rdaqiwdt arg1, C_mavozmpp arg2)
calculateWidth(int max, Text text, TextRenderer textRenderer)
computeWidth(int maxWidth, Text text, TextRenderer textRenderer)
m_339832_(int p_343945_, C_4996_ p_344442_, C_3429_ arg2)
private int
b(fod arg0)
getAdjustedHeight(Font arg0)
method_61129(class_327 arg0)
m_znhebevk(C_mavozmpp arg0)
calculateHeight(TextRenderer textRenderer)
computeHeight(TextRenderer textRenderer)
m_338792_(C_3429_ arg0)
static int
b(wp arg0, fod arg1)
getDefaultWidth(Component arg0, Font arg1)
method_61130(class_2561 arg0, class_327 arg1)
m_kwftlykh(C_rdaqiwdt arg0, C_mavozmpp arg1)
calculateWidth(Text text, TextRenderer textRenderer)
computeTextWidth(Text text, TextRenderer textRenderer)
m_339463_(C_4996_ p_343910_, C_3429_ p_343985_)
public static Checkbox$Builder
a(wp arg0, fod 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)
builder(Text text, TextRenderer textRenderer)
m_306644_(C_4996_ p_309446_, C_3429_ p_309998_)
public static int
a(fod arg0)
getBoxSize(Font arg0)
method_54786(class_327 arg0)
m_xueqpqgi(C_mavozmpp arg0)
getCheckboxSize(TextRenderer textRenderer)
getTextPadding(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(fsr 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(fof 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)