public class GuiNewChat extends Gui
Constructor and Description |
---|
GuiNewChat(Minecraft par1Minecraft) |
Modifier and Type | Method and Description |
---|---|
void |
addToSentMessages(String par1Str)
Adds this string to the list of sent messages, for recall using the up/down arrow keys
|
void |
addTranslatedMessage(String par1Str,
Object... par2ArrayOfObj)
Adds a message to the chat after translating to the client's locale.
|
void |
clearChatMessages()
Clears the chat.
|
void |
deleteChatLine(int par1)
finds and deletes a Chat line by ID
|
void |
drawChat(int par1) |
ChatClickData |
func_73766_a(int par1,
int par2) |
int |
func_96126_f() |
int |
func_96127_i() |
static int |
func_96128_a(float par0) |
static int |
func_96130_b(float par0) |
float |
func_96131_h() |
void |
func_96132_b() |
int |
func_96133_g() |
boolean |
getChatOpen() |
List |
getSentMessages()
Gets the list of messages previously sent through the chat GUI
|
void |
printChatMessage(String par1Str)
takes a String and prints it to chat
|
void |
printChatMessageWithOptionalDeletion(String par1Str,
int par2)
prints the String to Chat.
|
void |
resetScroll()
Resets the chat scroll (executed when the GUI is closed)
|
void |
scroll(int par1)
Scrolls the chat by the given number of lines.
|
drawCenteredString, drawRect, drawString, drawTexturedModalRect, drawTexturedModelRectFromIcon
public GuiNewChat(Minecraft par1Minecraft)
public void drawChat(int par1)
public void clearChatMessages()
public void printChatMessage(String par1Str)
public void printChatMessageWithOptionalDeletion(String par1Str, int par2)
public void func_96132_b()
public List getSentMessages()
public void addToSentMessages(String par1Str)
public void resetScroll()
public void scroll(int par1)
public ChatClickData func_73766_a(int par1, int par2)
public void addTranslatedMessage(String par1Str, Object... par2ArrayOfObj)
public boolean getChatOpen()
true
if the chat GUI is openpublic void deleteChatLine(int par1)
public int func_96126_f()
public int func_96133_g()
public float func_96131_h()
public static final int func_96128_a(float par0)
public static final int func_96130_b(float par0)
public int func_96127_i()