net.minecraft.client.gui.components

public class StateSwitchingButton

extends AbstractWidget

All mapped superinterfaces:

Widget, GuiEventListener

dlx
net.minecraft.client.gui.components.StateSwitchingButton
net.minecraft.class_361
net.minecraft.client.gui.widget.ToggleButtonWidget
net.minecraft.client.gui.widget.ToggleWidget

Field summary

Modifier and TypeField
protected ResourceLocation
a
resourceLocation
field_2193
texture
field_191760_o
protected boolean
b
isStateTriggered
field_2194
toggled
field_191755_p
protected int
c
xTexStart
field_2192
u
field_191756_q
protected int
d
yTexStart
field_2191
v
field_191757_r
protected int
e
xDiffTex
field_2190
pressedUOffset
field_191758_s
protected int
s
yDiffTex
field_2189
hoverVOffset
field_191759_t

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, vk 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)
func_191751_a(int arg0, int arg1, int arg2, int arg3, ResourceLocation arg4)
public void
e(boolean arg0)
setStateTriggered(boolean arg0)
method_1964(boolean arg0)
setToggled(boolean toggled)
func_191753_b(boolean arg0)
public boolean
a()
isStateTriggered()
method_1965()
isToggled()
func_191754_c()
public void
a(int arg0, int arg1)
setPosition(int arg0, int arg1)
method_1963(int arg0, int arg1)
setPos(int x, int y)
func_191752_c(int arg0, int arg1)
public void
b(dfj 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)
func_230431_b_(MatrixStack arg0, int arg1, int arg2, float arg3)