Class ChatScreen

All Implemented Interfaces:
IdentifibleBooleanConsumer
Direct Known Subclasses:
SleepingChatScreen

@Environment(CLIENT) public class ChatScreen extends Screen
Mappings:
Namespace Name
official bvx
intermediary net/minecraft/class_359
named net/minecraft/client/gui/screen/ChatScreen
  • Field Details

    • LOGGER

      private static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      official f Lbvx;f:Lorg/apache/logging/log4j/Logger;
      intermediary field_7751 Lnet/minecraft/class_359;field_7751:Lorg/apache/logging/log4j/Logger;
      named LOGGER Lnet/minecraft/client/gui/screen/ChatScreen;LOGGER:Lorg/apache/logging/log4j/Logger;
    • originalChatText

      private String originalChatText
      Mappings:
      Namespace Name Mixin selector
      official g Lbvx;g:Ljava/lang/String;
      intermediary field_1067 Lnet/minecraft/class_359;field_1067:Ljava/lang/String;
      named originalChatText Lnet/minecraft/client/gui/screen/ChatScreen;originalChatText:Ljava/lang/String;
    • messageHistorySize

      private int messageHistorySize
      Mappings:
      Namespace Name Mixin selector
      official h Lbvx;h:I
      intermediary field_1068 Lnet/minecraft/class_359;field_1068:I
      named messageHistorySize Lnet/minecraft/client/gui/screen/ChatScreen;messageHistorySize:I
    • field_1069

      private boolean field_1069
      Mappings:
      Namespace Name Mixin selector
      official i Lbvx;i:Z
      intermediary field_1069 Lnet/minecraft/class_359;field_1069:Z
      named field_1069 Lnet/minecraft/client/gui/screen/ChatScreen;field_1069:Z
    • field_1070

      private boolean field_1070
      Mappings:
      Namespace Name Mixin selector
      official r Lbvx;r:Z
      intermediary field_1070 Lnet/minecraft/class_359;field_1070:Z
      named field_1070 Lnet/minecraft/client/gui/screen/ChatScreen;field_1070:Z
    • currentSelection

      private int currentSelection
      Mappings:
      Namespace Name Mixin selector
      official s Lbvx;s:I
      intermediary field_1071 Lnet/minecraft/class_359;field_1071:I
      named currentSelection Lnet/minecraft/client/gui/screen/ChatScreen;currentSelection:I
    • suggestions

      private List suggestions
      Mappings:
      Namespace Name Mixin selector
      official t Lbvx;t:Ljava/util/List;
      intermediary field_1072 Lnet/minecraft/class_359;field_1072:Ljava/util/List;
      named suggestions Lnet/minecraft/client/gui/screen/ChatScreen;suggestions:Ljava/util/List;
    • chatField

      protected TextFieldWidget chatField
      Mappings:
      Namespace Name Mixin selector
      official a Lbvx;a:Lbul;
      intermediary field_1066 Lnet/minecraft/class_359;field_1066:Lnet/minecraft/class_367;
      named chatField Lnet/minecraft/client/gui/screen/ChatScreen;chatField:Lnet/minecraft/client/gui/widget/TextFieldWidget;
    • lastChatFieldText

      private String lastChatFieldText
      Mappings:
      Namespace Name Mixin selector
      official u Lbvx;u:Ljava/lang/String;
      intermediary field_1074 Lnet/minecraft/class_359;field_1074:Ljava/lang/String;
      named lastChatFieldText Lnet/minecraft/client/gui/screen/ChatScreen;lastChatFieldText:Ljava/lang/String;
  • Constructor Details

    • ChatScreen

      public ChatScreen()
    • ChatScreen

      public ChatScreen(String lastChatFieldText)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbvx;<init>(Ljava/lang/String;)V
      intermediary <init> Lnet/minecraft/class_359;<init>(Ljava/lang/String;)V
      named <init> Lnet/minecraft/client/gui/screen/ChatScreen;<init>(Ljava/lang/String;)V
  • Method Details

    • init

      public void init()
      Overrides:
      init in class Screen
      Mappings:
      Namespace Name Mixin selector
      official b Lbxf;b()V
      intermediary method_1044 Lnet/minecraft/class_388;method_1044()V
      named init Lnet/minecraft/client/gui/screen/Screen;init()V
    • removed

      public void removed()
      Overrides:
      removed in class Screen
      Mappings:
      Namespace Name Mixin selector
      official m Lbxf;m()V
      intermediary method_1030 Lnet/minecraft/class_388;method_1030()V
      named removed Lnet/minecraft/client/gui/screen/Screen;removed()V
    • tick

      public void tick()
      Overrides:
      tick in class Screen
      Mappings:
      Namespace Name Mixin selector
      official e Lbxf;e()V
      intermediary method_1033 Lnet/minecraft/class_388;method_1033()V
      named tick Lnet/minecraft/client/gui/screen/Screen;tick()V
    • keyPressed

      protected void keyPressed(char character, int code)
      Overrides:
      keyPressed in class Screen
      Mappings:
      Namespace Name Mixin selector
      official a Lbxf;a(CI)V
      intermediary method_1024 Lnet/minecraft/class_388;method_1024(CI)V
      named keyPressed Lnet/minecraft/client/gui/screen/Screen;keyPressed(CI)V
    • handleMouse

      public void handleMouse()
      Overrides:
      handleMouse in class Screen
      Mappings:
      Namespace Name Mixin selector
      official k Lbxf;k()V
      intermediary method_1035 Lnet/minecraft/class_388;method_1035()V
      named handleMouse Lnet/minecraft/client/gui/screen/Screen;handleMouse()V
    • mouseClicked

      protected void mouseClicked(int mouseX, int mouseY, int button)
      Overrides:
      mouseClicked in class Screen
      Mappings:
      Namespace Name Mixin selector
      official a Lbxf;a(III)V
      intermediary method_1026 Lnet/minecraft/class_388;method_1026(III)V
      named mouseClicked Lnet/minecraft/client/gui/screen/Screen;mouseClicked(III)V
    • insertText

      protected void insertText(String text, boolean override)
      Overrides:
      insertText in class Screen
      Mappings:
      Namespace Name Mixin selector
      official a Lbxf;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
    • showSuggestion

      public void showSuggestion()
      Mappings:
      Namespace Name Mixin selector
      official a Lbvx;a()V
      intermediary method_911 Lnet/minecraft/class_359;method_911()V
      named showSuggestion Lnet/minecraft/client/gui/screen/ChatScreen;showSuggestion()V
    • method_908

      private void method_908(String string, String string2)
      Mappings:
      Namespace Name Mixin selector
      official a Lbvx;a(Ljava/lang/String;Ljava/lang/String;)V
      intermediary method_908 Lnet/minecraft/class_359;method_908(Ljava/lang/String;Ljava/lang/String;)V
      named method_908 Lnet/minecraft/client/gui/screen/ChatScreen;method_908(Ljava/lang/String;Ljava/lang/String;)V
    • setChatFromHistory

      public void setChatFromHistory(int int2)
      Mappings:
      Namespace Name Mixin selector
      official b Lbvx;b(I)V
      intermediary method_907 Lnet/minecraft/class_359;method_907(I)V
      named setChatFromHistory Lnet/minecraft/client/gui/screen/ChatScreen;setChatFromHistory(I)V
    • render

      public void render(int mouseX, int mouseY, float tickDelta)
      Overrides:
      render in class Screen
      Mappings:
      Namespace Name Mixin selector
      official a Lbxf;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
    • setSuggestions

      public void setSuggestions(String[] suggestions)
      Mappings:
      Namespace Name Mixin selector
      official a Lbvx;a([Ljava/lang/String;)V
      intermediary method_910 Lnet/minecraft/class_359;method_910([Ljava/lang/String;)V
      named setSuggestions Lnet/minecraft/client/gui/screen/ChatScreen;setSuggestions([Ljava/lang/String;)V
    • shouldPauseGame

      public boolean shouldPauseGame()
      Overrides:
      shouldPauseGame in class Screen
      Mappings:
      Namespace Name Mixin selector
      official d Lbxf;d()Z
      intermediary method_1037 Lnet/minecraft/class_388;method_1037()Z
      named shouldPauseGame Lnet/minecraft/client/gui/screen/Screen;shouldPauseGame()Z