net.minecraft.client.gui.components

public abstract class AbstractWidget

extends GuiComponent implements Renderable, GuiEventListener, NarratableEntry

All mapped superinterfaces:

Renderable, GuiEventListener, NarratableEntry, NarrationSupplier

ekw
net.minecraft.client.gui.components.AbstractWidget
net.minecraft.class_339
net.minecraft.unmapped.C_kpvuxmkp
net.minecraft.client.gui.widget.ClickableWidget
net.minecraft.client.gui.widget.ClickableWidget
net.minecraft.src.C_3449_

Field summary

Modifier and TypeField
public static final ResourceLocation
j
WIDGETS_LOCATION
field_22757
f_olrwingn
WIDGETS_TEXTURE
WIDGETS_TEXTURE
f_93617_
protected int
k
width
field_22758
f_kjkcnurp
width
width
f_93618_
protected int
l
height
field_22759
f_pghkhtuu
height
height
f_93619_
private int
a
x
field_22760
f_qqnmwoid
x
x
f_93620_
private int
b
y
field_22761
f_ppowyefj
y
y
f_93621_
private Component
c
message
field_22754
f_vevzmidc
message
message
f_93614_
protected boolean
m
isHovered
field_22762
f_zzvmffin
hovered
hovered
f_93622_
public boolean
n
active
field_22763
f_fjktqkgd
active
active
f_93623_
public boolean
o
visible
field_22764
f_ndumutmu
visible
visible
f_93624_
protected float
p
alpha
field_22765
f_prgrzmyd
alpha
alpha
f_93625_
private boolean
d
focused
field_22756
f_xzcbpput
focused
focused
f_93616_
private Tooltip
e
tooltip
field_41095
f_cjsmmjyb
tooltip
tooltip
f_256816_
private int
f
tooltipMsDelay
field_41096
f_dzpdyfdx
tooltipDelay
tooltipDelay
f_256936_
private long
q
hoverOrFocusedStartTime
field_41097
f_iwvrdmpf
lastHoveredTime
hoverOrFocusedStartTime
f_256960_
private boolean
r
wasHoveredOrFocused
field_41098
f_wxstegmf
wasHovered
wasHoveredOrFocused
f_256916_

Constructor summary

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

Method summary

