public class GuiNewChat extends Gui
ICONS, OPTIONS_BACKGROUND, STAT_ICONS, zLevel
Constructor and Description |
---|
GuiNewChat(Minecraft mcIn) |
Modifier and Type | Method and Description |
---|---|
void |
addToSentMessages(java.lang.String message) |
static int |
calculateChatboxHeight(float scale) |
static int |
calculateChatboxWidth(float scale) |
void |
clearChatMessages(boolean p_146231_1_) |
void |
deleteChatLine(int id) |
void |
drawChat(int updateCounter) |
ITextComponent |
getChatComponent(int mouseX,
int mouseY) |
int |
getChatHeight() |
boolean |
getChatOpen() |
float |
getChatScale() |
int |
getChatWidth() |
int |
getLineCount() |
java.util.List<java.lang.String> |
getSentMessages() |
void |
printChatMessage(ITextComponent chatComponent) |
void |
printChatMessageWithOptionalDeletion(ITextComponent chatComponent,
int chatLineId) |
void |
refreshChat() |
void |
resetScroll() |
void |
scroll(int amount) |
drawCenteredString, drawGradientRect, drawHorizontalLine, drawModalRectWithCustomSizedTexture, drawRect, drawScaledCustomSizeModalRect, drawString, drawTexturedModalRect, drawTexturedModalRect, drawTexturedModalRect, drawVerticalLine
public GuiNewChat(Minecraft mcIn)
public void drawChat(int updateCounter)
public void clearChatMessages(boolean p_146231_1_)
public void printChatMessage(ITextComponent chatComponent)
public void printChatMessageWithOptionalDeletion(ITextComponent chatComponent, int chatLineId)
public void refreshChat()
public java.util.List<java.lang.String> getSentMessages()
public void addToSentMessages(java.lang.String message)
public void resetScroll()
public void scroll(int amount)
@Nullable public ITextComponent getChatComponent(int mouseX, int mouseY)
public boolean getChatOpen()
public void deleteChatLine(int id)
public int getChatWidth()
public int getChatHeight()
public float getChatScale()
public static int calculateChatboxWidth(float scale)
public static int calculateChatboxHeight(float scale)
public int getLineCount()