Class Screen

All Implemented Interfaces:
Drawable, Element, Navigable, ParentElement
Direct Known Subclasses:
AbstractCommandBlockScreen, AbstractSignEditScreen, AbuseReportReasonScreen, AbuseReportTypeScreen, AccessibilityOnboardingScreen, AddServerScreen, AdvancementsScreen, BackupPromptScreen, BookEditScreen, BookScreen, BookSigningScreen, ChatScreen, ChatSelectionScreen, ConfirmScreen, ConnectScreen, CreateWorldScreen, CreditsAndAttributionScreen, CreditsScreen, CustomizeBuffetLevelScreen, CustomizeFlatLevelScreen, DataPackFailureScreen, DeathScreen, DebugOptionsScreen, DemoScreen, DialogScreen, DirectConnectScreen, DisconnectedScreen, EditGameRulesScreen, EditWorldScreen, ExperimentalWarningScreen, ExperimentalWarningScreen.DetailsScreen, ExperimentsScreen, FatalErrorScreen, GameMenuScreen, GameMenuScreen.FeedbackScreen, GameModeSwitcherScreen, GameOptionsScreen, GraphicsWarningScreen, HandledScreen, JigsawBlockScreen, LevelLoadingScreen, MessageScreen, MultiplayerScreen, NoticeScreen, OpenToLanScreen, OptimizeWorldScreen, OptionsScreen, OutOfMemoryScreen, PackScreen, PopupScreen, PresetsScreen, ProgressScreen, RealmsRegionPreferenceScreen, RealmsScreen, ReconfiguringScreen, RecoverWorldScreen, ReportScreen, SelectWorldScreen, SocialInteractionsScreen, StatsScreen, StructureBlockScreen, SymlinkWarningScreen, TaskScreen, TelemetryInfoScreen, TestBlockScreen, TestInstanceBlockScreen, TitleScreen, WaitingForResponseScreen, WarningScreen

