Package net.minecraft.client.gui.screen
Class GameModeSelectionScreen.ButtonWidget
java.lang.Object
net.minecraft.client.gui.widget.ClickableWidget
net.minecraft.client.gui.screen.GameModeSelectionScreen.ButtonWidget
- All Implemented Interfaces:
- Drawable,- Element,- Narratable,- Navigable,- Selectable,- Widget
- Enclosing class:
- GameModeSelectionScreen
@Environment(CLIENT)
public static class GameModeSelectionScreen.ButtonWidget
extends ClickableWidget
- Mappings:
- Namespace - Name - named - net/minecraft/client/gui/screen/GameModeSelectionScreen$ButtonWidget- intermediary - net/minecraft/class_5289$class_5291- official - fuy$b
- 
Nested Class SummaryNested classes/interfaces inherited from interface net.minecraft.client.gui.SelectableSelectable.SelectionType
- 
Field SummaryFieldsModifier and TypeFieldDescription(package private) final GameModeSelectionScreen.GameModeSelectionprivate booleanFields inherited from class net.minecraft.client.gui.widget.ClickableWidgetactive, alpha, height, hovered, visible, widthFields inherited from interface net.minecraft.client.gui.ElementMAX_DOUBLE_CLICK_INTERVAL
- 
Constructor SummaryConstructorsConstructorDescriptionButtonWidget(GameModeSelectionScreen.GameModeSelection gameMode, int x, int y) 
- 
Method SummaryModifier and TypeMethodDescriptionvoidprivate voiddrawBackground(DrawContext context) private voiddrawSelectionBox(DrawContext context) booleanvoidrenderWidget(DrawContext context, int mouseX, int mouseY, float delta) voidsetSelected(boolean selected) Methods inherited from class net.minecraft.client.gui.widget.ClickableWidgetappendDefaultNarrations, appendNarrations, drawScrollableText, drawScrollableText, drawScrollableText, forEachChild, getBottom, getHeight, getMessage, getNarrationMessage, getNarrationMessage, getNavigationFocus, getNavigationOrder, getNavigationPath, getRight, getTooltip, getType, getWidth, getX, getY, isFocused, isHovered, isMouseOver, isNarratable, isValidClickButton, mouseClicked, mouseDragged, mouseReleased, onClick, onDrag, onRelease, playClickSound, playDownSound, render, setAlpha, setDimensions, setDimensionsAndPosition, setFocused, setHeight, setMessage, setNavigationOrder, setTooltip, setTooltipDelay, setWidth, setX, setYMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.client.gui.ElementcharTyped, getBorder, getFocusedPath, keyPressed, keyReleased, mouseMoved, mouseScrolledMethods inherited from interface net.minecraft.client.gui.SelectablegetNarratedPartsMethods inherited from interface net.minecraft.client.gui.widget.WidgetsetPosition
- 
Field Details- 
gameMode- Mappings:
- Namespace - Name - Mixin selector - named - gameMode- Lnet/minecraft/client/gui/screen/GameModeSelectionScreen$ButtonWidget;gameMode:Lnet/minecraft/client/gui/screen/GameModeSelectionScreen$GameModeSelection;- intermediary - field_24586- Lnet/minecraft/class_5289$class_5291;field_24586:Lnet/minecraft/class_5289$class_5290;- official - a- Lfuy$b;a:Lfuy$a;
 
- 
selectedprivate boolean selected- Mappings:
- Namespace - Name - Mixin selector - named - selected- Lnet/minecraft/client/gui/screen/GameModeSelectionScreen$ButtonWidget;selected:Z- intermediary - field_24587- Lnet/minecraft/class_5289$class_5291;field_24587:Z- official - b- Lfuy$b;b:Z
 
 
- 
- 
Constructor Details- 
ButtonWidget- Mappings:
- Namespace - Name - Mixin selector - named - <init>- Lnet/minecraft/client/gui/screen/GameModeSelectionScreen$ButtonWidget;<init>(Lnet/minecraft/client/gui/screen/GameModeSelectionScreen$GameModeSelection;II)V- intermediary - <init>- Lnet/minecraft/class_5289$class_5291;<init>(Lnet/minecraft/class_5289$class_5290;II)V- official - <init>- Lfuy$b;<init>(Lfuy$a;II)V
 
 
- 
- 
Method Details- 
renderWidget- Specified by:
- renderWidgetin class- ClickableWidget
- Mappings:
- Namespace - Name - Mixin selector - named - renderWidget- Lnet/minecraft/client/gui/widget/ClickableWidget;renderWidget(Lnet/minecraft/client/gui/DrawContext;IIF)V- intermediary - method_48579- Lnet/minecraft/class_339;method_48579(Lnet/minecraft/class_332;IIF)V- official - b- Lfos;b(Lfof;IIF)V
 
- 
appendClickableNarrations- Specified by:
- appendClickableNarrationsin class- ClickableWidget
- Mappings:
- Namespace - Name - Mixin selector - named - appendClickableNarrations- Lnet/minecraft/client/gui/widget/ClickableWidget;appendClickableNarrations(Lnet/minecraft/client/gui/screen/narration/NarrationMessageBuilder;)V- intermediary - method_47399- Lnet/minecraft/class_339;method_47399(Lnet/minecraft/class_6382;)V- official - a- Lfos;a(Lfsr;)V
 
- 
isSelectedpublic boolean isSelected()- Overrides:
- isSelectedin class- ClickableWidget
- Mappings:
- Namespace - Name - Mixin selector - named - isSelected- Lnet/minecraft/client/gui/widget/ClickableWidget;isSelected()Z- intermediary - method_25367- Lnet/minecraft/class_339;method_25367()Z- official - D- Lfos;D()Z
 
- 
setSelectedpublic void setSelected(boolean selected) - Mappings:
- Namespace - Name - Mixin selector - named - setSelected- Lnet/minecraft/client/gui/screen/GameModeSelectionScreen$ButtonWidget;setSelected(Z)V- intermediary - method_28083- Lnet/minecraft/class_5289$class_5291;method_28083(Z)V- official - b- Lfuy$b;b(Z)V
 
- 
drawBackground- Mappings:
- Namespace - Name - Mixin selector - named - drawBackground- Lnet/minecraft/client/gui/screen/GameModeSelectionScreen$ButtonWidget;drawBackground(Lnet/minecraft/client/gui/DrawContext;)V- intermediary - method_28080- Lnet/minecraft/class_5289$class_5291;method_28080(Lnet/minecraft/class_332;)V- official - a- Lfuy$b;a(Lfof;)V
 
- 
drawSelectionBox- Mappings:
- Namespace - Name - Mixin selector - named - drawSelectionBox- Lnet/minecraft/client/gui/screen/GameModeSelectionScreen$ButtonWidget;drawSelectionBox(Lnet/minecraft/client/gui/DrawContext;)V- intermediary - method_28082- Lnet/minecraft/class_5289$class_5291;method_28082(Lnet/minecraft/class_332;)V- official - b- Lfuy$b;b(Lfof;)V
 
 
-