public class NewChatGui extends AbstractGui
BACKGROUND_LOCATION, blitOffset, GUI_ICONS_LOCATION, STATS_ICON_LOCATION
Constructor and Description |
---|
NewChatGui(Minecraft mcIn) |
Modifier and Type | Method and Description |
---|---|
void |
addToSentMessages(java.lang.String message) |
static int |
calculateChatboxHeight(double p_194816_0_) |
static int |
calculateChatboxWidth(double p_194814_0_) |
void |
clearChatMessages(boolean p_146231_1_) |
void |
deleteChatLine(int id) |
void |
func_194813_a(double p_194813_1_) |
int |
getChatHeight() |
boolean |
getChatOpen() |
int |
getChatWidth() |
int |
getLineCount() |
double |
getScale() |
java.util.List<java.lang.String> |
getSentMessages() |
ITextComponent |
getTextComponent(double p_194817_1_,
double p_194817_3_) |
void |
printChatMessage(ITextComponent chatComponent) |
void |
printChatMessageWithOptionalDeletion(ITextComponent chatComponent,
int chatLineId) |
void |
refreshChat() |
void |
render(int updateCounter) |
void |
resetScroll() |
blit, blit, blit, blit, blit, drawCenteredString, drawRightAlignedString, drawString, fill, fillGradient, hLine, innerBlit, vLine
public NewChatGui(Minecraft mcIn)
public void render(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 func_194813_a(double p_194813_1_)
@Nullable public ITextComponent getTextComponent(double p_194817_1_, double p_194817_3_)
public boolean getChatOpen()
public void deleteChatLine(int id)
public int getChatWidth()
public int getChatHeight()
public double getScale()
public static int calculateChatboxWidth(double p_194814_0_)
public static int calculateChatboxHeight(double p_194816_0_)
public int getLineCount()