@Environment(CLIENT) public abstract class Screen extends AbstractParentElement implements Drawable
Mappings:
Namespace Name
named net/minecraft/client/gui/screen/Screen
intermediary net/minecraft/class_437
official gmj
  • Field Details

    • LOGGER

      private static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      named LOGGER Lnet/minecraft/client/gui/screen/Screen;LOGGER:Lorg/slf4j/Logger;
      intermediary field_22782 Lnet/minecraft/class_437;field_22782:Lorg/slf4j/Logger;
      official a Lgmj;a:Lorg/slf4j/Logger;
    • SCREEN_USAGE_TEXT

      private static final Text SCREEN_USAGE_TEXT
      Mappings:
      Namespace Name Mixin selector
      named SCREEN_USAGE_TEXT Lnet/minecraft/client/gui/screen/Screen;SCREEN_USAGE_TEXT:Lnet/minecraft/text/Text;
      intermediary field_33814 Lnet/minecraft/class_437;field_33814:Lnet/minecraft/class_2561;
      official b Lgmj;b:Lxx;
    • HEADER_SEPARATOR_TEXTURE

      public static final Identifier HEADER_SEPARATOR_TEXTURE
      Mappings:
      Namespace Name Mixin selector
      named HEADER_SEPARATOR_TEXTURE Lnet/minecraft/client/gui/screen/Screen;HEADER_SEPARATOR_TEXTURE:Lnet/minecraft/util/Identifier;
      intermediary field_49895 Lnet/minecraft/class_437;field_49895:Lnet/minecraft/class_2960;
      official h Lgmj;h:Lamj;
    • INWORLD_MENU_BACKGROUND_TEXTURE

      private static final Identifier INWORLD_MENU_BACKGROUND_TEXTURE
      Mappings:
      Namespace Name Mixin selector
      named INWORLD_MENU_BACKGROUND_TEXTURE Lnet/minecraft/client/gui/screen/Screen;INWORLD_MENU_BACKGROUND_TEXTURE:Lnet/minecraft/util/Identifier;
      intermediary field_49894 Lnet/minecraft/class_437;field_49894:Lnet/minecraft/class_2960;
      official c Lgmj;c:Lamj;
    • INWORLD_HEADER_SEPARATOR_TEXTURE

      public static final Identifier INWORLD_HEADER_SEPARATOR_TEXTURE
      Mappings:
      Namespace Name Mixin selector
      named INWORLD_HEADER_SEPARATOR_TEXTURE Lnet/minecraft/client/gui/screen/Screen;INWORLD_HEADER_SEPARATOR_TEXTURE:Lnet/minecraft/util/Identifier;
      intermediary field_49897 Lnet/minecraft/class_437;field_49897:Lnet/minecraft/class_2960;
      official j Lgmj;j:Lamj;
    • field_60460

      protected static final float field_60460
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_60460 Lnet/minecraft/client/gui/screen/Screen;field_60460:F
      intermediary field_60460 Lnet/minecraft/class_437;field_60460:F
      official l Lgmj;l:F
    • SCREEN_INIT_NARRATION_DELAY

      private static final long SCREEN_INIT_NARRATION_DELAY
      Mappings:
      Namespace Name Mixin selector
      named SCREEN_INIT_NARRATION_DELAY Lnet/minecraft/client/gui/screen/Screen;SCREEN_INIT_NARRATION_DELAY:J
      intermediary field_33817 Lnet/minecraft/class_437;field_33817:J
      official u Lgmj;u:J
    • NARRATOR_MODE_CHANGE_DELAY

      private static final long NARRATOR_MODE_CHANGE_DELAY
      Mappings:
      Namespace Name Mixin selector
      named NARRATOR_MODE_CHANGE_DELAY Lnet/minecraft/client/gui/screen/Screen;NARRATOR_MODE_CHANGE_DELAY:J
      intermediary field_33818 Lnet/minecraft/class_437;field_33818:J
      official v Lgmj;v:J
    • MOUSE_MOVE_NARRATION_DELAY

      private static final long MOUSE_MOVE_NARRATION_DELAY
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named MOUSE_MOVE_NARRATION_DELAY Lnet/minecraft/client/gui/screen/Screen;MOUSE_MOVE_NARRATION_DELAY:J
      intermediary field_33819 Lnet/minecraft/class_437;field_33819:J
      official w Lgmj;w:J
    • MOUSE_PRESS_SCROLL_NARRATION_DELAY

      private static final long MOUSE_PRESS_SCROLL_NARRATION_DELAY
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named MOUSE_PRESS_SCROLL_NARRATION_DELAY Lnet/minecraft/client/gui/screen/Screen;MOUSE_PRESS_SCROLL_NARRATION_DELAY:J
      intermediary field_33820 Lnet/minecraft/class_437;field_33820:J
      official x Lgmj;x:J
    • KEY_PRESS_NARRATION_DELAY

      private static final long KEY_PRESS_NARRATION_DELAY
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named KEY_PRESS_NARRATION_DELAY Lnet/minecraft/client/gui/screen/Screen;KEY_PRESS_NARRATION_DELAY:J
      intermediary field_33821 Lnet/minecraft/class_437;field_33821:J
      official y Lgmj;y:J
    • title

      protected final Text title
      Mappings:
      Namespace Name Mixin selector
      named title Lnet/minecraft/client/gui/screen/Screen;title:Lnet/minecraft/text/Text;
      intermediary field_22785 Lnet/minecraft/class_437;field_22785:Lnet/minecraft/class_2561;
      official m Lgmj;m:Lxx;
    • children

      private final List<Element> children
      Mappings:
      Namespace Name Mixin selector
      named children Lnet/minecraft/client/gui/screen/Screen;children:Ljava/util/List;
      intermediary field_22786 Lnet/minecraft/class_437;field_22786:Ljava/util/List;
      official d Lgmj;d:Ljava/util/List;
    • selectables

      private final List<Selectable> selectables
      Mappings:
      Namespace Name Mixin selector
      named selectables Lnet/minecraft/client/gui/screen/Screen;selectables:Ljava/util/List;
      intermediary field_33815 Lnet/minecraft/class_437;field_33815:Ljava/util/List;
      official e Lgmj;e:Ljava/util/List;
    • client

      Mappings:
      Namespace Name Mixin selector
      named client Lnet/minecraft/client/gui/screen/Screen;client:Lnet/minecraft/client/MinecraftClient;
      intermediary field_22787 Lnet/minecraft/class_437;field_22787:Lnet/minecraft/class_310;
      official n Lgmj;n:Lfzz;
    • screenInitialized

      private boolean screenInitialized
      Mappings:
      Namespace Name Mixin selector
      named screenInitialized Lnet/minecraft/client/gui/screen/Screen;screenInitialized:Z
      intermediary field_42156 Lnet/minecraft/class_437;field_42156:Z
      official f Lgmj;f:Z
    • width

      public int width
      Mappings:
      Namespace Name Mixin selector
      named width Lnet/minecraft/client/gui/screen/Screen;width:I
      intermediary field_22789 Lnet/minecraft/class_437;field_22789:I
      official o Lgmj;o:I
    • height

      public int height
      Mappings:
      Namespace Name Mixin selector
      named height Lnet/minecraft/client/gui/screen/Screen;height:I
      intermediary field_22790 Lnet/minecraft/class_437;field_22790:I
      official p Lgmj;p:I
    • drawables

      private final List<Drawable> drawables
      Mappings:
      Namespace Name Mixin selector
      named drawables Lnet/minecraft/client/gui/screen/Screen;drawables:Ljava/util/List;
      intermediary field_33816 Lnet/minecraft/class_437;field_33816:Ljava/util/List;
      official t Lgmj;t:Ljava/util/List;
    • textRenderer

      protected TextRenderer textRenderer
      Mappings:
      Namespace Name Mixin selector
      named textRenderer Lnet/minecraft/client/gui/screen/Screen;textRenderer:Lnet/minecraft/client/font/TextRenderer;
      intermediary field_22793 Lnet/minecraft/class_437;field_22793:Lnet/minecraft/class_327;
      official q Lgmj;q:Lgda;
    • narrator

      private final ScreenNarrator narrator
      Mappings:
      Namespace Name Mixin selector
      named narrator Lnet/minecraft/client/gui/screen/Screen;narrator:Lnet/minecraft/client/gui/screen/narration/ScreenNarrator;
      intermediary field_33822 Lnet/minecraft/class_437;field_33822:Lnet/minecraft/class_6385;
      official z Lgmj;z:Lgjo;
    • elementNarrationStartTime

      private long elementNarrationStartTime
      Mappings:
      Namespace Name Mixin selector
      named elementNarrationStartTime Lnet/minecraft/client/gui/screen/Screen;elementNarrationStartTime:J
      intermediary field_33823 Lnet/minecraft/class_437;field_33823:J
      official A Lgmj;A:J
    • screenNarrationStartTime

      private long screenNarrationStartTime
      Mappings:
      Namespace Name Mixin selector
      named screenNarrationStartTime Lnet/minecraft/client/gui/screen/Screen;screenNarrationStartTime:J
      intermediary field_33824 Lnet/minecraft/class_437;field_33824:J
      official B Lgmj;B:J
    • narratorToggleButton

      @Nullable protected @Nullable CyclingButtonWidget<NarratorMode> narratorToggleButton
      Mappings:
      Namespace Name Mixin selector
      named narratorToggleButton Lnet/minecraft/client/gui/screen/Screen;narratorToggleButton:Lnet/minecraft/client/gui/widget/CyclingButtonWidget;
      intermediary field_52252 Lnet/minecraft/class_437;field_52252:Lnet/minecraft/class_5676;
      official r Lgmj;r:Lgdw;
    • selected

      @Nullable private @Nullable Selectable selected
      Mappings:
      Namespace Name Mixin selector
      named selected Lnet/minecraft/client/gui/screen/Screen;selected:Lnet/minecraft/client/gui/Selectable;
      intermediary field_33813 Lnet/minecraft/class_437;field_33813:Lnet/minecraft/class_6379;
      official C Lgmj;C:Lgjj;
    • executor

      protected final Executor executor
      Mappings:
      Namespace Name Mixin selector
      named executor Lnet/minecraft/client/gui/screen/Screen;executor:Ljava/util/concurrent/Executor;
      intermediary field_44944 Lnet/minecraft/class_437;field_44944:Ljava/util/concurrent/Executor;
      official s Lgmj;s:Ljava/util/concurrent/Executor;
  • Constructor Details

    • Screen

      protected Screen(Text title)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/gui/screen/Screen;<init>(Lnet/minecraft/text/Text;)V
      intermediary <init> Lnet/minecraft/class_437;<init>(Lnet/minecraft/class_2561;)V
      official <init> Lgmj;<init>(Lxx;)V
  • Method Details

    • getTitle

      public Text getTitle()
      Mappings:
      Namespace Name Mixin selector
      named getTitle Lnet/minecraft/client/gui/screen/Screen;getTitle()Lnet/minecraft/text/Text;
      intermediary method_25440 Lnet/minecraft/class_437;method_25440()Lnet/minecraft/class_2561;
      official q Lgmj;q()Lxx;
    • getNarratedTitle

      public Text getNarratedTitle()
      Mappings:
      Namespace Name Mixin selector
      named getNarratedTitle Lnet/minecraft/client/gui/screen/Screen;getNarratedTitle()Lnet/minecraft/text/Text;
      intermediary method_25435 Lnet/minecraft/class_437;method_25435()Lnet/minecraft/class_2561;
      official i Lgmj;i()Lxx;
    • renderWithTooltip

      public final void renderWithTooltip(DrawContext context, int mouseX, int mouseY, float deltaTicks)
      Mappings:
      Namespace Name Mixin selector
      named renderWithTooltip Lnet/minecraft/client/gui/screen/Screen;renderWithTooltip(Lnet/minecraft/client/gui/DrawContext;IIF)V
      intermediary method_47413 Lnet/minecraft/class_437;method_47413(Lnet/minecraft/class_332;IIF)V
      official c Lgmj;c(Lgdd;IIF)V
    • render

      public void render(DrawContext context, int mouseX, int mouseY, float deltaTicks)
      Specified by:
      render in interface Drawable
      Mappings:
      Namespace Name Mixin selector
      named render Lnet/minecraft/client/gui/Drawable;render(Lnet/minecraft/client/gui/DrawContext;IIF)V
      intermediary method_25394 Lnet/minecraft/class_4068;method_25394(Lnet/minecraft/class_332;IIF)V
      official a Lget;a(Lgdd;IIF)V
    • keyPressed

      public boolean keyPressed(KeyInput input)
      Callback for when a key down event has been captured. The key code is identified by the constants in GLFW class.
      Specified by:
      keyPressed in interface Element
      Specified by:
      keyPressed in interface ParentElement
      Returns:
      true to indicate that the event handling is successful/valid
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named keyPressed Lnet/minecraft/client/gui/Element;keyPressed(Lnet/minecraft/client/input/KeyInput;)Z
      intermediary method_25404 Lnet/minecraft/class_364;method_25404(Lnet/minecraft/class_11908;)Z
      official a Lggw;a(Lgth;)Z
    • getTabNavigation

      private GuiNavigation.Tab getTabNavigation(boolean bool)
      Mappings:
      Namespace Name Mixin selector
      named getTabNavigation Lnet/minecraft/client/gui/screen/Screen;getTabNavigation(Z)Lnet/minecraft/client/gui/navigation/GuiNavigation$Tab;
      intermediary method_48266 Lnet/minecraft/class_437;method_48266(Z)Lnet/minecraft/class_8023$class_8026;
      official c Lgmj;c(Z)Lgjq$c;
    • getArrowNavigation

      private GuiNavigation.Arrow getArrowNavigation(NavigationDirection direction)
      Mappings:
      Namespace Name Mixin selector
      named getArrowNavigation Lnet/minecraft/client/gui/screen/Screen;getArrowNavigation(Lnet/minecraft/client/gui/navigation/NavigationDirection;)Lnet/minecraft/client/gui/navigation/GuiNavigation$Arrow;
      intermediary method_48264 Lnet/minecraft/class_437;method_48264(Lnet/minecraft/class_8028;)Lnet/minecraft/class_8023$class_8024;
      official b Lgmj;b(Lgjs;)Lgjq$a;
    • setInitialFocus

      protected void setInitialFocus()
      This should be overridden with a call to setInitialFocus(Element) to set the element that is initially focused.
      Mappings:
      Namespace Name Mixin selector
      named setInitialFocus Lnet/minecraft/client/gui/screen/Screen;setInitialFocus()V
      intermediary method_56131 Lnet/minecraft/class_437;method_56131()V
      official aI_ Lgmj;aI_()V
    • setInitialFocus

      protected void setInitialFocus(Element element)
      Sets the initial focus of this screen. This should be called inside the overridden setInitialFocus() method by screen implementations.
      Mappings:
      Namespace Name Mixin selector
      named setInitialFocus Lnet/minecraft/client/gui/screen/Screen;setInitialFocus(Lnet/minecraft/client/gui/Element;)V
      intermediary method_48265 Lnet/minecraft/class_437;method_48265(Lnet/minecraft/class_364;)V
      official b Lgmj;b(Lggw;)V
    • blur

      public void blur()
      Mappings:
      Namespace Name Mixin selector
      named blur Lnet/minecraft/client/gui/screen/Screen;blur()V
      intermediary method_48267 Lnet/minecraft/class_437;method_48267()V
      official r Lgmj;r()V
    • switchFocus

      protected void switchFocus(GuiNavigationPath path)
      Switches focus from the currently focused element, if any, to path.
      Mappings:
      Namespace Name Mixin selector
      named switchFocus Lnet/minecraft/client/gui/screen/Screen;switchFocus(Lnet/minecraft/client/gui/navigation/GuiNavigationPath;)V
      intermediary method_48263 Lnet/minecraft/class_437;method_48263(Lnet/minecraft/class_8016;)V
      official a Lgmj;a(Lgcz;)V
    • shouldCloseOnEsc

      public boolean shouldCloseOnEsc()
      Checks whether this screen should be closed when the escape key is pressed.
      Mappings:
      Namespace Name Mixin selector
      named shouldCloseOnEsc Lnet/minecraft/client/gui/screen/Screen;shouldCloseOnEsc()Z
      intermediary method_25422 Lnet/minecraft/class_437;method_25422()Z
      official aY_ Lgmj;aY_()Z
    • close

      public void close()
      Mappings:
      Namespace Name Mixin selector
      named close Lnet/minecraft/client/gui/screen/Screen;close()V
      intermediary method_25419 Lnet/minecraft/class_437;method_25419()V
      official aX_ Lgmj;aX_()V
    • addDrawableChild

      protected <T extends Element & Drawable & Selectable> T addDrawableChild(T drawableElement)
      Mappings:
      Namespace Name Mixin selector
      named addDrawableChild Lnet/minecraft/client/gui/screen/Screen;addDrawableChild(Lnet/minecraft/client/gui/Element;)Lnet/minecraft/client/gui/Element;
      intermediary method_37063 Lnet/minecraft/class_437;method_37063(Lnet/minecraft/class_364;)Lnet/minecraft/class_364;
      official c Lgmj;c(Lggw;)Lggw;
    • addDrawable

      protected <T extends Drawable> T addDrawable(T drawable)
      Mappings:
      Namespace Name Mixin selector
      named addDrawable Lnet/minecraft/client/gui/screen/Screen;addDrawable(Lnet/minecraft/client/gui/Drawable;)Lnet/minecraft/client/gui/Drawable;
      intermediary method_37060 Lnet/minecraft/class_437;method_37060(Lnet/minecraft/class_4068;)Lnet/minecraft/class_4068;
      official a Lgmj;a(Lget;)Lget;
    • addSelectableChild

      protected <T extends Element & Selectable> T addSelectableChild(T child)
      Mappings:
      Namespace Name Mixin selector
      named addSelectableChild Lnet/minecraft/client/gui/screen/Screen;addSelectableChild(Lnet/minecraft/client/gui/Element;)Lnet/minecraft/client/gui/Element;
      intermediary method_25429 Lnet/minecraft/class_437;method_25429(Lnet/minecraft/class_364;)Lnet/minecraft/class_364;
      official d Lgmj;d(Lggw;)Lggw;
    • remove

      protected void remove(Element child)
      Mappings:
      Namespace Name Mixin selector
      named remove Lnet/minecraft/client/gui/screen/Screen;remove(Lnet/minecraft/client/gui/Element;)V
      intermediary method_37066 Lnet/minecraft/class_437;method_37066(Lnet/minecraft/class_364;)V
      official e Lgmj;e(Lggw;)V
    • clearChildren

      protected void clearChildren()
      Mappings:
      Namespace Name Mixin selector
      named clearChildren Lnet/minecraft/client/gui/screen/Screen;clearChildren()V
      intermediary method_37067 Lnet/minecraft/class_437;method_37067()V
      official t Lgmj;t()V
    • getTooltipFromItem

      public static List<Text> getTooltipFromItem(MinecraftClient client, ItemStack stack)
      Mappings:
      Namespace Name Mixin selector
      named getTooltipFromItem Lnet/minecraft/client/gui/screen/Screen;getTooltipFromItem(Lnet/minecraft/client/MinecraftClient;Lnet/minecraft/item/ItemStack;)Ljava/util/List;
      intermediary method_25408 Lnet/minecraft/class_437;method_25408(Lnet/minecraft/class_310;Lnet/minecraft/class_1799;)Ljava/util/List;
      official a Lgmj;a(Lfzz;Ldhp;)Ljava/util/List;
    • insertText

      protected void insertText(String text, boolean override)
      Mappings:
      Namespace Name Mixin selector
      named insertText Lnet/minecraft/client/gui/screen/Screen;insertText(Ljava/lang/String;Z)V
      intermediary method_25415 Lnet/minecraft/class_437;method_25415(Ljava/lang/String;Z)V
      official a_ Lgmj;a_(Ljava/lang/String;Z)V
    • handleTextClick

      public boolean handleTextClick(Style style)
      Mappings:
      Namespace Name Mixin selector
      named handleTextClick Lnet/minecraft/client/gui/screen/Screen;handleTextClick(Lnet/minecraft/text/Style;)Z
      intermediary method_25430 Lnet/minecraft/class_437;method_25430(Lnet/minecraft/class_2583;)Z
      official a Lgmj;a(Lyv;)Z
    • handleClickEvent

      protected void handleClickEvent(MinecraftClient client, ClickEvent clickEvent)
      Mappings:
      Namespace Name Mixin selector
      named handleClickEvent Lnet/minecraft/client/gui/screen/Screen;handleClickEvent(Lnet/minecraft/client/MinecraftClient;Lnet/minecraft/text/ClickEvent;)V
      intermediary method_71846 Lnet/minecraft/class_437;method_71846(Lnet/minecraft/class_310;Lnet/minecraft/class_2558;)V
      official a Lgmj;a(Lfzz;Lxv;)V
    • handleClickEvent

      protected static void handleClickEvent(ClickEvent clickEvent, MinecraftClient client, @Nullable @Nullable Screen screenAfterRun)
      Mappings:
      Namespace Name Mixin selector
      named handleClickEvent Lnet/minecraft/client/gui/screen/Screen;handleClickEvent(Lnet/minecraft/text/ClickEvent;Lnet/minecraft/client/MinecraftClient;Lnet/minecraft/client/gui/screen/Screen;)V
      intermediary method_71999 Lnet/minecraft/class_437;method_71999(Lnet/minecraft/class_2558;Lnet/minecraft/class_310;Lnet/minecraft/class_437;)V
      official a Lgmj;a(Lxv;Lfzz;Lgmj;)V
    • handleBasicClickEvent

      protected static void handleBasicClickEvent(ClickEvent clickEvent, MinecraftClient client, @Nullable @Nullable Screen screenAfterRun)
      Mappings:
      Namespace Name Mixin selector
      named handleBasicClickEvent Lnet/minecraft/client/gui/screen/Screen;handleBasicClickEvent(Lnet/minecraft/text/ClickEvent;Lnet/minecraft/client/MinecraftClient;Lnet/minecraft/client/gui/screen/Screen;)V
      intermediary method_71847 Lnet/minecraft/class_437;method_71847(Lnet/minecraft/class_2558;Lnet/minecraft/class_310;Lnet/minecraft/class_437;)V
      official b Lgmj;b(Lxv;Lfzz;Lgmj;)V
    • handleOpenUri

      protected static boolean handleOpenUri(MinecraftClient client, @Nullable @Nullable Screen screen, URI uri)
      Mappings:
      Namespace Name Mixin selector
      named handleOpenUri Lnet/minecraft/client/gui/screen/Screen;handleOpenUri(Lnet/minecraft/client/MinecraftClient;Lnet/minecraft/client/gui/screen/Screen;Ljava/net/URI;)Z
      intermediary method_71843 Lnet/minecraft/class_437;method_71843(Lnet/minecraft/class_310;Lnet/minecraft/class_437;Ljava/net/URI;)Z
      official a Lgmj;a(Lfzz;Lgmj;Ljava/net/URI;)Z
    • handleRunCommand

      protected static void handleRunCommand(ClientPlayerEntity player, String command, @Nullable @Nullable Screen screenAfterRun)
      Mappings:
      Namespace Name Mixin selector
      named handleRunCommand Lnet/minecraft/client/gui/screen/Screen;handleRunCommand(Lnet/minecraft/client/network/ClientPlayerEntity;Ljava/lang/String;Lnet/minecraft/client/gui/screen/Screen;)V
      intermediary method_71844 Lnet/minecraft/class_437;method_71844(Lnet/minecraft/class_746;Ljava/lang/String;Lnet/minecraft/class_437;)V
      official a Lgmj;a(Lhep;Ljava/lang/String;Lgmj;)V
    • init

      public final void init(MinecraftClient client, int width, int height)
      Mappings:
      Namespace Name Mixin selector
      named init Lnet/minecraft/client/gui/screen/Screen;init(Lnet/minecraft/client/MinecraftClient;II)V
      intermediary method_25423 Lnet/minecraft/class_437;method_25423(Lnet/minecraft/class_310;II)V
      official b Lgmj;b(Lfzz;II)V
    • clearAndInit

      protected void clearAndInit()
      Mappings:
      Namespace Name Mixin selector
      named clearAndInit Lnet/minecraft/client/gui/screen/Screen;clearAndInit()V
      intermediary method_41843 Lnet/minecraft/class_437;method_41843()V
      official u Lgmj;u()V
    • setWidgetAlpha

      protected void setWidgetAlpha(float alpha)
      Mappings:
      Namespace Name Mixin selector
      named setWidgetAlpha Lnet/minecraft/client/gui/screen/Screen;setWidgetAlpha(F)V
      intermediary method_71536 Lnet/minecraft/class_437;method_71536(F)V
      official a Lgmj;a(F)V
    • children

      public List<? extends Element> children()
      Gets a list of all child GUI elements.
      Specified by:
      children in interface ParentElement
      Mappings:
      Namespace Name Mixin selector
      named children Lnet/minecraft/client/gui/ParentElement;children()Ljava/util/List;
      intermediary method_25396 Lnet/minecraft/class_4069;method_25396()Ljava/util/List;
      official aJ_ Lggv;aJ_()Ljava/util/List;
    • init

      protected void init()
      Called when a screen should be initialized.

      This method is called when this screen is opened or resized.

      Mappings:
      Namespace Name Mixin selector
      named init Lnet/minecraft/client/gui/screen/Screen;init()V
      intermediary method_25426 Lnet/minecraft/class_437;method_25426()V
      official bg_ Lgmj;bg_()V
    • tick

      public void tick()
      Mappings:
      Namespace Name Mixin selector
      named tick Lnet/minecraft/client/gui/screen/Screen;tick()V
      intermediary method_25393 Lnet/minecraft/class_437;method_25393()V
      official e Lgmj;e()V
    • removed

      public void removed()
      Mappings:
      Namespace Name Mixin selector
      named removed Lnet/minecraft/client/gui/screen/Screen;removed()V
      intermediary method_25432 Lnet/minecraft/class_437;method_25432()V
      official aZ_ Lgmj;aZ_()V
    • onDisplayed

      public void onDisplayed()
      Called when the screen is displayed using MinecraftClient.setScreen(net.minecraft.client.gui.screen.Screen) before init() or refreshWidgetPositions() is called.
      Mappings:
      Namespace Name Mixin selector
      named onDisplayed Lnet/minecraft/client/gui/screen/Screen;onDisplayed()V
      intermediary method_49589 Lnet/minecraft/class_437;method_49589()V
      official aK_ Lgmj;aK_()V
    • renderBackground

      public void renderBackground(DrawContext context, int mouseX, int mouseY, float deltaTicks)
      Renders the background of this screen.

      If the client is in a world, renders the translucent background gradient. Otherwise renders the background texture.

      Mappings:
      Namespace Name Mixin selector
      named renderBackground Lnet/minecraft/client/gui/screen/Screen;renderBackground(Lnet/minecraft/client/gui/DrawContext;IIF)V
      intermediary method_25420 Lnet/minecraft/class_437;method_25420(Lnet/minecraft/class_332;IIF)V
      official b Lgmj;b(Lgdd;IIF)V
    • applyBlur

      protected void applyBlur(DrawContext context)
      Mappings:
      Namespace Name Mixin selector
      named applyBlur Lnet/minecraft/client/gui/screen/Screen;applyBlur(Lnet/minecraft/client/gui/DrawContext;)V
      intermediary method_57734 Lnet/minecraft/class_437;method_57734(Lnet/minecraft/class_332;)V
      official b Lgmj;b(Lgdd;)V
    • renderPanoramaBackground

      protected void renderPanoramaBackground(DrawContext context, float deltaTicks)
      Mappings:
      Namespace Name Mixin selector
      named renderPanoramaBackground Lnet/minecraft/client/gui/screen/Screen;renderPanoramaBackground(Lnet/minecraft/client/gui/DrawContext;F)V
      intermediary method_57728 Lnet/minecraft/class_437;method_57728(Lnet/minecraft/class_332;F)V
      official a Lgmj;a(Lgdd;F)V
    • renderDarkening

      protected void renderDarkening(DrawContext context)
      Mappings:
      Namespace Name Mixin selector
      named renderDarkening Lnet/minecraft/client/gui/screen/Screen;renderDarkening(Lnet/minecraft/client/gui/DrawContext;)V
      intermediary method_57735 Lnet/minecraft/class_437;method_57735(Lnet/minecraft/class_332;)V
      official a Lgmj;a(Lgdd;)V
    • renderDarkening

      protected void renderDarkening(DrawContext context, int x, int y, int width, int height)
      Mappings:
      Namespace Name Mixin selector
      named renderDarkening Lnet/minecraft/client/gui/screen/Screen;renderDarkening(Lnet/minecraft/client/gui/DrawContext;IIII)V
      intermediary method_57736 Lnet/minecraft/class_437;method_57736(Lnet/minecraft/class_332;IIII)V
      official a Lgmj;a(Lgdd;IIII)V
    • renderBackgroundTexture

      public static void renderBackgroundTexture(DrawContext context, Identifier texture, int x, int y, float u, float v, int width, int height)
      Mappings:
      Namespace Name Mixin selector
      named renderBackgroundTexture Lnet/minecraft/client/gui/screen/Screen;renderBackgroundTexture(Lnet/minecraft/client/gui/DrawContext;Lnet/minecraft/util/Identifier;IIFFII)V
      intermediary method_57737 Lnet/minecraft/class_437;method_57737(Lnet/minecraft/class_332;Lnet/minecraft/class_2960;IIFFII)V
      official a Lgmj;a(Lgdd;Lamj;IIFFII)V
    • renderInGameBackground

      public void renderInGameBackground(DrawContext context)
      Renders the translucent background gradient used as the in-game screen background.
      Mappings:
      Namespace Name Mixin selector
      named renderInGameBackground Lnet/minecraft/client/gui/screen/Screen;renderInGameBackground(Lnet/minecraft/client/gui/DrawContext;)V
      intermediary method_52752 Lnet/minecraft/class_437;method_52752(Lnet/minecraft/class_332;)V
      official c Lgmj;c(Lgdd;)V
    • shouldPause

      public boolean shouldPause()
      Mappings:
      Namespace Name Mixin selector
      named shouldPause Lnet/minecraft/client/gui/screen/Screen;shouldPause()Z
      intermediary method_25421 Lnet/minecraft/class_437;method_25421()Z
      official ba_ Lgmj;ba_()Z
    • deferSubtitles

      public boolean deferSubtitles()
      Mappings:
      Namespace Name Mixin selector
      named deferSubtitles Lnet/minecraft/client/gui/screen/Screen;deferSubtitles()Z
      intermediary method_73150 Lnet/minecraft/class_437;method_73150()Z
      official v Lgmj;v()Z
    • allowRotatingPanorama

      protected boolean allowRotatingPanorama()
      Mappings:
      Namespace Name Mixin selector
      named allowRotatingPanorama Lnet/minecraft/client/gui/screen/Screen;allowRotatingPanorama()Z
      intermediary method_72798 Lnet/minecraft/class_437;method_72798()Z
      official aL_ Lgmj;aL_()Z
    • keepOpenThroughPortal

      public boolean keepOpenThroughPortal()
      Mappings:
      Namespace Name Mixin selector
      named keepOpenThroughPortal Lnet/minecraft/client/gui/screen/Screen;keepOpenThroughPortal()Z
      intermediary method_73217 Lnet/minecraft/class_437;method_73217()Z
      official bb_ Lgmj;bb_()Z
    • refreshWidgetPositions

      protected void refreshWidgetPositions()
      Mappings:
      Namespace Name Mixin selector
      named refreshWidgetPositions Lnet/minecraft/client/gui/screen/Screen;refreshWidgetPositions()V
      intermediary method_48640 Lnet/minecraft/class_437;method_48640()V
      official c Lgmj;c()V
    • resize

      public void resize(MinecraftClient client, int width, int height)
      Mappings:
      Namespace Name Mixin selector
      named resize Lnet/minecraft/client/gui/screen/Screen;resize(Lnet/minecraft/client/MinecraftClient;II)V
      intermediary method_25410 Lnet/minecraft/class_437;method_25410(Lnet/minecraft/class_310;II)V
      official a Lgmj;a(Lfzz;II)V
    • addCrashReportSection

      public void addCrashReportSection(CrashReport report)
      Mappings:
      Namespace Name Mixin selector
      named addCrashReportSection Lnet/minecraft/client/gui/screen/Screen;addCrashReportSection(Lnet/minecraft/util/crash/CrashReport;)V
      intermediary method_65027 Lnet/minecraft/class_437;method_65027(Lnet/minecraft/class_128;)V
      official a Lgmj;a(Lp;)V
    • isValidCharacterForName

      protected boolean isValidCharacterForName(String name, int codepoint, int cursorPos)
      Mappings:
      Namespace Name Mixin selector
      named isValidCharacterForName Lnet/minecraft/client/gui/screen/Screen;isValidCharacterForName(Ljava/lang/String;II)Z
      intermediary method_25414 Lnet/minecraft/class_437;method_25414(Ljava/lang/String;II)Z
      official a Lgmj;a(Ljava/lang/String;II)Z
    • isMouseOver

      public boolean isMouseOver(double mouseX, double mouseY)
      Checks if the mouse position is within the bound of the element.
      Specified by:
      isMouseOver in interface Element
      Parameters:
      mouseX - the X coordinate of the mouse
      mouseY - the Y coordinate of the mouse
      Returns:
      true if the mouse is within the bound of the element, otherwise false
      Mappings:
      Namespace Name Mixin selector
      named isMouseOver Lnet/minecraft/client/gui/Element;isMouseOver(DD)Z
      intermediary method_25405 Lnet/minecraft/class_364;method_25405(DD)Z
      official a_ Lggw;a_(DD)Z
    • onFilesDropped

      public void onFilesDropped(List<Path> paths)
      Mappings:
      Namespace Name Mixin selector
      named onFilesDropped Lnet/minecraft/client/gui/screen/Screen;onFilesDropped(Ljava/util/List;)V
      intermediary method_29638 Lnet/minecraft/class_437;method_29638(Ljava/util/List;)V
      official a Lgmj;a(Ljava/util/List;)V
    • setScreenNarrationDelay

      private void setScreenNarrationDelay(long delayMs, boolean restartElementNarration)
      Mappings:
      Namespace Name Mixin selector
      named setScreenNarrationDelay Lnet/minecraft/client/gui/screen/Screen;setScreenNarrationDelay(JZ)V
      intermediary method_37059 Lnet/minecraft/class_437;method_37059(JZ)V
      official a Lgmj;a(JZ)V
    • setElementNarrationDelay

      private void setElementNarrationDelay(long delayMs)
      Mappings:
      Namespace Name Mixin selector
      named setElementNarrationDelay Lnet/minecraft/client/gui/screen/Screen;setElementNarrationDelay(J)V
      intermediary method_37058 Lnet/minecraft/class_437;method_37058(J)V
      official a Lgmj;a(J)V
    • setElementNarrationStartTime

      private void setElementNarrationStartTime(long startTimeMs)
      Mappings:
      Namespace Name Mixin selector
      named setElementNarrationStartTime Lnet/minecraft/client/gui/screen/Screen;setElementNarrationStartTime(J)V
      intermediary method_72802 Lnet/minecraft/class_437;method_72802(J)V
      official b Lgmj;b(J)V
    • applyMouseMoveNarratorDelay

      public void applyMouseMoveNarratorDelay()
      Mappings:
      Namespace Name Mixin selector
      named applyMouseMoveNarratorDelay Lnet/minecraft/client/gui/screen/Screen;applyMouseMoveNarratorDelay()V
      intermediary method_37068 Lnet/minecraft/class_437;method_37068()V
      official w Lgmj;w()V
    • applyMousePressScrollNarratorDelay

      public void applyMousePressScrollNarratorDelay()
      Mappings:
      Namespace Name Mixin selector
      named applyMousePressScrollNarratorDelay Lnet/minecraft/client/gui/screen/Screen;applyMousePressScrollNarratorDelay()V
      intermediary method_37069 Lnet/minecraft/class_437;method_37069()V
      official x Lgmj;x()V
    • applyKeyPressNarratorDelay

      public void applyKeyPressNarratorDelay()
      Mappings:
      Namespace Name Mixin selector
      named applyKeyPressNarratorDelay Lnet/minecraft/client/gui/screen/Screen;applyKeyPressNarratorDelay()V
      intermediary method_37070 Lnet/minecraft/class_437;method_37070()V
      official y Lgmj;y()V
    • isNarratorActive

      private boolean isNarratorActive()
      Mappings:
      Namespace Name Mixin selector
      named isNarratorActive Lnet/minecraft/client/gui/screen/Screen;isNarratorActive()Z
      intermediary method_37073 Lnet/minecraft/class_437;method_37073()Z
      official o Lgmj;o()Z
    • updateNarrator

      public void updateNarrator()
      Mappings:
      Namespace Name Mixin selector
      named updateNarrator Lnet/minecraft/client/gui/screen/Screen;updateNarrator()V
      intermediary method_37071 Lnet/minecraft/class_437;method_37071()V
      official z Lgmj;z()V
    • narrateScreenIfNarrationEnabled

      public void narrateScreenIfNarrationEnabled(boolean onlyChangedNarrations)
      If narration is enabled, narrates the elements of this screen.
      Parameters:
      onlyChangedNarrations - if true, the text will not include unchanged narrations that have already been narrated previously
      Mappings:
      Namespace Name Mixin selector
      named narrateScreenIfNarrationEnabled Lnet/minecraft/client/gui/screen/Screen;narrateScreenIfNarrationEnabled(Z)V
      intermediary method_37064 Lnet/minecraft/class_437;method_37064(Z)V
      official d Lgmj;d(Z)V
    • narrateScreen

      private void narrateScreen(boolean onlyChangedNarrations)
      Mappings:
      Namespace Name Mixin selector
      named narrateScreen Lnet/minecraft/client/gui/screen/Screen;narrateScreen(Z)V
      intermediary method_37065 Lnet/minecraft/class_437;method_37065(Z)V
      official f Lgmj;f(Z)V
    • hasUsageText

      protected boolean hasUsageText()
      Mappings:
      Namespace Name Mixin selector
      named hasUsageText Lnet/minecraft/client/gui/screen/Screen;hasUsageText()Z
      intermediary method_48262 Lnet/minecraft/class_437;method_48262()Z
      official bc_ Lgmj;bc_()Z
    • addScreenNarrations

      protected void addScreenNarrations(NarrationMessageBuilder messageBuilder)
      Mappings:
      Namespace Name Mixin selector
      named addScreenNarrations Lnet/minecraft/client/gui/screen/Screen;addScreenNarrations(Lnet/minecraft/client/gui/screen/narration/NarrationMessageBuilder;)V
      intermediary method_37062 Lnet/minecraft/class_437;method_37062(Lnet/minecraft/class_6382;)V
      official a Lgmj;a(Lgjl;)V
    • addElementNarrations

      protected void addElementNarrations(NarrationMessageBuilder builder)
      Mappings:
      Namespace Name Mixin selector
      named addElementNarrations Lnet/minecraft/client/gui/screen/Screen;addElementNarrations(Lnet/minecraft/client/gui/screen/narration/NarrationMessageBuilder;)V
      intermediary method_37056 Lnet/minecraft/class_437;method_37056(Lnet/minecraft/class_6382;)V
      official b Lgmj;b(Lgjl;)V
    • getUsageNarrationText

      protected Text getUsageNarrationText()
      Mappings:
      Namespace Name Mixin selector
      named getUsageNarrationText Lnet/minecraft/client/gui/screen/Screen;getUsageNarrationText()Lnet/minecraft/text/Text;
      intermediary method_53870 Lnet/minecraft/class_437;method_53870()Lnet/minecraft/class_2561;
      official B Lgmj;B()Lxx;
    • findSelectedElementData

      @Nullable public static @Nullable Screen.SelectedElementNarrationData findSelectedElementData(List<? extends Selectable> selectables, @Nullable @Nullable Selectable selectable)
      Mappings:
      Namespace Name Mixin selector
      named findSelectedElementData Lnet/minecraft/client/gui/screen/Screen;findSelectedElementData(Ljava/util/List;Lnet/minecraft/client/gui/Selectable;)Lnet/minecraft/client/gui/screen/Screen$SelectedElementNarrationData;
      intermediary method_37061 Lnet/minecraft/class_437;method_37061(Ljava/util/List;Lnet/minecraft/class_6379;)Lnet/minecraft/class_437$class_6390;
      official a Lgmj;a(Ljava/util/List;Lgjj;)Lgmj$a;
    • refreshNarrator

      public void refreshNarrator(boolean previouslyDisabled)
      Mappings:
      Namespace Name Mixin selector
      named refreshNarrator Lnet/minecraft/client/gui/screen/Screen;refreshNarrator(Z)V
      intermediary method_61040 Lnet/minecraft/class_437;method_61040(Z)V
      official e Lgmj;e(Z)V
    • getTextRenderer

      public TextRenderer getTextRenderer()
      Mappings:
      Namespace Name Mixin selector
      named getTextRenderer Lnet/minecraft/client/gui/screen/Screen;getTextRenderer()Lnet/minecraft/client/font/TextRenderer;
      intermediary method_64506 Lnet/minecraft/class_437;method_64506()Lnet/minecraft/class_327;
      official C Lgmj;C()Lgda;
    • showsStatusEffects

      public boolean showsStatusEffects()
      Mappings:
      Namespace Name Mixin selector
      named showsStatusEffects Lnet/minecraft/client/gui/screen/Screen;showsStatusEffects()Z
      intermediary method_64507 Lnet/minecraft/class_437;method_64507()Z
      official D Lgmj;D()Z
    • canInterruptOtherScreen

      public boolean canInterruptOtherScreen()
      Mappings:
      Namespace Name Mixin selector
      named canInterruptOtherScreen Lnet/minecraft/client/gui/screen/Screen;canInterruptOtherScreen()Z
      intermediary method_73339 Lnet/minecraft/class_437;method_73339()Z
      official aM_ Lgmj;aM_()Z
    • getNavigationFocus

      public ScreenRect getNavigationFocus()
      Specified by:
      getNavigationFocus in interface Element
      Mappings:
      Namespace Name Mixin selector
      named getNavigationFocus Lnet/minecraft/client/gui/Element;getNavigationFocus()Lnet/minecraft/client/gui/ScreenRect;
      intermediary method_48202 Lnet/minecraft/class_364;method_48202()Lnet/minecraft/class_8030;
      official aV_ Lggw;aV_()Lgju;
    • getMusic

      @Nullable public @Nullable MusicSound getMusic()
      Mappings:
      Namespace Name Mixin selector
      named getMusic Lnet/minecraft/client/gui/screen/Screen;getMusic()Lnet/minecraft/sound/MusicSound;
      intermediary method_50024 Lnet/minecraft/class_437;method_50024()Lnet/minecraft/class_5195;
      official E Lgmj;E()Lbcb;