net.minecraft.client.gui.components

public class StateSwitchingButton

extends AbstractWidget

All mapped superinterfaces:

Renderable, GuiEventListener, TabOrderedElement, LayoutElement, NarratableEntry, NarrationSupplier

epb
net.minecraft.client.gui.components.StateSwitchingButton
net.minecraft.class_361
net.minecraft.unmapped.C_zasgmfxj
net.minecraft.client.gui.widget.ToggleButtonWidget
net.minecraft.client.gui.widget.ToggleButtonWidget
net.minecraft.src.C_3486_

Field summary

Modifier and TypeField
protected ResourceLocation
a
resourceLocation
field_2193
f_hrvxobat
texture
texture
f_94608_
protected boolean
b
isStateTriggered
field_2194
f_zffxuohl
toggled
toggled
f_94609_
protected int
c
xTexStart
field_2192
f_aniqmvat
u
u
f_94610_
protected int
d
yTexStart
field_2191
f_dzuveanf
v
v
f_94611_
protected int
e
xDiffTex
field_2190
f_bhienxva
pressedUOffset
pressedUOffset
f_94612_
protected int
f
yDiffTex
field_2189
f_rslhxeqx
hoverVOffset
hoverVOffset
f_94613_

Constructor summary

ModifierConstructor
public (int x, int y, int width, int height, boolean toggled)

Method summary

Modifier and TypeMethod
public void
a(int arg0, int arg1, int arg2, int arg3, add arg4)
initTextureValues(int arg0, int arg1, int arg2, int arg3, ResourceLocation arg4)
method_1962(int arg0, int arg1, int arg2, int arg3, class_2960 arg4)
m_tlmwmyoo(int arg0, int arg1, int arg2, int arg3, C_ncpywfca arg4)
setTextureUV(int u, int v, int pressedUOffset, int hoverVOffset, Identifier texture)
setTextureUV(int u, int v, int pressedUOffset, int hoverVOffset, Identifier texture)
m_94624_(int p_94626_, int p_94627_, int p_94628_, int p_94629_, C_5265_ arg4)
public void
b(boolean arg0)
setStateTriggered(boolean arg0)
method_1964(boolean arg0)
m_hxuvrhli(boolean arg0)
setToggled(boolean toggled)
setToggled(boolean toggled)
m_94635_(boolean arg0)
public boolean
a()
isStateTriggered()
method_1965()
m_mtglopiy()
isToggled()
isToggled()
m_94620_()
public void
a(ere 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(ehe arg0, int arg1, int arg2, float arg3)
renderWidget(PoseStack arg0, int arg1, int arg2, float arg3)
method_48579(class_4587 arg0, int arg1, int arg2, float arg3)
m_mxhoikgj(C_cnszsxvd arg0, int arg1, int arg2, float arg3)
renderButton(MatrixStack arg0, int arg1, int arg2, float arg3)
drawWidget(MatrixStack arg0, int arg1, int arg2, float arg3)
m_87963_(C_3181_ p_94632_, int p_94633_, int p_94634_, float arg3)