net.minecraft.client.gui.components

public abstract class AbstractWidget

extends GuiComponent implements Widget, GuiEventListener, NarratableEntry

All mapped superinterfaces:

Widget, GuiEventListener, NarratableEntry, NarrationSupplier

eac
net.minecraft.client.gui.components.AbstractWidget
net.minecraft.class_339
net.minecraft.client.gui.widget.ClickableWidget
net.minecraft.src.C_3449_

Field summary

Modifier and TypeField
public static final ResourceLocation
i
WIDGETS_LOCATION
field_22757
WIDGETS_TEXTURE
f_93617_
protected int
j
width
field_22758
width
f_93618_
protected int
k
height
field_22759
height
f_93619_
public int
l
x
field_22760
x
f_93620_
public int
m
y
field_22761
y
f_93621_
private Component
a
message
field_22754
message
f_93614_
protected boolean
n
isHovered
field_22762
hovered
f_93622_
public boolean
o
active
field_22763
active
f_93623_
public boolean
p
visible
field_22764
visible
f_93624_
protected float
q
alpha
field_22765
alpha
f_93625_
private boolean
b
focused
field_22756
focused
f_93616_

Constructor summary

ModifierConstructor
public (int x, int y, int width, int height, Component message)

Method summary

Modifier and TypeMethod
public int
d()
getHeight()
method_25364()
getHeight()
m_93694_()
protected int
a(boolean arg0)
getYImage(boolean arg0)
method_25356(boolean arg0)
getYImage(boolean hovered)
m_7202_(boolean arg0)
public void
a(dtm arg0, int arg1, int arg2, float arg3)
render(PoseStack arg0, int arg1, int arg2, float arg3)
method_25394(class_4587 arg0, int arg1, int arg2, float arg3)
render(MatrixStack arg0, int arg1, int arg2, float arg3)
m_6305_(C_3181_ p_93658_, int p_93659_, int p_93660_, float arg3)
protected MutableComponent
al_()
createNarrationMessage()
method_25360()
getNarrationMessage()
m_5646_()
public static MutableComponent
a(qk arg0)
wrapDefaultNarrationMessage(Component arg0)
method_32602(class_2561 arg0)
getNarrationMessage(Text message)
m_168799_(C_4996_ p_168800_)
public void
b(dtm arg0, int arg1, int arg2, float arg3)
renderButton(PoseStack arg0, int arg1, int arg2, float arg3)
method_25359(class_4587 arg0, int arg1, int arg2, float arg3)
renderButton(MatrixStack matrices, int mouseX, int mouseY, float delta)
m_6303_(C_3181_ p_93677_, int p_93678_, int p_93679_, float arg3)
protected void
a(dtm arg0, dyr arg1, int arg2, int arg3)
renderBg(PoseStack arg0, Minecraft arg1, int arg2, int arg3)
method_25353(class_4587 arg0, class_310 arg1, int arg2, int arg3)
renderBackground(MatrixStack matrices, MinecraftClient client, int mouseX, int mouseY)
m_7906_(C_3181_ p_93662_, C_3391_ p_93663_, int p_93664_, int arg3)
public void
a(double arg0, double arg1)
onClick(double arg0, double arg1)
method_25348(double arg0, double arg1)
onClick(double mouseX, double mouseY)
m_5716_(double p_93635_, double arg1)
public void
b(double arg0, double arg1)
onRelease(double arg0, double arg1)
method_25357(double arg0, double arg1)
onRelease(double mouseX, double mouseY)
m_7691_(double p_93670_, double arg1)
protected void
a(double arg0, double arg1, double arg2, double arg3)
onDrag(double arg0, double arg1, double arg2, double arg3)
method_25349(double arg0, double arg1, double arg2, double arg3)
onDrag(double mouseX, double mouseY, double deltaX, double deltaY)
m_7212_(double p_93637_, double p_93639_, double arg2, double arg3)
public boolean
a(double arg0, double arg1, int arg2)
mouseClicked(double arg0, double arg1, int arg2)
method_25402(double arg0, double arg1, int arg2)
mouseClicked(double arg0, double arg1, int arg2)
m_6375_(double p_93642_, double arg1, int arg2)
public boolean
c(double arg0, double arg1, int arg2)
mouseReleased(double arg0, double arg1, int arg2)
method_25406(double arg0, double arg1, int arg2)
mouseReleased(double arg0, double arg1, int arg2)
m_6348_(double p_93685_, double arg1, int arg2)
protected boolean
d_(int arg0)
isValidClickButton(int arg0)
method_25351(int arg0)
isValidClickButton(int button)
m_7972_(int arg0)
public boolean
a(double arg0, double arg1, int arg2, double arg3, double arg4)
mouseDragged(double arg0, double arg1, int arg2, double arg3, double arg4)
method_25403(double arg0, double arg1, int arg2, double arg3, double arg4)
mouseDragged(double arg0, double arg1, int arg2, double arg3, double arg4)
m_7979_(double p_93646_, double p_93648_, int arg2, double arg3, double arg4)
protected boolean
c(double arg0, double arg1)
clicked(double arg0, double arg1)
method_25361(double arg0, double arg1)
clicked(double mouseX, double mouseY)
m_93680_(double p_93682_, double arg1)
public boolean
e()
isHoveredOrFocused()
method_25367()
isHovered()
m_198029_()
public boolean
b(boolean arg0)
changeFocus(boolean arg0)
method_25407(boolean arg0)
changeFocus(boolean arg0)
m_5755_(boolean arg0)
protected void
c(boolean arg0)
onFocusedChanged(boolean arg0)
method_25363(boolean arg0)
onFocusedChanged(boolean newFocused)
m_7207_(boolean arg0)
public boolean
a_(double arg0, double arg1)
isMouseOver(double arg0, double arg1)
method_25405(double arg0, double arg1)
isMouseOver(double arg0, double arg1)
m_5953_(double p_93673_, double arg1)
public void
a(dtm arg0, int arg1, int arg2)
renderToolTip(PoseStack arg0, int arg1, int arg2)
method_25352(class_4587 arg0, int arg1, int arg2)
renderTooltip(MatrixStack matrices, int mouseX, int mouseY)
m_7428_(C_3181_ p_93654_, int p_93655_, int arg2)
public void
a(fep arg0)
playDownSound(SoundManager arg0)
method_25354(class_1144 arg0)
playDownSound(SoundManager soundManager)
m_7435_(C_4603_ arg0)
public int
f()
getWidth()
method_25368()
getWidth()
m_5711_()
public void
b(int arg0)
setWidth(int arg0)
method_25358(int arg0)
setWidth(int width)
m_93674_(int arg0)
public void
a(float arg0)
setAlpha(float arg0)
method_25350(float arg0)
setAlpha(float alpha)
m_93650_(float arg0)
public void
b(qk arg0)
setMessage(Component arg0)
method_25355(class_2561 arg0)
setMessage(Text message)
m_93666_(C_4996_ arg0)
public Component
g()
getMessage()
method_25369()
getMessage()
m_6035_()
public boolean
h()
isFocused()
method_25370()
isFocused()
m_93696_()
public boolean
am_()
isActive()
method_37303()
isNarratable()
m_142518_()
protected void
d(boolean arg0)
setFocused(boolean arg0)
method_25365(boolean arg0)
setFocused(boolean focused)
m_93692_(boolean arg0)
public NarratableEntry$NarrationPriority
s()
narrationPriority()
method_37018()
getType()
m_142684_()
protected void
b(eci arg0)
defaultButtonNarrationText(NarrationElementOutput arg0)
method_37021(class_6382 arg0)
appendDefaultNarrations(NarrationMessageBuilder builder)
m_168802_(C_141608_ arg0)