net.minecraft.client.gui.widget

public class ToggleButtonWidget

extends AbstractButtonWidget

All mapped superinterfaces:

Drawable, Element

cxk
net.minecraft.class_361
net.minecraft.client.gui.widget.ToggleButtonWidget
net.minecraft.client.gui.widget.ToggleButton
net.minecraft.client.gui.widget.ToggleWidget
net.minecraft.client.gui.widget.ToggleWidget

Field summary

Modifier and TypeField
protected Identifier
a
field_2193
texture
textureLocation
field_191760_o
resourceLocation
protected boolean
b
field_2194
toggled
on
field_191755_p
stateTriggered
protected int
c
field_2192
u
textureU
field_191756_q
xTexStart
protected int
d
field_2191
v
textureV
field_191757_r
yTexStart
protected int
e
field_2190
pressedUOffset
textureWidth
field_191758_s
xDiffTex
protected int
f
field_2189
hoverVOffset
textureHeight
field_191759_t
yDiffTex

Constructor summary

ModifierConstructor
public (int arg0, int arg1, int arg2, int arg3, boolean arg4)

Method summary

Modifier and TypeMethod
public void
a(int arg0, int arg1, int arg2, int arg3, qt arg4)
method_1962(int arg0, int arg1, int arg2, int arg3, class_2960 arg4)
setTextureUV(int arg0, int arg1, int arg2, int arg3, Identifier arg4)
setTexture(int u, int v, int width, int height, Identifier textureLocation)
func_191751_a(int arg0, int arg1, int arg2, int arg3, ResourceLocation arg4)
initTextureValues(int xTexStartIn, int yTexStartIn, int xDiffTexIn, int yDiffTexIn, ResourceLocation resourceLocationIn)
public void
a(boolean arg0)
method_1964(boolean arg0)
setToggled(boolean arg0)
setToggled(boolean on)
func_191753_b(boolean arg0)
setStateTriggered(boolean triggered)
public boolean
a()
method_1965()
isToggled()
isToggled()
func_191754_c()
isStateTriggered()
public void
a(int arg0, int arg1)
method_1963(int arg0, int arg1)
setPos(int arg0, int arg1)
setPosition(int x, int y)
func_191752_c(int arg0, int arg1)
setPosition(int xIn, int yIn)
public void
renderButton(int arg0, int arg1, float arg2)
renderButton(int arg0, int arg1, float arg2)
renderButton(int arg0, int arg1, float arg2)
renderButton(int arg0, int arg1, float arg2)
renderButton(int arg0, int arg1, float arg2)
renderButton(int arg0, int arg1, float arg2)