net.minecraft.client.gui.components

public class StateSwitchingButton

extends AbstractWidget

All mapped superinterfaces:

Renderable, GuiEventListener, TabOrderedElement, LayoutElement, NarratableEntry, NarrationSupplier

fqa
net.minecraft.client.gui.components.StateSwitchingButton
net.minecraft.class_361
net.minecraft.client.gui.widget.ToggleButtonWidget

Field summary

Modifier and TypeField
protected WidgetSprites
a
sprites
field_45390
textures
protected boolean
b
isStateTriggered
field_2194
toggled

Constructor summary

ModifierConstructor
public (int x, int y, int width, int height, boolean toggled)

Method summary

Modifier and TypeMethod
public void
a(fqh arg0)
initTextureValues(WidgetSprites arg0)
method_1962(class_8666 arg0)
setTextures(ButtonTextures textures)
public void
b(boolean arg0)
setStateTriggered(boolean arg0)
method_1964(boolean arg0)
setToggled(boolean toggled)
public boolean
a()
isStateTriggered()
method_1965()
isToggled()
public void
a(fsr arg0)
updateWidgetNarration(NarrationElementOutput arg0)
method_47399(class_6382 arg0)
appendClickableNarrations(NarrationMessageBuilder arg0)
public void
b(fof 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)
renderWidget(DrawContext arg0, int arg1, int arg2, float arg3)