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:
class_6379
,class_6383
,Drawable
,Element
- Enclosing class:
- GameModeSelectionScreen
- Mappings:
Namespace Name official eat$b
intermediary net/minecraft/class_5289$class_5291
named net/minecraft/client/gui/screen/GameModeSelectionScreen$ButtonWidget
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.class_6379
class_6379.class_6380
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) GameModeSelectionScreen.GameMode
private boolean
Fields inherited from class net.minecraft.client.gui.widget.ClickableWidget
active, alpha, height, hovered, visible, WIDGETS_TEXTURE, width, x, y
Fields inherited from class net.minecraft.client.gui.DrawableHelper
GUI_ICONS_TEXTURE, OPTIONS_BACKGROUND_TEXTURE, STATS_ICON_TEXTURE
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate void
drawBackground(MatrixStack matrices, TextureManager textureManager)
private void
drawSelectionBox(MatrixStack matrices, TextureManager textureManager)
boolean
void
method_37020(class_6382 class_6382)
void
renderButton(MatrixStack matrices, int mouseX, int mouseY, float delta)
void
setSelected(boolean selected)
Methods inherited from class net.minecraft.client.gui.widget.ClickableWidget
changeFocus, clicked, getHeight, getMessage, getNarrationMessage, getNarrationMessage, getWidth, getYImage, isFocused, isMouseOver, isValidClickButton, method_37018, method_37021, mouseClicked, mouseDragged, mouseReleased, onClick, onDrag, onFocusedChanged, onRelease, playDownSound, render, renderBackground, renderToolTip, setAlpha, setFocused, setMessage, setWidth
Methods inherited from class net.minecraft.client.gui.DrawableHelper
drawCenteredText, drawCenteredText, drawCenteredTextWithShadow, drawHorizontalLine, drawSprite, drawStringWithShadow, drawTexture, drawTexture, drawTexture, drawTexture, drawTextWithShadow, drawVerticalLine, drawWithShadow, fill, fillGradient, fillGradient, fillGradient, getZOffset, method_29343, setZOffset
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.client.gui.Element
charTyped, keyPressed, keyReleased, mouseMoved, mouseScrolled
-
Field Details
-
gameMode
- Mappings:
Namespace Name Mixin selector official b
Leat$b;b:Leat$a;
intermediary field_24586
Lnet/minecraft/class_5289$class_5291;field_24586:Lnet/minecraft/class_5289$class_5290;
named gameMode
Lnet/minecraft/client/gui/screen/GameModeSelectionScreen$ButtonWidget;gameMode:Lnet/minecraft/client/gui/screen/GameModeSelectionScreen$GameMode;
-
selected
private boolean selected- Mappings:
Namespace Name Mixin selector official c
Leat$b;c:Z
intermediary field_24587
Lnet/minecraft/class_5289$class_5291;field_24587:Z
named selected
Lnet/minecraft/client/gui/screen/GameModeSelectionScreen$ButtonWidget;selected:Z
-
-
Constructor Details
-
ButtonWidget
- Mappings:
Namespace Name Mixin selector official <init>
Leat$b;<init>(Leat;Leat$a;II)V
intermediary <init>
Lnet/minecraft/class_5289$class_5291;<init>(Lnet/minecraft/class_5289;Lnet/minecraft/class_5289$class_5290;II)V
named <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:
renderButton
in classClickableWidget
- Mappings:
Namespace Name Mixin selector official b
Ldwh;b(Ldpu;IIF)V
intermediary method_25359
Lnet/minecraft/class_339;method_25359(Lnet/minecraft/class_4587;IIF)V
named renderButton
Lnet/minecraft/client/gui/widget/ClickableWidget;renderButton(Lnet/minecraft/client/util/math/MatrixStack;IIF)V
-
method_37020
- Mappings:
Namespace Name Mixin selector official a
Ldyn;a(Ldym;)V
intermediary method_37020
Lnet/minecraft/class_6383;method_37020(Lnet/minecraft/class_6382;)V
named method_37020
Lnet/minecraft/class_6383;method_37020(Lnet/minecraft/class_6382;)V
-
isHovered
public boolean isHovered()- Overrides:
isHovered
in classClickableWidget
- Mappings:
Namespace Name Mixin selector official e
Ldwh;e()Z
intermediary method_25367
Lnet/minecraft/class_339;method_25367()Z
named isHovered
Lnet/minecraft/client/gui/widget/ClickableWidget;isHovered()Z
-
setSelected
public void setSelected(boolean selected)- Mappings:
Namespace Name Mixin selector official e
Leat$b;e(Z)V
intermediary method_28083
Lnet/minecraft/class_5289$class_5291;method_28083(Z)V
named setSelected
Lnet/minecraft/client/gui/screen/GameModeSelectionScreen$ButtonWidget;setSelected(Z)V
-
drawBackground
- Mappings:
Namespace Name Mixin selector official a
Leat$b;a(Ldpu;Lexf;)V
intermediary method_28080
Lnet/minecraft/class_5289$class_5291;method_28080(Lnet/minecraft/class_4587;Lnet/minecraft/class_1060;)V
named drawBackground
Lnet/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 b
Leat$b;b(Ldpu;Lexf;)V
intermediary method_28082
Lnet/minecraft/class_5289$class_5291;method_28082(Lnet/minecraft/class_4587;Lnet/minecraft/class_1060;)V
named drawSelectionBox
Lnet/minecraft/client/gui/screen/GameModeSelectionScreen$ButtonWidget;drawSelectionBox(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/texture/TextureManager;)V
-