Class ChatPreviewWarningScreen

All Implemented Interfaces:
Drawable, Element, ParentElement

@Environment(CLIENT) public class ChatPreviewWarningScreen extends WarningScreen
Mappings:
Namespace Name
official eoa
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 Leoa;b:Lrq;
      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;
    • CHECK_MESSAGE

      private static final Text CHECK_MESSAGE
      Mappings:
      Namespace Name Mixin selector
      official c Leoa;c:Lrq;
      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;
    • serverInfo

      private final ServerInfo serverInfo
      Mappings:
      Namespace Name Mixin selector
      official n Leoa;n:Levb;
      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 o Leoa;o:Lelm;
      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> Leoa;<init>(Lelm;Levb;)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

    • getWarningContent

      private static Text getWarningContent()
      Mappings:
      Namespace Name Mixin selector
      official j Leoa;j()Lrq;
      intermediary method_44938 Lnet/minecraft/class_7483;method_44938()Lnet/minecraft/class_2561;
      named getWarningContent Lnet/minecraft/client/gui/screen/multiplayer/ChatPreviewWarningScreen;getWarningContent()Lnet/minecraft/text/Text;
    • initButtons

      protected void initButtons(int yOffset)
      Specified by:
      initButtons in class WarningScreen
      Mappings:
      Namespace Name Mixin selector
      official a Leof;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 af_ Lelm;af_()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 k Leoa;k()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 g Leof;g()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 ag_ Lelm;ag_()V
      intermediary method_25419 Lnet/minecraft/class_437;method_25419()V
      named close Lnet/minecraft/client/gui/screen/Screen;close()V