Package net.minecraft.src
Class GuiNewChat
java.lang.Object
net.minecraft.src.Gui
net.minecraft.src.GuiNewChat
-
Field Summary
Fields inherited from class net.minecraft.src.Gui
icons, optionsBackground, statIcons, zLevel -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddToSentMessages(String par1Str) Adds this string to the list of sent messages, for recall using the up/down arrow keysvoidaddTranslatedMessage(String par1Str, Object... par2ArrayOfObj) Adds a message to the chat after translating to the client's locale.voidClears the chat.voiddeleteChatLine(int par1) finds and deletes a Chat line by IDvoiddrawChat(int par1) func_73766_a(int par1, int par2) intintstatic final intfunc_96128_a(float par0) static final intfunc_96130_b(float par0) floatvoidintbooleanGets the list of messages previously sent through the chat GUIvoidprintChatMessage(String par1Str) takes a String and prints it to chatvoidprintChatMessageWithOptionalDeletion(String par1Str, int par2) prints the String to Chat.voidResets the chat scroll (executed when the GUI is closed)voidscroll(int par1) Scrolls the chat by the given number of lines.Methods inherited from class net.minecraft.src.Gui
drawCenteredString, drawGradientRect, drawHorizontalLine, drawRect, drawString, drawTexturedModalRect, drawTexturedModelRectFromIcon, drawVerticalLine
-
Constructor Details
-
GuiNewChat
-
-
Method Details
-
drawChat
public void drawChat(int par1) -
clearChatMessages
public void clearChatMessages()Clears the chat. -
printChatMessage
takes a String and prints it to chat -
printChatMessageWithOptionalDeletion
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
Gets the list of messages previously sent through the chat GUI -
addToSentMessages
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
-
addTranslatedMessage
Adds a message to the chat after translating to the client's locale. -
getChatOpen
public boolean getChatOpen()- Returns:
trueif 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()
-