Package net.minecraft.client.gui.screen
Class GameModeSelectionScreen.ButtonWidget
java.lang.Object
net.minecraft.client.gui.DrawableHelper
net.minecraft.client.gui.widget.ClickableWidget
net.minecraft.client.gui.screen.GameModeSelectionScreen.ButtonWidget
- All Implemented Interfaces:
Drawable,Element,Narratable,Selectable
- Enclosing class:
- GameModeSelectionScreen
- Mappings:
Namespace Name official ebj$bintermediary net/minecraft/class_5289$class_5291named net/minecraft/client/gui/screen/GameModeSelectionScreen$ButtonWidget
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.client.gui.Selectable
Selectable.SelectionType -
Field Summary
FieldsModifier and TypeFieldDescription(package private) GameModeSelectionScreen.GameModeprivate booleanFields inherited from class net.minecraft.client.gui.widget.ClickableWidget
active, alpha, height, hovered, visible, WIDGETS_TEXTURE, width, x, yFields inherited from class net.minecraft.client.gui.DrawableHelper
GUI_ICONS_TEXTURE, OPTIONS_BACKGROUND_TEXTURE, STATS_ICON_TEXTURE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidappendNarrations(NarrationMessageBuilder builder)private voiddrawBackground(MatrixStack matrices, TextureManager textureManager)private voiddrawSelectionBox(MatrixStack matrices, TextureManager textureManager)booleanvoidrenderButton(MatrixStack matrices, int mouseX, int mouseY, float delta)voidsetSelected(boolean selected)Methods inherited from class net.minecraft.client.gui.widget.ClickableWidget
changeFocus, clicked, getHeight, getMessage, getNarrationMessage, getNarrationMessage, getType, getWidth, getYImage, isFocused, isMouseOver, isValidClickButton, method_37021, method_37303, mouseClicked, mouseDragged, mouseReleased, onClick, onDrag, onFocusedChanged, onRelease, playDownSound, render, renderBackground, renderToolTip, setAlpha, setFocused, setMessage, setWidthMethods inherited from class net.minecraft.client.gui.DrawableHelper
drawCenteredText, drawCenteredText, drawCenteredTextWithShadow, drawHorizontalLine, drawSprite, drawStringWithShadow, drawTexture, drawTexture, drawTexture, drawTexture, drawTextWithShadow, drawVerticalLine, drawWithOutline, drawWithShadow, fill, fillGradient, fillGradient, fillGradient, getZOffset, setZOffsetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.client.gui.Element
charTyped, keyPressed, keyReleased, mouseMoved, mouseScrolled
-
Field Details
-
gameMode
- Mappings:
Namespace Name Mixin selector official bLebj$b;b:Lebj$a;intermediary field_24586Lnet/minecraft/class_5289$class_5291;field_24586:Lnet/minecraft/class_5289$class_5290;named gameModeLnet/minecraft/client/gui/screen/GameModeSelectionScreen$ButtonWidget;gameMode:Lnet/minecraft/client/gui/screen/GameModeSelectionScreen$GameMode;
-
selected
private boolean selected- Mappings:
Namespace Name Mixin selector official cLebj$b;c:Zintermediary field_24587Lnet/minecraft/class_5289$class_5291;field_24587:Znamed selectedLnet/minecraft/client/gui/screen/GameModeSelectionScreen$ButtonWidget;selected:Z
-
-
Constructor Details
-
ButtonWidget
- Mappings:
Namespace Name Mixin selector official <init>Lebj$b;<init>(Lebj;Lebj$a;II)Vintermediary <init>Lnet/minecraft/class_5289$class_5291;<init>(Lnet/minecraft/class_5289;Lnet/minecraft/class_5289$class_5290;II)Vnamed <init>Lnet/minecraft/client/gui/screen/GameModeSelectionScreen$ButtonWidget;<init>(Lnet/minecraft/client/gui/screen/GameModeSelectionScreen;Lnet/minecraft/client/gui/screen/GameModeSelectionScreen$GameMode;II)V
-
-
Method Details
-
renderButton
- Overrides:
renderButtonin classClickableWidget- Mappings:
Namespace Name Mixin selector official bLdwx;b(Ldqk;IIF)Vintermediary method_25359Lnet/minecraft/class_339;method_25359(Lnet/minecraft/class_4587;IIF)Vnamed renderButtonLnet/minecraft/client/gui/widget/ClickableWidget;renderButton(Lnet/minecraft/client/util/math/MatrixStack;IIF)V
-
appendNarrations
- Mappings:
Namespace Name Mixin selector official aLdzd;a(Ldzc;)Vintermediary method_37020Lnet/minecraft/class_6383;method_37020(Lnet/minecraft/class_6382;)Vnamed appendNarrationsLnet/minecraft/client/gui/Narratable;appendNarrations(Lnet/minecraft/client/gui/screen/narration/NarrationMessageBuilder;)V
-
isHovered
public boolean isHovered()- Overrides:
isHoveredin classClickableWidget- Mappings:
Namespace Name Mixin selector official eLdwx;e()Zintermediary method_25367Lnet/minecraft/class_339;method_25367()Znamed isHoveredLnet/minecraft/client/gui/widget/ClickableWidget;isHovered()Z
-
setSelected
public void setSelected(boolean selected)- Mappings:
Namespace Name Mixin selector official eLebj$b;e(Z)Vintermediary method_28083Lnet/minecraft/class_5289$class_5291;method_28083(Z)Vnamed setSelectedLnet/minecraft/client/gui/screen/GameModeSelectionScreen$ButtonWidget;setSelected(Z)V
-
drawBackground
- Mappings:
Namespace Name Mixin selector official aLebj$b;a(Ldqk;Lexm;)Vintermediary method_28080Lnet/minecraft/class_5289$class_5291;method_28080(Lnet/minecraft/class_4587;Lnet/minecraft/class_1060;)Vnamed drawBackgroundLnet/minecraft/client/gui/screen/GameModeSelectionScreen$ButtonWidget;drawBackground(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/texture/TextureManager;)V
-
drawSelectionBox
- Mappings:
Namespace Name Mixin selector official bLebj$b;b(Ldqk;Lexm;)Vintermediary method_28082Lnet/minecraft/class_5289$class_5291;method_28082(Lnet/minecraft/class_4587;Lnet/minecraft/class_1060;)Vnamed drawSelectionBoxLnet/minecraft/client/gui/screen/GameModeSelectionScreen$ButtonWidget;drawSelectionBox(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/texture/TextureManager;)V
-