net.minecraft.client.gui.screen

public class GameModeSwitcherScreen$ButtonWidget

extends ClickableWidget

All mapped superinterfaces:

Widget, Drawable, Element, Navigable, Selectable, Narratable

net.minecraft.client.gui.screens.debug.GameModeSwitcherScreen$GameModeSlot
net.minecraft.class_5289$class_5291
net.minecraft.client.gui.screen.GameModeSwitcherScreen$ButtonWidget

Field summary

Modifier and TypeField
private final GameModeSwitcherScreen$GameModeSelection
icon
field_24586
gameMode
private boolean
isSelected
field_24587
selected

Constructor summary

ModifierConstructor
public (GameModeSwitcherScreen$GameModeSelection gameMode, int x, int y)

Method summary

Modifier and TypeMethod
public void
extractWidgetRenderState(GuiGraphicsExtractor graphics, int mouseX, int mouseY, float a)
method_48579(class_332 arg0, int arg1, int arg2, float arg3)
renderWidget(DrawContext arg0, int arg1, int arg2, float arg3)
public void
updateWidgetNarration(NarrationElementOutput output)
method_47399(class_6382 arg0)
appendClickableNarrations(NarrationMessageBuilder arg0)
public boolean
isHoveredOrFocused()
method_25367()
isSelected()
public void
setSelected(boolean isSelected)
method_28083(boolean arg0)
setSelected(boolean selected)
private void
extractSlot(GuiGraphicsExtractor graphics)
method_28080(class_332 arg0)
drawBackground(DrawContext context)
private void
extractSelection(GuiGraphicsExtractor graphics)
method_28082(class_332 arg0)
drawSelectionBox(DrawContext context)