ChatLine .java

net.minecraft.client.gui.ChatLine (class): members: updateCounterCreated, getUpdatedCounter, getChatLineID, chatLineID, lineString, getChatComponent.

net.minecraft.client.guiclass38 linesclient867 B

API Surface (3)

IChatComponent getChatComponent()
int getUpdatedCounter()
int getChatLineID()

Fields & Constants (3)

updateCounterCreated
lineString
chatLineID

Code Graph: Dependencies (1)

Edges (calls / imports / inherits / references) resolved by graphify from the AST. Every chip opens the class source.

Full Source

ChatLine.java38 lines · MCP 1.8.9 · verbatimOriginal ↗
1
package net.minecraft.client.gui;
2
3
import net.minecraft.util.IChatComponent;
4
5
public class ChatLine
6
{
7
    /** GUI Update Counter value this Line was created at */
8
    private final int updateCounterCreated;
9
    private final IChatComponent lineString;
10
11
    /**
12
     * int value to refer to existing Chat Lines, can be 0 which means unreferrable
13
     */
14
    private final int chatLineID;
15
16
    public ChatLine(int p_i45000_1_, IChatComponent p_i45000_2_, int p_i45000_3_)
17
    {
18
        this.lineString = p_i45000_2_;
19
        this.updateCounterCreated = p_i45000_1_;
20
        this.chatLineID = p_i45000_3_;
21
    }
22
23
    public IChatComponent getChatComponent()
24
    {
25
        return this.lineString;
26
    }
27
28
    public int getUpdatedCounter()
29
    {
30
        return this.updateCounterCreated;
31
    }
32
33
    public int getChatLineID()
34
    {
35
        return this.chatLineID;
36
    }
37
}
38

Deobfuscated MCP 1.8.9 source of ChatLine from Marcelektro/MavenMCP-1.8.9 (net/minecraft/client/gui/ChatLine.java), stored verbatim.