Class GuiNewChat

java.lang.Object
net.minecraft.src.Gui
net.minecraft.src.GuiNewChat

public class GuiNewChat extends Gui
  • Constructor Details

    • GuiNewChat

      public GuiNewChat(Minecraft par1Minecraft)
  • Method Details

    • drawChat

      public void drawChat(int par1)
    • clearChatMessages

      public void clearChatMessages()
      Clears the chat.
    • printChatMessage

      public void printChatMessage(String par1Str)
      takes a String and prints it to chat
    • printChatMessageWithOptionalDeletion

      public void printChatMessageWithOptionalDeletion(String par1Str, int par2)
      prints the String to Chat. If the ID is not 0, deletes an existing Chat Line of that ID from the GUI
    • func_96132_b

      public void func_96132_b()
    • getSentMessages

      public List getSentMessages()
      Gets the list of messages previously sent through the chat GUI
    • addToSentMessages

      public void addToSentMessages(String par1Str)
      Adds this string to the list of sent messages, for recall using the up/down arrow keys
    • resetScroll

      public void resetScroll()
      Resets the chat scroll (executed when the GUI is closed)
    • scroll

      public void scroll(int par1)
      Scrolls the chat by the given number of lines.
    • func_73766_a

      public ChatClickData func_73766_a(int par1, int par2)
    • addTranslatedMessage

      public void addTranslatedMessage(String par1Str, Object... par2ArrayOfObj)
      Adds a message to the chat after translating to the client's locale.
    • getChatOpen

      public boolean getChatOpen()
      Returns:
      true if the chat GUI is open
    • deleteChatLine

      public void deleteChatLine(int par1)
      finds and deletes a Chat line by ID
    • func_96126_f

      public int func_96126_f()
    • func_96133_g

      public int func_96133_g()
    • func_96131_h

      public float func_96131_h()
    • func_96128_a

      public static final int func_96128_a(float par0)
    • func_96130_b

      public static final int func_96130_b(float par0)
    • func_96127_i

      public int func_96127_i()