net.minecraft.client.gui.components

public class StateSwitchingButton

extends AbstractWidget

All mapped superinterfaces:

Renderable, GuiEventListener, TabOrderedElement, LayoutElement, NarratableEntry, NarrationSupplier

eqj
net.minecraft.client.gui.components.StateSwitchingButton
net.minecraft.class_361
net.minecraft.client.gui.widget.ToggleButtonWidget
net.minecraft.src.C_3486_

Field summary

Modifier and TypeField
protected ResourceLocation
a
resourceLocation
field_2193
texture
f_94608_
protected boolean
b
isStateTriggered
field_2194
toggled
f_94609_
protected int
c
xTexStart
field_2192
u
f_94610_
protected int
d
yTexStart
field_2191
v
f_94611_
protected int
e
xDiffTex
field_2190
pressedUOffset
f_94612_
protected int
f
yDiffTex
field_2189
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, acq 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)
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)
setToggled(boolean toggled)
m_94635_(boolean arg0)
public boolean
a()
isStateTriggered()
method_1965()
isToggled()
m_94620_()
public void
a(esp arg0)
updateWidgetNarration(NarrationElementOutput arg0)
method_47399(class_6382 arg0)
appendClickableNarrations(NarrationMessageBuilder arg0)
m_168797_(C_141608_ arg0)
public void
b(eox arg0, int arg1, int arg2, float arg3)
renderWidget(GuiGraphics arg0, int arg1, int arg2, float arg3)
method_48579(class_332 arg0, int arg1, int arg2, float arg3)
renderButton(DrawContext arg0, int arg1, int arg2, float arg3)
m_87963_(C_279497_ p_283010_, int p_281379_, int p_283453_, float arg3)