Class ChatPreviewWarningScreen

All Implemented Interfaces:
Drawable, Element, ParentElement

@Environment(CLIENT) public class ChatPreviewWarningScreen extends WarningScreen
Mappings:
Namespace Name
official emx
intermediary net/minecraft/class_7483
named net/minecraft/client/gui/screen/multiplayer/ChatPreviewWarningScreen
  • Field Details

    • TITLE

      private static final Text TITLE
      Mappings:
      Namespace Name Mixin selector
      official b Lemx;b:Lrm;
      intermediary field_39348 Lnet/minecraft/class_7483;field_39348:Lnet/minecraft/class_2561;
      named TITLE Lnet/minecraft/client/gui/screen/multiplayer/ChatPreviewWarningScreen;TITLE:Lnet/minecraft/text/Text;
    • CONTENT

      private static final Text CONTENT
      Mappings:
      Namespace Name Mixin selector
      official c Lemx;c:Lrm;
      intermediary field_39349 Lnet/minecraft/class_7483;field_39349:Lnet/minecraft/class_2561;
      named CONTENT Lnet/minecraft/client/gui/screen/multiplayer/ChatPreviewWarningScreen;CONTENT:Lnet/minecraft/text/Text;
    • CHECK_MESSAGE

      private static final Text CHECK_MESSAGE
      Mappings:
      Namespace Name Mixin selector
      official n Lemx;n:Lrm;
      intermediary field_39350 Lnet/minecraft/class_7483;field_39350:Lnet/minecraft/class_2561;
      named CHECK_MESSAGE Lnet/minecraft/client/gui/screen/multiplayer/ChatPreviewWarningScreen;CHECK_MESSAGE:Lnet/minecraft/text/Text;
    • NARRATED_TEXT

      private static final Text NARRATED_TEXT
      Mappings:
      Namespace Name Mixin selector
      official o Lemx;o:Lrm;
      intermediary field_39351 Lnet/minecraft/class_7483;field_39351:Lnet/minecraft/class_2561;
      named NARRATED_TEXT Lnet/minecraft/client/gui/screen/multiplayer/ChatPreviewWarningScreen;NARRATED_TEXT:Lnet/minecraft/text/Text;
    • serverInfo

      private final ServerInfo serverInfo
      Mappings:
      Namespace Name Mixin selector
      official p Lemx;p:Lets;
      intermediary field_39352 Lnet/minecraft/class_7483;field_39352:Lnet/minecraft/class_642;
      named serverInfo Lnet/minecraft/client/gui/screen/multiplayer/ChatPreviewWarningScreen;serverInfo:Lnet/minecraft/client/network/ServerInfo;
    • parent

      @Nullable private final @Nullable Screen parent
      Mappings:
      Namespace Name Mixin selector
      official q Lemx;q:Lekj;
      intermediary field_39433 Lnet/minecraft/class_7483;field_39433:Lnet/minecraft/class_437;
      named parent Lnet/minecraft/client/gui/screen/multiplayer/ChatPreviewWarningScreen;parent:Lnet/minecraft/client/gui/screen/Screen;
  • Constructor Details

    • ChatPreviewWarningScreen

      public ChatPreviewWarningScreen(@Nullable @Nullable Screen parent, ServerInfo serverInfo)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lemx;<init>(Lekj;Lets;)V
      intermediary <init> Lnet/minecraft/class_7483;<init>(Lnet/minecraft/class_437;Lnet/minecraft/class_642;)V
      named <init> Lnet/minecraft/client/gui/screen/multiplayer/ChatPreviewWarningScreen;<init>(Lnet/minecraft/client/gui/screen/Screen;Lnet/minecraft/client/network/ServerInfo;)V
  • Method Details

    • initButtons

      protected void initButtons(int yOffset)
      Specified by:
      initButtons in class WarningScreen
      Mappings:
      Namespace Name Mixin selector
      official a Lenc;a(I)V
      intermediary method_41160 Lnet/minecraft/class_7065;method_41160(I)V
      named initButtons Lnet/minecraft/client/gui/screen/WarningScreen;initButtons(I)V
    • shouldCloseOnEsc

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

      private void acknowledge()
      Mappings:
      Namespace Name Mixin selector
      official j Lemx;j()V
      intermediary method_44069 Lnet/minecraft/class_7483;method_44069()V
      named acknowledge Lnet/minecraft/client/gui/screen/multiplayer/ChatPreviewWarningScreen;acknowledge()V
    • getLineHeight

      protected int getLineHeight()
      Overrides:
      getLineHeight in class WarningScreen
      Mappings:
      Namespace Name Mixin selector
      official h Lenc;h()I
      intermediary method_44068 Lnet/minecraft/class_7065;method_44068()I
      named getLineHeight Lnet/minecraft/client/gui/screen/WarningScreen;getLineHeight()I
    • close

      public void close()
      Overrides:
      close in class Screen
      Mappings:
      Namespace Name Mixin selector
      official ah_ Lekj;ah_()V
      intermediary method_25419 Lnet/minecraft/class_437;method_25419()V
      named close Lnet/minecraft/client/gui/screen/Screen;close()V