类 ChatScreen

所有已实现的接口:
ContainerEventHandler, GuiEventListener, Renderable, TabOrderedElement
直接已知子类:
InBedChatScreen

public class ChatScreen extends Screen
  • 字段详细资料

    • MOUSE_SCROLL_SPEED

      public static final double MOUSE_SCROLL_SPEED
      另请参阅:
    • USAGE_TEXT

      private static final Component USAGE_TEXT
    • TOOLTIP_MAX_WIDTH

      private static final int TOOLTIP_MAX_WIDTH
      另请参阅:
    • historyBuffer

      private String historyBuffer
    • historyPos

      private int historyPos
    • input

      protected EditBox input
    • initial

      private String initial
    • commandSuggestions

      CommandSuggestions commandSuggestions
  • 构造器详细资料

    • ChatScreen

      public ChatScreen(String p_95579_)
  • 方法详细资料

    • init

      protected void init()
      覆盖:
      init 在类中 Screen
    • setInitialFocus

      protected void setInitialFocus()
      覆盖:
      setInitialFocus 在类中 Screen
    • resize

      public void resize(Minecraft p_95600_, int p_95601_, int p_95602_)
      覆盖:
      resize 在类中 Screen
    • removed

      public void removed()
      覆盖:
      removed 在类中 Screen
    • onEdited

      private void onEdited(String p_95611_)
    • keyPressed

      public boolean keyPressed(int p_95591_, int p_95592_, int p_95593_)
      指定者:
      keyPressed 在接口中 ContainerEventHandler
      指定者:
      keyPressed 在接口中 GuiEventListener
      覆盖:
      keyPressed 在类中 Screen
    • mouseScrolled

      public boolean mouseScrolled(double p_95581_, double p_95582_, double p_95583_, double p_300876_)
    • mouseClicked

      public boolean mouseClicked(double p_95585_, double p_95586_, int p_95587_)
    • insertText

      protected void insertText(String p_95606_, boolean p_95607_)
      覆盖:
      insertText 在类中 Screen
    • moveInHistory

      public void moveInHistory(int p_95589_)
    • render

      public void render(GuiGraphics p_282470_, int p_282674_, int p_282014_, float p_283132_)
      指定者:
      render 在接口中 Renderable
      覆盖:
      render 在类中 Screen
    • renderBackground

      public void renderBackground(GuiGraphics p_298203_, int p_299897_, int p_297752_, float p_300216_)
      覆盖:
      renderBackground 在类中 Screen
    • isPauseScreen

      public boolean isPauseScreen()
      覆盖:
      isPauseScreen 在类中 Screen
    • setChatLine

      private void setChatLine(String p_95613_)
    • updateNarrationState

      protected void updateNarrationState(NarrationElementOutput p_169238_)
      覆盖:
      updateNarrationState 在类中 Screen
    • getComponentStyleAt

      @Nullable private Style getComponentStyleAt(double p_232702_, double p_232703_)
    • handleChatInput

      public void handleChatInput(String p_242400_, boolean p_242161_)
    • normalizeChatMessage

      public String normalizeChatMessage(String p_232707_)