Class Screen

java.lang.Object
net.minecraft.client.gui.DrawableHelper
net.minecraft.client.gui.screen.Screen
All Implemented Interfaces:
IdentifibleBooleanConsumer
Direct Known Subclasses:
AchievementsScreen, AddServerScreen, BookEditScreen, ChatOptionsScreen, ChatScreen, CommandBlockScreen, ConfirmScreen, ConnectScreen, ControlsOptionsScreen, CreateWorldScreen, CreditsScreen, CustomizedWorldPresetsScreen, CustomizeFlatLevelScreen, CustomizeWorldScreen, DeathScreen, DemoScreen, DirectConnectScreen, DisconnectedScreen, DownloadingTerrainScreen, EditWorldScreen, FatalErrorScreen, GameMenuScreen, HandledScreen, LanguageOptionsScreen, MultiplayerScreen, OpenToLanScreen, OutOfMemoryScreen, ProgressScreen, RealmsScreenProxy, ResourcePackScreen, SelectWorldScreen, SettingsScreen, SignEditScreen, SkinOptionsScreen, SnooperScreen, SoundsScreen, StatsScreen, StreamIngestScreen, StreamScreen, StreamUtilitiesScreen, SuperflatPresetScreen, TitleScreen, TwitchErrorScreen, VideoOptionsScreen

