net.minecraft.client.gui.components

public class Button

extends AbstractButton

All mapped superinterfaces:

Renderable, GuiEventListener, TabOrderedElement, LayoutElement, NarratableEntry, NarrationSupplier

fhg
net.minecraft.client.gui.components.Button
net.minecraft.class_4185
net.minecraft.unmapped.C_buwziidm
net.minecraft.client.gui.widget.ButtonWidget
net.minecraft.client.gui.widget.button.ButtonWidget
net.minecraft.src.C_3451_

Field summary

Modifier and TypeField
public static final int
f
SMALL_WIDTH
field_39499
f_ojvigggw
DEFAULT_WIDTH_SMALL
SMALL_WIDTH
f_238663_
public static final int
m
DEFAULT_WIDTH
field_39500
f_xdifqujl
DEFAULT_WIDTH
DEFAULT_WIDTH
f_238716_
public static final int
n
BIG_WIDTH
field_49479
f_ybqgooae
field_49479
BIG_WIDTH
f_315630_
public static final int
o
DEFAULT_HEIGHT
field_39501
f_itohuqpg
DEFAULT_HEIGHT
DEFAULT_HEIGHT
f_238808_
public static final int
p
DEFAULT_SPACING
field_46856
f_dnkllpaq
field_46856
DEFAULT_SPACING
f_303561_
protected static final Button$CreateNarration
q
DEFAULT_NARRATION
field_40754
f_cvdgtuwy
DEFAULT_NARRATION_SUPPLIER
DEFAULT_NARRATION
f_252438_
protected final Button$OnPress
r
onPress
field_22767
f_hirmxmcw
onPress
onPress
f_93717_
protected final Button$CreateNarration
s
createNarration
field_40755
f_asqcexdg
narrationSupplier
narrationFactory
f_252416_

Constructor summary

ModifierConstructor
protected (int x, int y, int width, int height, Component message, Button$OnPress onPress, Button$CreateNarration narrationSupplier)

Method summary

Modifier and TypeMethod
public static Button$Builder
a(xp arg0, fhg$c arg1)
builder(Component arg0, Button$OnPress arg1)
method_46430(class_2561 arg0, class_4185$class_4241 arg1)
m_vugdzaek(C_rdaqiwdt arg0, C_buwziidm$C_zlxjklbn arg1)
builder(Text message, ButtonWidget$PressAction onPress)
builder(Text message, ButtonWidget$PressAction onPress)
m_253074_(C_4996_ p_254439_, C_3451_$C_3452_ p_254567_)
public void
b()
onPress()
method_25306()
m_npixagfj()
onPress()
onPress()
m_5691_()
protected MutableComponent
aJ_()
createNarrationMessage()
method_25360()
m_sjpjzqmc()
getNarrationMessage()
getNarrationMessage()
m_5646_()
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)