Modifier and TypeMethod
public int
i()
getHeight()
method_25364()
m_bqrsvacc()
getHeight()
getHeight()
m_93694_()
protected int
a(boolean arg0)
getYImage(boolean arg0)
method_25356(boolean arg0)
m_kjrufben(boolean arg0)
getYImage(boolean hovered)
getYImage(boolean hovered)
m_7202_(boolean arg0)
public void
a(eed 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)
m_ljhpujrm(C_cnszsxvd arg0, int arg1, int arg2, float arg3)
render(MatrixStack arg0, int arg1, int arg2, float arg3)
render(MatrixStack arg0, int arg1, int arg2, float arg3)
m_86412_(C_3181_ p_93658_, int p_93659_, int p_93660_, float arg3)
private void
b()
updateTooltip()
method_47401()
m_yxnhowjp()
applyTooltip()
updateTooltip()
m_257936_()
protected ClientTooltipPositioner
j()
createTooltipPositioner()
method_47937()
m_igppotkm()
getTooltipPositioner()
m_262860_()
public void
a(emc arg0)
setTooltip(Tooltip arg0)
method_47400(class_7919 arg0)
m_tgibvaaa(C_skehaijy arg0)
setTooltip(Tooltip tooltip)
setTooltip(Tooltip tooltip)
m_257544_(C_256714_ arg0)
public void
c(int arg0)
setTooltipDelay(int arg0)
method_47402(int arg0)
m_xuhmsncd(int arg0)
setTooltipDelay(int delay)
setTooltipDelay(int tooltipDelay)
m_257427_(int arg0)
protected MutableComponent
an_()
createNarrationMessage()
method_25360()
m_sjpjzqmc()
getNarrationMessage()
getNarrationMessage()
m_5646_()
public static MutableComponent
a(ss arg0)
wrapDefaultNarrationMessage(Component arg0)
method_32602(class_2561 arg0)
m_yttfswob(C_rdaqiwdt arg0)
getNarrationMessage(Text message)
getNarrationMessage(Text message)
m_168799_(C_4996_ p_168800_)
public void
b(eed 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)
m_hbtivtow(C_cnszsxvd arg0, int arg1, int arg2, float arg3)
renderButton(MatrixStack matrices, int mouseX, int mouseY, float delta)
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(eed arg0, ejf 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)
m_oqieomzg(C_cnszsxvd arg0, C_ayfeobid arg1, int arg2, int arg3)
renderBackground(MatrixStack matrices, MinecraftClient client, int mouseX, int mouseY)
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)
m_hxhlmyqd(double arg0, double arg1)
onClick(double mouseX, double mouseY)
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)
m_fkmytxaq(double arg0, double arg1)
onRelease(double mouseX, double mouseY)
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)
m_qqoyqdvw(double arg0, double arg1, double arg2, double arg3)
onDrag(double mouseX, double mouseY, double deltaX, double deltaY)
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)
m_fpfqbhfx(double arg0, double arg1, int arg2)
mouseClicked(double arg0, double arg1, int arg2)
mouseClicked(double arg0, double arg1, int arg2)
m_6375_(double p_93642_, double arg1, int arg2)
public boolean
b(double arg0, double arg1, int arg2)
mouseReleased(double arg0, double arg1, int arg2)
method_25406(double arg0, double arg1, int arg2)
m_vygbkdkf(double arg0, double arg1, int arg2)
mouseReleased(double arg0, double arg1, int arg2)
mouseReleased(double arg0, double arg1, int arg2)
m_6348_(double p_93685_, double arg1, int arg2)
protected boolean
e(int arg0)
isValidClickButton(int arg0)
method_25351(int arg0)
m_ncxnkkvw(int arg0)
isValidClickButton(int button)
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)
m_shbmcoxj(double arg0, double arg1, int arg2, double arg3, double arg4)
mouseDragged(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
f(double arg0, double arg1)
clicked(double arg0, double arg1)
method_25361(double arg0, double arg1)
m_herdybkq(double arg0, double arg1)
clicked(double mouseX, double mouseY)
clicked(double mouseX, double mouseY)
m_93680_(double p_93682_, double arg1)
public boolean
k()
isHoveredOrFocused()
method_25367()
m_zawcanxc()
isHovered()
isHoveredOrFocused()
m_198029_()
public boolean
b(boolean arg0)
changeFocus(boolean arg0)
method_25407(boolean arg0)
m_cudkwwhh(boolean arg0)
changeFocus(boolean arg0)
changeFocus(boolean arg0)
m_5755_(boolean arg0)
protected void
c(boolean arg0)
onFocusedChanged(boolean arg0)
method_25363(boolean arg0)
m_awnoxrls(boolean arg0)
onFocusedChanged(boolean newFocused)
onFocusedChanged(boolean newFocused)
m_7207_(boolean arg0)
public boolean
c(double arg0, double arg1)
isMouseOver(double arg0, double arg1)
method_25405(double arg0, double arg1)
m_nxrnpxyk(double arg0, double arg1)
isMouseOver(double arg0, double arg1)
isMouseOver(double arg0, double arg1)
m_5953_(double p_93673_, double arg1)
public void
a(fsr arg0)
playDownSound(SoundManager arg0)
method_25354(class_1144 arg0)
m_xaqgdxna(C_hfmtwavd arg0)
playDownSound(SoundManager soundManager)
playDownSound(SoundManager soundManager)
m_7435_(C_4603_ arg0)
public int
n()
getWidth()
method_25368()
m_qdcrzarx()
getWidth()
getWidth()
m_5711_()
public void
f(int arg0)
setWidth(int arg0)
method_25358(int arg0)
m_fhshjyyq(int arg0)
setWidth(int width)
setWidth(int value)
m_93674_(int arg0)
public void
a(float arg0)
setAlpha(float arg0)
method_25350(float arg0)
m_qavvrysx(float arg0)
setAlpha(float alpha)
setAlpha(float value)
m_93650_(float arg0)
public void
b(ss arg0)
setMessage(Component arg0)
method_25355(class_2561 arg0)
m_cwymxoak(C_rdaqiwdt arg0)
setMessage(Text message)
setMessage(Text message)
m_93666_(C_4996_ arg0)
public Component
o()
getMessage()
method_25369()
m_zqcmyqwx()
getMessage()
getMessage()
m_6035_()
public boolean
p()
isFocused()
method_25370()
m_ndujsgvt()
isFocused()
isFocused()
m_93696_()
public boolean
ao_()
isActive()
method_37303()
m_zkmnuipm()
isNarratable()
isNarratable()
m_142518_()
protected void
d(boolean arg0)
setFocused(boolean arg0)
method_25365(boolean arg0)
m_etwaxtam(boolean arg0)
setFocused(boolean focused)
setFocused(boolean focused)
m_93692_(boolean arg0)
public NarratableEntry$NarrationPriority
ap_()
narrationPriority()
method_37018()
m_ohloyjiq()
getType()
getType()
m_142684_()
public final void
b(enk arg0)
updateNarration(NarrationElementOutput arg0)
method_37020(class_6382 arg0)
m_ubiaqpjr(C_pofrkllk arg0)
appendNarrations(NarrationMessageBuilder arg0)
appendNarrations(NarrationMessageBuilder arg0)
m_142291_(C_141608_ arg0)
protected abstract void
a(enk arg0)
updateWidgetNarration(NarrationElementOutput arg0)
method_47399(class_6382 arg0)
m_acsoyrbk(C_pofrkllk arg0)
appendClickableNarrations(NarrationMessageBuilder builder)
updateNarration(NarrationMessageBuilder builder)
m_168797_(C_141608_ arg0)
protected void
c(enk arg0)
defaultButtonNarrationText(NarrationElementOutput arg0)
method_37021(class_6382 arg0)
m_bhvsucly(C_pofrkllk arg0)
appendDefaultNarrations(NarrationMessageBuilder builder)
appendDefaultNarrations(NarrationMessageBuilder builder)
m_168802_(C_141608_ arg0)
public int
r()
getX()
method_46426()
m_runhgobh()
getX()
getX()
m_252754_()
public void
h_(int arg0)
setX(int arg0)
method_46421(int arg0)
m_eegelcnb(int arg0)
setX(int x)
setX(int x)
m_252865_(int arg0)
public void
b(int arg0, int arg1)
setPosition(int arg0, int arg1)
method_1893(int arg0, int arg1)
m_fzvnfkfl(int arg0, int arg1)
setPos(int x, int y)
setPosition(int x, int y)
m_252846_(int p_254478_, int arg1)
public int
s()
getY()
method_46427()
m_ueskwfzt()
getY()
getY()
m_252907_()
public void
b(int arg0)
setY(int arg0)
method_46419(int arg0)
m_iqmzghny(int arg0)
setY(int y)
setY(int y)
m_252888_(int arg0)