@Environment(CLIENT) public abstract class Screen extends DrawableHelper implements IdentifibleBooleanConsumer
Mappings:
Namespace Name
official axu
intermediary net/minecraft/class_388
named net/minecraft/client/gui/screen/Screen
  • Field Details

    • logger

      private static final Logger logger
      Mappings:
      Namespace Name Mixin selector
      official a Laxu;a:Lorg/apache/logging/log4j/Logger;
      intermediary field_10460 Lnet/minecraft/class_388;field_10460:Lorg/apache/logging/log4j/Logger;
      named logger Lnet/minecraft/client/gui/screen/Screen;logger:Lorg/apache/logging/log4j/Logger;
    • ALLOWED_PROTOCOLS

      private static final Set<String> ALLOWED_PROTOCOLS
      Mappings:
      Namespace Name Mixin selector
      official f Laxu;f:Ljava/util/Set;
      intermediary field_10461 Lnet/minecraft/class_388;field_10461:Ljava/util/Set;
      named ALLOWED_PROTOCOLS Lnet/minecraft/client/gui/screen/Screen;ALLOWED_PROTOCOLS:Ljava/util/Set;
    • LINE_SPLITTER

      private static final Splitter LINE_SPLITTER
      Mappings:
      Namespace Name Mixin selector
      official g Laxu;g:Lcom/google/common/base/Splitter;
      intermediary field_10462 Lnet/minecraft/class_388;field_10462:Lcom/google/common/base/Splitter;
      named LINE_SPLITTER Lnet/minecraft/client/gui/screen/Screen;LINE_SPLITTER:Lcom/google/common/base/Splitter;
    • client

      protected MinecraftClient client
      Mappings:
      Namespace Name Mixin selector
      official j Laxu;j:Lave;
      intermediary field_1229 Lnet/minecraft/class_388;field_1229:Lnet/minecraft/class_1600;
      named client Lnet/minecraft/client/gui/screen/Screen;client:Lnet/minecraft/client/MinecraftClient;
    • itemRenderer

      protected ItemRenderer itemRenderer
      Mappings:
      Namespace Name Mixin selector
      official k Laxu;k:Lbjh;
      intermediary field_7770 Lnet/minecraft/class_388;field_7770:Lnet/minecraft/class_560;
      named itemRenderer Lnet/minecraft/client/gui/screen/Screen;itemRenderer:Lnet/minecraft/client/render/item/ItemRenderer;
    • width

      public int width
      Mappings:
      Namespace Name Mixin selector
      official l Laxu;l:I
      intermediary field_1230 Lnet/minecraft/class_388;field_1230:I
      named width Lnet/minecraft/client/gui/screen/Screen;width:I
    • height

      public int height
      Mappings:
      Namespace Name Mixin selector
      official m Laxu;m:I
      intermediary field_1231 Lnet/minecraft/class_388;field_1231:I
      named height Lnet/minecraft/client/gui/screen/Screen;height:I
    • buttons

      protected List<ButtonWidget> buttons
      Mappings:
      Namespace Name Mixin selector
      official n Laxu;n:Ljava/util/List;
      intermediary field_1232 Lnet/minecraft/class_388;field_1232:Ljava/util/List;
      named buttons Lnet/minecraft/client/gui/screen/Screen;buttons:Ljava/util/List;
    • labels

      protected List<LabelWidget> labels
      Mappings:
      Namespace Name Mixin selector
      official o Laxu;o:Ljava/util/List;
      intermediary field_7771 Lnet/minecraft/class_388;field_7771:Ljava/util/List;
      named labels Lnet/minecraft/client/gui/screen/Screen;labels:Ljava/util/List;
    • passEvents

      public boolean passEvents
      Mappings:
      Namespace Name Mixin selector
      official p Laxu;p:Z
      intermediary field_1233 Lnet/minecraft/class_388;field_1233:Z
      named passEvents Lnet/minecraft/client/gui/screen/Screen;passEvents:Z
    • textRenderer

      protected TextRenderer textRenderer
      Mappings:
      Namespace Name Mixin selector
      official q Laxu;q:Lavn;
      intermediary field_1234 Lnet/minecraft/class_388;field_1234:Lnet/minecraft/class_370;
      named textRenderer Lnet/minecraft/client/gui/screen/Screen;textRenderer:Lnet/minecraft/client/font/TextRenderer;
    • prevClickedButton

      private ButtonWidget prevClickedButton
      Mappings:
      Namespace Name Mixin selector
      official h Laxu;h:Lavs;
      intermediary field_1228 Lnet/minecraft/class_388;field_1228:Lnet/minecraft/class_356;
      named prevClickedButton Lnet/minecraft/client/gui/screen/Screen;prevClickedButton:Lnet/minecraft/client/gui/widget/ButtonWidget;
    • pressedMouseButton

      private int pressedMouseButton
      Mappings:
      Namespace Name Mixin selector
      official i Laxu;i:I
      intermediary field_5090 Lnet/minecraft/class_388;field_5090:I
      named pressedMouseButton Lnet/minecraft/client/gui/screen/Screen;pressedMouseButton:I
    • lastClicked

      private long lastClicked
      Mappings:
      Namespace Name Mixin selector
      official r Laxu;r:J
      intermediary field_5091 Lnet/minecraft/class_388;field_5091:J
      named lastClicked Lnet/minecraft/client/gui/screen/Screen;lastClicked:J
    • touchHeld

      private int touchHeld
      Mappings:
      Namespace Name Mixin selector
      official s Laxu;s:I
      intermediary field_5092 Lnet/minecraft/class_388;field_5092:I
      named touchHeld Lnet/minecraft/client/gui/screen/Screen;touchHeld:I
  • Constructor Details

    • Screen

      public Screen()
  • Method Details

    • render

      public void render(int mouseX, int mouseY, float tickDelta)
      Mappings:
      Namespace Name Mixin selector
      official a Laxu;a(IIF)V
      intermediary method_1025 Lnet/minecraft/class_388;method_1025(IIF)V
      named render Lnet/minecraft/client/gui/screen/Screen;render(IIF)V
    • keyPressed

      protected void keyPressed(char character, int code)
      Mappings:
      Namespace Name Mixin selector
      official a Laxu;a(CI)V
      intermediary method_1024 Lnet/minecraft/class_388;method_1024(CI)V
      named keyPressed Lnet/minecraft/client/gui/screen/Screen;keyPressed(CI)V
    • getClipboard

      public static String getClipboard()
      Mappings:
      Namespace Name Mixin selector
      official o Laxu;o()Ljava/lang/String;
      intermediary method_1038 Lnet/minecraft/class_388;method_1038()Ljava/lang/String;
      named getClipboard Lnet/minecraft/client/gui/screen/Screen;getClipboard()Ljava/lang/String;
    • setClipboard

      public static void setClipboard(String string)
      Mappings:
      Namespace Name Mixin selector
      official e Laxu;e(Ljava/lang/String;)V
      intermediary method_1036 Lnet/minecraft/class_388;method_1036(Ljava/lang/String;)V
      named setClipboard Lnet/minecraft/client/gui/screen/Screen;setClipboard(Ljava/lang/String;)V
    • renderTooltip

      protected void renderTooltip(ItemStack stack, int x, int y)
      Mappings:
      Namespace Name Mixin selector
      official a Laxu;a(Lzx;II)V
      intermediary method_6752 Lnet/minecraft/class_388;method_6752(Lnet/minecraft/class_1071;II)V
      named renderTooltip Lnet/minecraft/client/gui/screen/Screen;renderTooltip(Lnet/minecraft/item/ItemStack;II)V
    • renderTooltip

      protected void renderTooltip(String text, int x, int y)
      Mappings:
      Namespace Name Mixin selector
      official a Laxu;a(Ljava/lang/String;II)V
      intermediary method_6753 Lnet/minecraft/class_388;method_6753(Ljava/lang/String;II)V
      named renderTooltip Lnet/minecraft/client/gui/screen/Screen;renderTooltip(Ljava/lang/String;II)V
    • renderTooltip

      protected void renderTooltip(List<String> text, int x, int y)
      Mappings:
      Namespace Name Mixin selector
      official a Laxu;a(Ljava/util/List;II)V
      intermediary method_6754 Lnet/minecraft/class_388;method_6754(Ljava/util/List;II)V
      named renderTooltip Lnet/minecraft/client/gui/screen/Screen;renderTooltip(Ljava/util/List;II)V
    • renderTextHoverEffect

      protected void renderTextHoverEffect(Text text, int x, int y)
      Mappings:
      Namespace Name Mixin selector
      official a Laxu;a(Leu;II)V
      intermediary method_9579 Lnet/minecraft/class_388;method_9579(Lnet/minecraft/class_1982;II)V
      named renderTextHoverEffect Lnet/minecraft/client/gui/screen/Screen;renderTextHoverEffect(Lnet/minecraft/text/Text;II)V
    • insertText

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

      protected boolean handleTextClick(Text text)
      Mappings:
      Namespace Name Mixin selector
      official a Laxu;a(Leu;)Z
      intermediary method_9578 Lnet/minecraft/class_388;method_9578(Lnet/minecraft/class_1982;)Z
      named handleTextClick Lnet/minecraft/client/gui/screen/Screen;handleTextClick(Lnet/minecraft/text/Text;)Z
    • sendMessage

      public void sendMessage(String text)
      Mappings:
      Namespace Name Mixin selector
      official f Laxu;f(Ljava/lang/String;)V
      intermediary method_9587 Lnet/minecraft/class_388;method_9587(Ljava/lang/String;)V
      named sendMessage Lnet/minecraft/client/gui/screen/Screen;sendMessage(Ljava/lang/String;)V
    • sendMessage

      public void sendMessage(String text, boolean toHud)
      Mappings:
      Namespace Name Mixin selector
      official b Laxu;b(Ljava/lang/String;Z)V
      intermediary method_9583 Lnet/minecraft/class_388;method_9583(Ljava/lang/String;Z)V
      named sendMessage Lnet/minecraft/client/gui/screen/Screen;sendMessage(Ljava/lang/String;Z)V
    • mouseClicked

      protected void mouseClicked(int mouseX, int mouseY, int button)
      Mappings:
      Namespace Name Mixin selector
      official a Laxu;a(III)V
      intermediary method_1026 Lnet/minecraft/class_388;method_1026(III)V
      named mouseClicked Lnet/minecraft/client/gui/screen/Screen;mouseClicked(III)V
    • mouseReleased

      protected void mouseReleased(int mouseX, int mouseY, int button)
      Mappings:
      Namespace Name Mixin selector
      official b Laxu;b(III)V
      intermediary method_1032 Lnet/minecraft/class_388;method_1032(III)V
      named mouseReleased Lnet/minecraft/client/gui/screen/Screen;mouseReleased(III)V
    • mouseDragged

      protected void mouseDragged(int int2, int int3, int int4, long long2)
      Mappings:
      Namespace Name Mixin selector
      official a Laxu;a(IIIJ)V
      intermediary method_4259 Lnet/minecraft/class_388;method_4259(IIIJ)V
      named mouseDragged Lnet/minecraft/client/gui/screen/Screen;mouseDragged(IIIJ)V
    • buttonClicked

      protected void buttonClicked(ButtonWidget button)
      Mappings:
      Namespace Name Mixin selector
      official a Laxu;a(Lavs;)V
      intermediary method_1027 Lnet/minecraft/class_388;method_1027(Lnet/minecraft/class_356;)V
      named buttonClicked Lnet/minecraft/client/gui/screen/Screen;buttonClicked(Lnet/minecraft/client/gui/widget/ButtonWidget;)V
    • init

      public void init(MinecraftClient client, int width, int height)
      Mappings:
      Namespace Name Mixin selector
      official a Laxu;a(Lave;II)V
      intermediary method_1028 Lnet/minecraft/class_388;method_1028(Lnet/minecraft/class_1600;II)V
      named init Lnet/minecraft/client/gui/screen/Screen;init(Lnet/minecraft/client/MinecraftClient;II)V
    • setScreenBounds

      public void setScreenBounds(int width, int height)
      Mappings:
      Namespace Name Mixin selector
      official a Laxu;a(II)V
      intermediary method_9577 Lnet/minecraft/class_388;method_9577(II)V
      named setScreenBounds Lnet/minecraft/client/gui/screen/Screen;setScreenBounds(II)V
    • init

      public void init()
      Mappings:
      Namespace Name Mixin selector
      official b Laxu;b()V
      intermediary method_1044 Lnet/minecraft/class_388;method_1044()V
      named init Lnet/minecraft/client/gui/screen/Screen;init()V
    • handleInput

      public void handleInput()
      Mappings:
      Namespace Name Mixin selector
      official p Laxu;p()V
      intermediary method_1039 Lnet/minecraft/class_388;method_1039()V
      named handleInput Lnet/minecraft/client/gui/screen/Screen;handleInput()V
    • handleMouse

      public void handleMouse()
      Mappings:
      Namespace Name Mixin selector
      official k Laxu;k()V
      intermediary method_1035 Lnet/minecraft/class_388;method_1035()V
      named handleMouse Lnet/minecraft/client/gui/screen/Screen;handleMouse()V
    • handleKeyboard

      public void handleKeyboard()
      Mappings:
      Namespace Name Mixin selector
      official l Laxu;l()V
      intermediary method_6755 Lnet/minecraft/class_388;method_6755()V
      named handleKeyboard Lnet/minecraft/client/gui/screen/Screen;handleKeyboard()V
    • tick

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

      public void removed()
      Mappings:
      Namespace Name Mixin selector
      official m Laxu;m()V
      intermediary method_1030 Lnet/minecraft/class_388;method_1030()V
      named removed Lnet/minecraft/client/gui/screen/Screen;removed()V
    • renderBackground

      public void renderBackground()
      Mappings:
      Namespace Name Mixin selector
      official c Laxu;c()V
      intermediary method_1043 Lnet/minecraft/class_388;method_1043()V
      named renderBackground Lnet/minecraft/client/gui/screen/Screen;renderBackground()V
    • renderBackground

      public void renderBackground(int alpha)
      Mappings:
      Namespace Name Mixin selector
      official b_ Laxu;b_(I)V
      intermediary method_1031 Lnet/minecraft/class_388;method_1031(I)V
      named renderBackground Lnet/minecraft/client/gui/screen/Screen;renderBackground(I)V
    • renderDirtBackground

      public void renderDirtBackground(int alpha)
      Mappings:
      Namespace Name Mixin selector
      official c Laxu;c(I)V
      intermediary method_1034 Lnet/minecraft/class_388;method_1034(I)V
      named renderDirtBackground Lnet/minecraft/client/gui/screen/Screen;renderDirtBackground(I)V
    • shouldPauseGame

      public boolean shouldPauseGame()
      Mappings:
      Namespace Name Mixin selector
      official d Laxu;d()Z
      intermediary method_1037 Lnet/minecraft/class_388;method_1037()Z
      named shouldPauseGame Lnet/minecraft/client/gui/screen/Screen;shouldPauseGame()Z
    • confirmResult

      public void confirmResult(boolean bool, int int2)
      Specified by:
      confirmResult in interface IdentifibleBooleanConsumer
      Mappings:
      Namespace Name Mixin selector
      official method_1029 Laxu;method_1029(ZI)V
      intermediary method_1029 Lnet/minecraft/class_388;method_1029(ZI)V
      named confirmResult Lnet/minecraft/client/gui/screen/Screen;confirmResult(ZI)V
    • openLink

      private void openLink(URI link)
      Mappings:
      Namespace Name Mixin selector
      official a Laxu;a(Ljava/net/URI;)V
      intermediary method_9581 Lnet/minecraft/class_388;method_9581(Ljava/net/URI;)V
      named openLink Lnet/minecraft/client/gui/screen/Screen;openLink(Ljava/net/URI;)V
    • hasControlDown

      public static boolean hasControlDown()
      Mappings:
      Namespace Name Mixin selector
      official q Laxu;q()Z
      intermediary method_1041 Lnet/minecraft/class_388;method_1041()Z
      named hasControlDown Lnet/minecraft/client/gui/screen/Screen;hasControlDown()Z
    • hasShiftDown

      public static boolean hasShiftDown()
      Mappings:
      Namespace Name Mixin selector
      official r Laxu;r()Z
      intermediary method_1042 Lnet/minecraft/class_388;method_1042()Z
      named hasShiftDown Lnet/minecraft/client/gui/screen/Screen;hasShiftDown()Z
    • hasAltDown

      public static boolean hasAltDown()
      Mappings:
      Namespace Name Mixin selector
      official s Laxu;s()Z
      intermediary method_9589 Lnet/minecraft/class_388;method_9589()Z
      named hasAltDown Lnet/minecraft/client/gui/screen/Screen;hasAltDown()Z
    • isCut

      public static boolean isCut(int code)
      Mappings:
      Namespace Name Mixin selector
      official d Laxu;d(I)Z
      intermediary method_9584 Lnet/minecraft/class_388;method_9584(I)Z
      named isCut Lnet/minecraft/client/gui/screen/Screen;isCut(I)Z
    • isPaste

      public static boolean isPaste(int code)
      Mappings:
      Namespace Name Mixin selector
      official e Laxu;e(I)Z
      intermediary method_9585 Lnet/minecraft/class_388;method_9585(I)Z
      named isPaste Lnet/minecraft/client/gui/screen/Screen;isPaste(I)Z
    • isCopy

      public static boolean isCopy(int code)
      Mappings:
      Namespace Name Mixin selector
      official f Laxu;f(I)Z
      intermediary method_9586 Lnet/minecraft/class_388;method_9586(I)Z
      named isCopy Lnet/minecraft/client/gui/screen/Screen;isCopy(I)Z
    • isSelectAll

      public static boolean isSelectAll(int code)
      Mappings:
      Namespace Name Mixin selector
      official g Laxu;g(I)Z
      intermediary method_9588 Lnet/minecraft/class_388;method_9588(I)Z
      named isSelectAll Lnet/minecraft/client/gui/screen/Screen;isSelectAll(I)Z
    • resize

      public void resize(MinecraftClient client, int width, int height)
      Mappings:
      Namespace Name Mixin selector
      official b Laxu;b(Lave;II)V
      intermediary method_9582 Lnet/minecraft/class_388;method_9582(Lnet/minecraft/class_1600;II)V
      named resize Lnet/minecraft/client/gui/screen/Screen;resize(Lnet/minecraft/client/MinecraftClient;II)V