Class Screen

All Implemented Interfaces:
class_4122, class_4123, IdentifibleBooleanConsumer
Direct Known Subclasses:
AddServerScreen, AdvancementsScreen, BookEditScreen, ChatOptionsScreen, ChatScreen, class_3020, class_4152, class_4153, class_4156, class_4157, class_4158, class_4162, class_4179, ConfirmScreen, ConnectScreen, ControlsOptionsScreen, CreateWorldScreen, CreditsScreen, CustomizeFlatLevelScreen, DeathScreen, DemoScreen, DirectConnectScreen, DisconnectedScreen, DownloadingTerrainScreen, EditWorldScreen, FatalErrorScreen, GameMenuScreen, HandledScreen, LanguageOptionsScreen, MultiplayerScreen, OpenToLanScreen, OutOfMemoryScreen, ProgressScreen, RealmsScreenProxy, ResourcePackScreen, SelectWorldScreen, SettingsScreen, SignEditScreen, SkinOptionsScreen, SnooperScreen, SoundsScreen, StatsScreen, SuperflatPresetScreen, TitleScreen, VideoOptionsScreen

@Environment(CLIENT) public abstract class Screen extends class_4121 implements IdentifibleBooleanConsumer
Mappings:
Namespace Name
official ckd
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 Lckd;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 Lckd;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;
    • field_20307

      protected final List<class_4122> field_20307
      Mappings:
      Namespace Name Mixin selector
      official j Lckd;j:Ljava/util/List;
      intermediary field_20307 Lnet/minecraft/class_388;field_20307:Ljava/util/List;
      named field_20307 Lnet/minecraft/client/gui/screen/Screen;field_20307:Ljava/util/List;
    • client

      protected MinecraftClient client
      Mappings:
      Namespace Name Mixin selector
      official k Lckd;k:Lcft;
      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;
    • field_20308

      protected HeldItemRenderer field_20308
      Mappings:
      Namespace Name Mixin selector
      official l Lckd;l:Lczg;
      intermediary field_20308 Lnet/minecraft/class_388;field_20308:Lnet/minecraft/class_529;
      named field_20308 Lnet/minecraft/client/gui/screen/Screen;field_20308:Lnet/minecraft/client/render/item/HeldItemRenderer;
    • width

      public int width
      Mappings:
      Namespace Name Mixin selector
      official m Lckd;m: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 n Lckd;n:I
      intermediary field_1231 Lnet/minecraft/class_388;field_1231:I
      named height Lnet/minecraft/client/gui/screen/Screen;height:I
    • buttons

      protected final List<ButtonWidget> buttons
      Mappings:
      Namespace Name Mixin selector
      official o Lckd;o: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 final List<LabelWidget> labels
      Mappings:
      Namespace Name Mixin selector
      official p Lckd;p: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 q Lckd;q: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 r Lckd;r:Lcgk;
      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;
  • Constructor Details

    • Screen

      public Screen()
  • Method Details

    • render

      public void render(int mouseX, int mouseY, float tickDelta)
      Mappings:
      Namespace Name Mixin selector
      official a Lckd;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

      public boolean keyPressed(int int2, int int3, int int4)
      Specified by:
      keyPressed in interface class_4122
      Specified by:
      keyPressed in interface class_4123
      Overrides:
      keyPressed in class class_4121
      Mappings:
      Namespace Name Mixin selector
      official keyPressed Lchr;keyPressed(III)Z
      intermediary keyPressed Lnet/minecraft/class_4122;keyPressed(III)Z
      named keyPressed Lnet/minecraft/class_4122;keyPressed(III)Z
    • method_18607

      public boolean method_18607()
      Mappings:
      Namespace Name Mixin selector
      official ah_ Lckd;ah_()Z
      intermediary method_18607 Lnet/minecraft/class_388;method_18607()Z
      named method_18607 Lnet/minecraft/client/gui/screen/Screen;method_18607()Z
    • method_18608

      public void method_18608()
      Mappings:
      Namespace Name Mixin selector
      official g Lckd;g()V
      intermediary method_18608 Lnet/minecraft/class_388;method_18608()V
      named method_18608 Lnet/minecraft/client/gui/screen/Screen;method_18608()V
    • method_13411

      protected <T extends ButtonWidget> T method_13411(T t)
      Mappings:
      Namespace Name Mixin selector
      official a Lckd;a(Lcgu;)Lcgu;
      intermediary method_13411 Lnet/minecraft/class_388;method_13411(Lnet/minecraft/class_356;)Lnet/minecraft/class_356;
      named method_13411 Lnet/minecraft/client/gui/screen/Screen;method_13411(Lnet/minecraft/client/gui/widget/ButtonWidget;)Lnet/minecraft/client/gui/widget/ButtonWidget;
    • renderTooltip

      protected void renderTooltip(ItemStack stack, int x, int y)
      Mappings:
      Namespace Name Mixin selector
      official a Lckd;a(Late;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
    • method_14502

      public List<String> method_14502(ItemStack itemStack)
      Mappings:
      Namespace Name Mixin selector
      official a Lckd;a(Late;)Ljava/util/List;
      intermediary method_14502 Lnet/minecraft/class_388;method_14502(Lnet/minecraft/class_1071;)Ljava/util/List;
      named method_14502 Lnet/minecraft/client/gui/screen/Screen;method_14502(Lnet/minecraft/item/ItemStack;)Ljava/util/List;
    • renderTooltip

      public void renderTooltip(String text, int x, int y)
      Mappings:
      Namespace Name Mixin selector
      official a Lckd;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

      public void renderTooltip(List<String> text, int x, int y)
      Mappings:
      Namespace Name Mixin selector
      official a Lckd;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 Lckd;a(Lij;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 Lckd;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

      public boolean handleTextClick(Text text)
      Mappings:
      Namespace Name Mixin selector
      official d Lckd;d(Lij;)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 e Lckd;e(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 Lckd;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
    • init

      public void init(MinecraftClient client, int width, int height)
      Mappings:
      Namespace Name Mixin selector
      official a Lckd;a(Lcft;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
    • method_18423

      public List<? extends class_4122> method_18423()
      Specified by:
      method_18423 in class class_4121
      Mappings:
      Namespace Name Mixin selector
      official b Lchq;b()Ljava/util/List;
      intermediary method_18423 Lnet/minecraft/class_4121;method_18423()Ljava/util/List;
      named method_18423 Lnet/minecraft/class_4121;method_18423()Ljava/util/List;
    • init

      protected void init()
      Mappings:
      Namespace Name Mixin selector
      official c Lckd;c()V
      intermediary method_1044 Lnet/minecraft/class_388;method_1044()V
      named init Lnet/minecraft/client/gui/screen/Screen;init()V
    • tick

      public void tick()
      Mappings:
      Namespace Name Mixin selector
      official f Lckd;f()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 n Lckd;n()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 d Lckd;d()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 c_ Lckd;c_(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 Lckd;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 e Lckd;e()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 confirmResult Lcji;confirmResult(ZI)V
      intermediary confirmResult Lnet/minecraft/class_1811;confirmResult(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 Lckd;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 p Lckd;p()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 q Lckd;q()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 r Lckd;r()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 Lckd;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 Lckd;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 Lckd;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 Lckd;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 Lckd;b(Lcft;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
    • method_18605

      public static void method_18605(Runnable runnable, String string, String string2)
      Mappings:
      Namespace Name Mixin selector
      official a Lckd;a(Ljava/lang/Runnable;Ljava/lang/String;Ljava/lang/String;)V
      intermediary method_18605 Lnet/minecraft/class_388;method_18605(Ljava/lang/Runnable;Ljava/lang/String;Ljava/lang/String;)V
      named method_18605 Lnet/minecraft/client/gui/screen/Screen;method_18605(Ljava/lang/Runnable;Ljava/lang/String;Ljava/lang/String;)V