net.minecraft.client.gui.components

public class Button

extends AbstractButton

All mapped superinterfaces:

Renderable, GuiEventListener, TabOrderedElement, LayoutElement, NarratableEntry, NarrationSupplier

eoc
net.minecraft.client.gui.components.Button
net.minecraft.class_4185
net.minecraft.client.gui.widget.ButtonWidget
net.minecraft.src.C_3451_

Field summary

Modifier and TypeField
public static final int
y
SMALL_WIDTH
field_39499
DEFAULT_WIDTH_SMALL
f_238663_
public static final int
z
DEFAULT_WIDTH
field_39500
DEFAULT_WIDTH
f_238716_
public static final int
A
DEFAULT_HEIGHT
field_39501
DEFAULT_HEIGHT
f_238808_
protected static final Button$CreateNarration
B
DEFAULT_NARRATION
field_40754
DEFAULT_NARRATION_SUPPLIER
f_252438_
protected final Button$OnPress
C
onPress
field_22767
onPress
f_93717_
protected final Button$CreateNarration
D
createNarration
field_40755
narrationSupplier
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(tj arg0, eoc$c arg1)
builder(Component arg0, Button$OnPress arg1)
method_46430(class_2561 arg0, class_4185$class_4241 arg1)
builder(Text message, ButtonWidget$PressAction onPress)
m_253074_(C_4996_ p_254439_, C_3451_$C_3452_ p_254567_)
public void
c()
onPress()
method_25306()
onPress()
m_5691_()
protected MutableComponent
aH_()
createNarrationMessage()
method_25360()
getNarrationMessage()
m_5646_()
public void
a(ere arg0)
updateWidgetNarration(NarrationElementOutput arg0)
method_47399(class_6382 arg0)
appendClickableNarrations(NarrationMessageBuilder arg0)
m_168797_(C_141608_ arg0)