Class ChatPreviewWarningScreen

All Implemented Interfaces:
Drawable, Element, ParentElement

@Environment(CLIENT) public class ChatPreviewWarningScreen extends WarningScreen
Mappings:
Namespace Name
official emw
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 Lemw;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 Lemw;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 Lemw;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 Lemw;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 Lemw;p:Letr;
      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 Lemw;q:Leki;
      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> Lemw;<init>(Leki;Letr;)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 Lenb;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_ Leki;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 Lemw;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 Lenb;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_ Leki;ah_()V
      intermediary method_25419 Lnet/minecraft/class_437;method_25419()V
      named close Lnet/minecraft/client/gui/screen/Screen;close()V