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, PresetsScreen, ProgressScreen, RealmsScreenProxy, ResourcePackScreen, SelectWorldScreen, SettingsScreen, SignEditScreen, SkinOptionsScreen, SnooperScreen, SoundsScreen, StatsScreen, StreamIngestScreen, StreamScreen, StreamUtilitiesScreen, TitleScreen, TwitchErrorScreen, VideoOptionsScreen

@Environment(CLIENT)
public abstract class Screen
extends DrawableHelper
implements IdentifibleBooleanConsumer
Mappings:
Namespace Name
official axu
intermediary net/minecraft/class_754
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_3202 Lnet/minecraft/class_754;field_3202: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_3203 Lnet/minecraft/class_754;field_3203: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_3204 Lnet/minecraft/class_754;field_3204: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_3207 Lnet/minecraft/class_754;field_3207:Lnet/minecraft/class_669;
      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_3208 Lnet/minecraft/class_754;field_3208:Lnet/minecraft/class_1150;
      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_3209 Lnet/minecraft/class_754;field_3209: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_3210 Lnet/minecraft/class_754;field_3210: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_3211 Lnet/minecraft/class_754;field_3211: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_3212 Lnet/minecraft/class_754;field_3212: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_3213 Lnet/minecraft/class_754;field_3213: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_3214 Lnet/minecraft/class_754;field_3214:Lnet/minecraft/class_679;
      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_3205 Lnet/minecraft/class_754;field_3205:Lnet/minecraft/class_685;
      named prevClickedButton Lnet/minecraft/client/gui/screen/Screen;prevClickedButton:Lnet/minecraft/client/gui/widget/ButtonWidget;
    • button

      private int button
      Mappings:
      Namespace Name Mixin selector
      official i Laxu;i:I
      intermediary field_3206 Lnet/minecraft/class_754;field_3206:I
      named button Lnet/minecraft/client/gui/screen/Screen;button:I
    • field_3215

      private long field_3215
      Mappings:
      Namespace Name Mixin selector
      official r Laxu;r:J
      intermediary field_3215 Lnet/minecraft/class_754;field_3215:J
      named field_3215 Lnet/minecraft/client/gui/screen/Screen;field_3215:J
    • field_3216

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

    • Screen

      public Screen()
  • Method Details

    • render

      public void render​(int mouseX, int mouseY, float delta)
      Mappings:
      Namespace Name Mixin selector
      official a Laxu;a(IIF)V
      intermediary method_2783 Lnet/minecraft/class_754;method_2783(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_2781 Lnet/minecraft/class_754;method_2781(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_2813 Lnet/minecraft/class_754;method_2813()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_2806 Lnet/minecraft/class_754;method_2806(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_2794 Lnet/minecraft/class_754;method_2794(Lnet/minecraft/class_2056;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_2790 Lnet/minecraft/class_754;method_2790(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_2793 Lnet/minecraft/class_754;method_2793(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_2789 Lnet/minecraft/class_754;method_2789(Lnet/minecraft/class_1444;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_2791 Lnet/minecraft/class_754;method_2791(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_2788 Lnet/minecraft/class_754;method_2788(Lnet/minecraft/class_1444;)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_2808 Lnet/minecraft/class_754;method_2808(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_2798 Lnet/minecraft/class_754;method_2798(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_2784 Lnet/minecraft/class_754;method_2784(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_2796 Lnet/minecraft/class_754;method_2796(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_2785 Lnet/minecraft/class_754;method_2785(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_2787 Lnet/minecraft/class_754;method_2787(Lnet/minecraft/class_685;)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_2786 Lnet/minecraft/class_754;method_2786(Lnet/minecraft/class_669;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_2782 Lnet/minecraft/class_754;method_2782(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_2795 Lnet/minecraft/class_754;method_2795()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_2814 Lnet/minecraft/class_754;method_2814()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_2810 Lnet/minecraft/class_754;method_2810()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_2811 Lnet/minecraft/class_754;method_2811()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_2804 Lnet/minecraft/class_754;method_2804()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_2812 Lnet/minecraft/class_754;method_2812()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_2800 Lnet/minecraft/class_754;method_2800()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_2799 Lnet/minecraft/class_754;method_2799(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_2801 Lnet/minecraft/class_754;method_2801(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_2802 Lnet/minecraft/class_754;method_2802()Z
      named shouldPauseGame Lnet/minecraft/client/gui/screen/Screen;shouldPauseGame()Z
    • confirmResult

      public void confirmResult​(boolean b, int id)
      Specified by:
      confirmResult in interface IdentifibleBooleanConsumer
      Mappings:
      Namespace Name Mixin selector
      official a Lawx;a(ZI)V
      intermediary method_2708 Lnet/minecraft/class_725;method_2708(ZI)V
      named confirmResult Lnet/minecraft/client/gui/widget/IdentifibleBooleanConsumer;confirmResult(ZI)V
    • openLink

      private void openLink​(URI link)
      Mappings:
      Namespace Name Mixin selector
      official a Laxu;a(Ljava/net/URI;)V
      intermediary method_2792 Lnet/minecraft/class_754;method_2792(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_2815 Lnet/minecraft/class_754;method_2815()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_2816 Lnet/minecraft/class_754;method_2816()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_2817 Lnet/minecraft/class_754;method_2817()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_2803 Lnet/minecraft/class_754;method_2803(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_2805 Lnet/minecraft/class_754;method_2805(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_2807 Lnet/minecraft/class_754;method_2807(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_2809 Lnet/minecraft/class_754;method_2809(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_2797 Lnet/minecraft/class_754;method_2797(Lnet/minecraft/class_669;II)V
      named resize Lnet/minecraft/client/gui/screen/Screen;resize(Lnet/minecraft/client/MinecraftClient;II)V