net.minecraft.client.gui.components

public class StateSwitchingButton

extends AbstractWidget

All mapped superinterfaces:

Widget, GuiEventListener, NarratableEntry, NarrationSupplier

ehj
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, aaj 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
e(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(int arg0, int arg1)
setPosition(int arg0, int arg1)
method_1963(int arg0, int arg1)
setPos(int x, int y)
m_94621_(int p_94623_, int arg1)
public void
a(eiu arg0)
updateNarration(NarrationElementOutput arg0)
method_37020(class_6382 arg0)
appendNarrations(NarrationMessageBuilder arg0)
m_142291_(C_141608_ arg0)
public void
b(dzt 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 arg0, int arg1, int arg2, float arg3)
m_6303_(C_3181_ p_94632_, int p_94633_, int p_94634_, float arg3)