net.minecraft.client.gui.components

public class StateSwitchingButton

extends AbstractWidget

All mapped superinterfaces:

Widget, GuiEventListener

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

字段概要

修饰符与类型字段
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
f
yDiffTex
field_2189
hoverVOffset
field_191759_t

构造函数概要

修饰符构造函数
public (int x, int y, int width, int height, boolean toggled)

方法概要

修饰符与类型方法
public void
a(int arg0, int arg1, int arg2, int arg3, sm 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
a(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
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)