Class ChatScreen

All Implemented Interfaces:
IdentifibleBooleanConsumer
Direct Known Subclasses:
SleepingChatScreen

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

    • LOGGER

      private static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      official f Lawv;f:Lorg/apache/logging/log4j/Logger;
      intermediary field_3038 Lnet/minecraft/class_723;field_3038: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 Lawv;g:Ljava/lang/String;
      intermediary field_3039 Lnet/minecraft/class_723;field_3039: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 Lawv;h:I
      intermediary field_3040 Lnet/minecraft/class_723;field_3040:I
      named messageHistorySize Lnet/minecraft/client/gui/screen/ChatScreen;messageHistorySize:I
    • field_3041

      private boolean field_3041
      Mappings:
      Namespace Name Mixin selector
      official i Lawv;i:Z
      intermediary field_3041 Lnet/minecraft/class_723;field_3041:Z
      named field_3041 Lnet/minecraft/client/gui/screen/ChatScreen;field_3041:Z
    • field_3042

      private boolean field_3042
      Mappings:
      Namespace Name Mixin selector
      official r Lawv;r:Z
      intermediary field_3042 Lnet/minecraft/class_723;field_3042:Z
      named field_3042 Lnet/minecraft/client/gui/screen/ChatScreen;field_3042:Z
    • currentSelection

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

      private List<String> suggestions
      Mappings:
      Namespace Name Mixin selector
      official t Lawv;t:Ljava/util/List;
      intermediary field_3044 Lnet/minecraft/class_723;field_3044: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 Lawv;a:Lavw;
      intermediary field_3037 Lnet/minecraft/class_723;field_3037:Lnet/minecraft/class_689;
      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 Lawv;u:Ljava/lang/String;
      intermediary field_3045 Lnet/minecraft/class_723;field_3045: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> Lawv;<init>(Ljava/lang/String;)V
      intermediary <init> Lnet/minecraft/class_723;<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 Laxu;b()V
      intermediary method_2795 Lnet/minecraft/class_754;method_2795()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 Laxu;m()V
      intermediary method_2812 Lnet/minecraft/class_754;method_2812()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 Laxu;e()V
      intermediary method_2804 Lnet/minecraft/class_754;method_2804()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 Laxu;a(CI)V
      intermediary method_2781 Lnet/minecraft/class_754;method_2781(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 Laxu;k()V
      intermediary method_2810 Lnet/minecraft/class_754;method_2810()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 Laxu;a(III)V
      intermediary method_2784 Lnet/minecraft/class_754;method_2784(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 Laxu;a(Ljava/lang/String;Z)V
      intermediary method_2791 Lnet/minecraft/class_754;method_2791(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 Lawv;a()V
      intermediary method_2702 Lnet/minecraft/class_723;method_2702()V
      named showSuggestion Lnet/minecraft/client/gui/screen/ChatScreen;showSuggestion()V
    • method_2703

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

      public void setChatFromHistory​(int int2)
      Mappings:
      Namespace Name Mixin selector
      official b Lawv;b(I)V
      intermediary method_2705 Lnet/minecraft/class_723;method_2705(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 Laxu;a(IIF)V
      intermediary method_2783 Lnet/minecraft/class_754;method_2783(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 Lawv;a([Ljava/lang/String;)V
      intermediary method_2704 Lnet/minecraft/class_723;method_2704([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 Laxu;d()Z
      intermediary method_2802 Lnet/minecraft/class_754;method_2802()Z
      named shouldPauseGame Lnet/minecraft/client/gui/screen/Screen;shouldPauseGame()Z