Package net.minecraft.client.gui.screen
Class GameMenuScreen
java.lang.Object
net.minecraft.client.gui.DrawableHelper
net.minecraft.client.gui.AbstractParentElement
net.minecraft.client.gui.screen.Screen
net.minecraft.client.gui.screen.GameMenuScreen
- All Implemented Interfaces:
Drawable
,Element
,ParentElement
- Mappings:
Namespace Name official eow
intermediary net/minecraft/class_433
named net/minecraft/client/gui/screen/GameMenuScreen
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.client.gui.screen.Screen
Screen.SelectedElementNarrationData
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final Text
private static final Text
private @Nullable ButtonWidget
private static final int
private static final int
private static final int
private static final int
private static final int
private static final Text
private static final String
private static final Text
private static final Text
private static final Text
private static final Text
private static final Text
private static final Text
private static final Text
private static final Text
private static final Text
private final boolean
private static final String
private static final String
private static final Text
Fields inherited from class net.minecraft.client.gui.screen.Screen
client, height, itemRenderer, passEvents, textRenderer, title, width
Fields inherited from class net.minecraft.client.gui.DrawableHelper
GUI_ICONS_TEXTURE, OPTIONS_BACKGROUND_TEXTURE, STATS_ICON_TEXTURE
Fields inherited from interface net.minecraft.client.gui.Element
MAX_DOUBLE_CLICK_INTERVAL
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate ButtonWidget
createButton
(Text text, Supplier<Screen> screenSupplier) private ButtonWidget
createUrlButton
(Text text, String url) private void
protected void
init()
Called when a screen should be initialized.private void
void
render
(MatrixStack matrices, int mouseX, int mouseY, float delta) void
tick()
Methods inherited from class net.minecraft.client.gui.screen.Screen
addDrawable, addDrawableChild, addElementNarrations, addScreenNarrations, addSelectableChild, applyKeyPressNarratorDelay, applyMouseMoveNarratorDelay, applyMousePressScrollNarratorDelay, applyNarratorModeChangeDelay, children, clearAndInit, clearChildren, close, filesDragged, findSelectedElementData, getNarratedTitle, getTitle, getTooltipFromItem, handleTextClick, hasAltDown, hasControlDown, hasShiftDown, hide, init, insertText, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, keyPressed, narrateScreenIfNarrationEnabled, remove, removed, renderBackground, renderBackground, renderBackgroundTexture, renderOrderedTooltip, renderTextHoverEffect, renderTooltip, renderTooltip, renderTooltip, renderTooltip, renderWithTooltip, resize, setTooltip, setTooltip, setTooltip, setTooltip, shouldCloseOnEsc, shouldPause, updateNarrator, wrapScreenError
Methods inherited from class net.minecraft.client.gui.AbstractParentElement
getFocused, isDragging, setDragging, setFocused
Methods inherited from class net.minecraft.client.gui.DrawableHelper
disableScissor, drawCenteredText, drawCenteredText, drawCenteredTextWithShadow, drawHorizontalLine, drawSprite, drawStringWithShadow, drawTexture, drawTexture, drawTexture, drawTexture, drawTextWithShadow, drawVerticalLine, drawWithOutline, drawWithShadow, enableScissor, fill, fillGradient, fillGradient, fillGradient, getZOffset, 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
mouseMoved
Methods inherited from interface net.minecraft.client.gui.ParentElement
changeFocus, charTyped, focusOn, hoveredElement, keyReleased, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, setInitialFocus
-
Field Details
-
SNAPSHOT_FEEDBACK_URL
- See Also:
- Mappings:
Namespace Name Mixin selector official a
Leow;a:Ljava/lang/String;
intermediary field_32257
Lnet/minecraft/class_433;field_32257:Ljava/lang/String;
named SNAPSHOT_FEEDBACK_URL
Lnet/minecraft/client/gui/screen/GameMenuScreen;SNAPSHOT_FEEDBACK_URL:Ljava/lang/String;
-
JAVA_FEEDBACK_URL
- See Also:
- Mappings:
Namespace Name Mixin selector official b
Leow;b:Ljava/lang/String;
intermediary field_32258
Lnet/minecraft/class_433;field_32258:Ljava/lang/String;
named JAVA_FEEDBACK_URL
Lnet/minecraft/client/gui/screen/GameMenuScreen;JAVA_FEEDBACK_URL:Ljava/lang/String;
-
SNAPSHOT_BUGS_URL
- See Also:
- Mappings:
Namespace Name Mixin selector official c
Leow;c:Ljava/lang/String;
intermediary field_32259
Lnet/minecraft/class_433;field_32259:Ljava/lang/String;
named SNAPSHOT_BUGS_URL
Lnet/minecraft/client/gui/screen/GameMenuScreen;SNAPSHOT_BUGS_URL:Ljava/lang/String;
-
field_41616
private static final int field_41616- See Also:
- Mappings:
Namespace Name Mixin selector official n
Leow;n:I
intermediary field_41616
Lnet/minecraft/class_433;field_41616:I
named field_41616
Lnet/minecraft/client/gui/screen/GameMenuScreen;field_41616:I
-
field_41617
private static final int field_41617- See Also:
- Mappings:
Namespace Name Mixin selector official o
Leow;o:I
intermediary field_41617
Lnet/minecraft/class_433;field_41617:I
named field_41617
Lnet/minecraft/client/gui/screen/GameMenuScreen;field_41617:I
-
field_41618
private static final int field_41618- See Also:
- Mappings:
Namespace Name Mixin selector official p
Leow;p:I
intermediary field_41618
Lnet/minecraft/class_433;field_41618:I
named field_41618
Lnet/minecraft/client/gui/screen/GameMenuScreen;field_41618:I
-
field_41619
private static final int field_41619- See Also:
- Mappings:
Namespace Name Mixin selector official q
Leow;q:I
intermediary field_41619
Lnet/minecraft/class_433;field_41619:I
named field_41619
Lnet/minecraft/client/gui/screen/GameMenuScreen;field_41619:I
-
field_41620
private static final int field_41620- See Also:
- Mappings:
Namespace Name Mixin selector official r
Leow;r:I
intermediary field_41620
Lnet/minecraft/class_433;field_41620:I
named field_41620
Lnet/minecraft/client/gui/screen/GameMenuScreen;field_41620:I
-
RETURN_TO_GAME_TEXT
- Mappings:
Namespace Name Mixin selector official s
Leow;s:Lss;
intermediary field_41621
Lnet/minecraft/class_433;field_41621:Lnet/minecraft/class_2561;
named RETURN_TO_GAME_TEXT
Lnet/minecraft/client/gui/screen/GameMenuScreen;RETURN_TO_GAME_TEXT:Lnet/minecraft/text/Text;
-
ADVANCEMENTS_TEXT
- Mappings:
Namespace Name Mixin selector official t
Leow;t:Lss;
intermediary field_41622
Lnet/minecraft/class_433;field_41622:Lnet/minecraft/class_2561;
named ADVANCEMENTS_TEXT
Lnet/minecraft/client/gui/screen/GameMenuScreen;ADVANCEMENTS_TEXT:Lnet/minecraft/text/Text;
-
STATS_TEXT
- Mappings:
Namespace Name Mixin selector official u
Leow;u:Lss;
intermediary field_41623
Lnet/minecraft/class_433;field_41623:Lnet/minecraft/class_2561;
named STATS_TEXT
Lnet/minecraft/client/gui/screen/GameMenuScreen;STATS_TEXT:Lnet/minecraft/text/Text;
-
SEND_FEEDBACK_TEXT
- Mappings:
Namespace Name Mixin selector official v
Leow;v:Lss;
intermediary field_41624
Lnet/minecraft/class_433;field_41624:Lnet/minecraft/class_2561;
named SEND_FEEDBACK_TEXT
Lnet/minecraft/client/gui/screen/GameMenuScreen;SEND_FEEDBACK_TEXT:Lnet/minecraft/text/Text;
-
REPORT_BUGS_TEXT
- Mappings:
Namespace Name Mixin selector official w
Leow;w:Lss;
intermediary field_41625
Lnet/minecraft/class_433;field_41625:Lnet/minecraft/class_2561;
named REPORT_BUGS_TEXT
Lnet/minecraft/client/gui/screen/GameMenuScreen;REPORT_BUGS_TEXT:Lnet/minecraft/text/Text;
-
OPTIONS_TEXT
- Mappings:
Namespace Name Mixin selector official x
Leow;x:Lss;
intermediary field_41626
Lnet/minecraft/class_433;field_41626:Lnet/minecraft/class_2561;
named OPTIONS_TEXT
Lnet/minecraft/client/gui/screen/GameMenuScreen;OPTIONS_TEXT:Lnet/minecraft/text/Text;
-
SHARE_TO_LAN_TEXT
- Mappings:
Namespace Name Mixin selector official y
Leow;y:Lss;
intermediary field_41627
Lnet/minecraft/class_433;field_41627:Lnet/minecraft/class_2561;
named SHARE_TO_LAN_TEXT
Lnet/minecraft/client/gui/screen/GameMenuScreen;SHARE_TO_LAN_TEXT:Lnet/minecraft/text/Text;
-
PLAYER_REPORTING_TEXT
- Mappings:
Namespace Name Mixin selector official z
Leow;z:Lss;
intermediary field_41628
Lnet/minecraft/class_433;field_41628:Lnet/minecraft/class_2561;
named PLAYER_REPORTING_TEXT
Lnet/minecraft/client/gui/screen/GameMenuScreen;PLAYER_REPORTING_TEXT:Lnet/minecraft/text/Text;
-
RETURN_TO_MENU_TEXT
- Mappings:
Namespace Name Mixin selector official A
Leow;A:Lss;
intermediary field_41611
Lnet/minecraft/class_433;field_41611:Lnet/minecraft/class_2561;
named RETURN_TO_MENU_TEXT
Lnet/minecraft/client/gui/screen/GameMenuScreen;RETURN_TO_MENU_TEXT:Lnet/minecraft/text/Text;
-
DISCONNECT_TEXT
- Mappings:
Namespace Name Mixin selector official B
Leow;B:Lss;
intermediary field_41612
Lnet/minecraft/class_433;field_41612:Lnet/minecraft/class_2561;
named DISCONNECT_TEXT
Lnet/minecraft/client/gui/screen/GameMenuScreen;DISCONNECT_TEXT:Lnet/minecraft/text/Text;
-
SAVING_LEVEL_TEXT
- Mappings:
Namespace Name Mixin selector official C
Leow;C:Lss;
intermediary field_41613
Lnet/minecraft/class_433;field_41613:Lnet/minecraft/class_2561;
named SAVING_LEVEL_TEXT
Lnet/minecraft/client/gui/screen/GameMenuScreen;SAVING_LEVEL_TEXT:Lnet/minecraft/text/Text;
-
GAME_TEXT
- Mappings:
Namespace Name Mixin selector official D
Leow;D:Lss;
intermediary field_41614
Lnet/minecraft/class_433;field_41614:Lnet/minecraft/class_2561;
named GAME_TEXT
Lnet/minecraft/client/gui/screen/GameMenuScreen;GAME_TEXT:Lnet/minecraft/text/Text;
-
PAUSED_TEXT
- Mappings:
Namespace Name Mixin selector official E
Leow;E:Lss;
intermediary field_41615
Lnet/minecraft/class_433;field_41615:Lnet/minecraft/class_2561;
named PAUSED_TEXT
Lnet/minecraft/client/gui/screen/GameMenuScreen;PAUSED_TEXT:Lnet/minecraft/text/Text;
-
showMenu
private final boolean showMenu- Mappings:
Namespace Name Mixin selector official F
Leow;F:Z
intermediary field_19319
Lnet/minecraft/class_433;field_19319:Z
named showMenu
Lnet/minecraft/client/gui/screen/GameMenuScreen;showMenu:Z
-
exitButton
- Mappings:
Namespace Name Mixin selector official G
Leow;G:Leky;
intermediary field_40792
Lnet/minecraft/class_433;field_40792:Lnet/minecraft/class_4185;
named exitButton
Lnet/minecraft/client/gui/screen/GameMenuScreen;exitButton:Lnet/minecraft/client/gui/widget/ButtonWidget;
-
-
Constructor Details
-
GameMenuScreen
public GameMenuScreen(boolean showMenu) - Mappings:
Namespace Name Mixin selector official <init>
Leow;<init>(Z)V
intermediary <init>
Lnet/minecraft/class_433;<init>(Z)V
named <init>
Lnet/minecraft/client/gui/screen/GameMenuScreen;<init>(Z)V
-
-
Method Details
-
init
protected void init()Called when a screen should be initialized.This method is called when this screen is opened or resized.
-
initWidgets
private void initWidgets()- Mappings:
Namespace Name Mixin selector official i
Leow;i()V
intermediary method_20543
Lnet/minecraft/class_433;method_20543()V
named initWidgets
Lnet/minecraft/client/gui/screen/GameMenuScreen;initWidgets()V
-
disconnect
private void disconnect()- Mappings:
Namespace Name Mixin selector official w
Leow;w()V
intermediary method_47632
Lnet/minecraft/class_433;method_47632()V
named disconnect
Lnet/minecraft/client/gui/screen/GameMenuScreen;disconnect()V
-
tick
public void tick() -
render
- Specified by:
render
in interfaceDrawable
- Overrides:
render
in classScreen
- Mappings:
Namespace Name Mixin selector official a
Lely;a(Leed;IIF)V
intermediary method_25394
Lnet/minecraft/class_4068;method_25394(Lnet/minecraft/class_4587;IIF)V
named render
Lnet/minecraft/client/gui/Drawable;render(Lnet/minecraft/client/util/math/MatrixStack;IIF)V
-
createButton
- Mappings:
Namespace Name Mixin selector official a
Leow;a(Lss;Ljava/util/function/Supplier;)Leky;
intermediary method_47900
Lnet/minecraft/class_433;method_47900(Lnet/minecraft/class_2561;Ljava/util/function/Supplier;)Lnet/minecraft/class_4185;
named createButton
Lnet/minecraft/client/gui/screen/GameMenuScreen;createButton(Lnet/minecraft/text/Text;Ljava/util/function/Supplier;)Lnet/minecraft/client/gui/widget/ButtonWidget;
-
createUrlButton
- Mappings:
Namespace Name Mixin selector official a
Leow;a(Lss;Ljava/lang/String;)Leky;
intermediary method_47899
Lnet/minecraft/class_433;method_47899(Lnet/minecraft/class_2561;Ljava/lang/String;)Lnet/minecraft/class_4185;
named createUrlButton
Lnet/minecraft/client/gui/screen/GameMenuScreen;createUrlButton(Lnet/minecraft/text/Text;Ljava/lang/String;)Lnet/minecraft/client/gui/widget/ButtonWidget;
-