net.minecraft.client.gui.components

public class StateSwitchingButton

extends AbstractWidget

All mapped superinterfaces:

Renderable, GuiEventListener, TabOrderedElement, LayoutElement, NarratableEntry, NarrationSupplier

eym
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 WidgetSprites
a
sprites
field_45390
textures
f_290997_
protected boolean
b
isStateTriggered
field_2194
toggled
f_94609_

Constructor summary

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

Method summary

Modifier and TypeMethod
public void
a(eyt arg0)
initTextureValues(WidgetSprites arg0)
method_1962(class_8666 arg0)
setTextures(ButtonTextures textures)
m_94624_(C_290164_ arg0)
public void
b(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(faz arg0)
updateWidgetNarration(NarrationElementOutput arg0)
method_47399(class_6382 arg0)
appendClickableNarrations(NarrationMessageBuilder arg0)
m_168797_(C_141608_ arg0)
public void
b(ewu 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)
m_87963_(C_279497_ p_283010_, int p_281379_, int p_283453_, float arg3)