public class TextEntry extends java.lang.Object implements ScoreboardEntry
Constructor and Description |
---|
TextEntry() |
Modifier and Type | Method and Description |
---|---|
void |
decode(net.minecraft.network.PacketBuffer buffer) |
void |
encode(net.minecraft.network.PacketBuffer buffer) |
static TextEntry |
of(net.minecraft.util.text.ITextComponent text) |
static TextEntry |
of(net.minecraft.util.text.ITextComponent text,
boolean unicode) |
void |
render(com.mojang.blaze3d.matrix.MatrixStack matrix,
double x,
double y,
net.minecraft.client.renderer.Tessellator tessellator,
float partialTicks) |
public static TextEntry of(net.minecraft.util.text.ITextComponent text)
public static TextEntry of(net.minecraft.util.text.ITextComponent text, boolean unicode)
public void encode(net.minecraft.network.PacketBuffer buffer)
encode
in interface ScoreboardEntry
public void decode(net.minecraft.network.PacketBuffer buffer)
decode
in interface ScoreboardEntry
public void render(com.mojang.blaze3d.matrix.MatrixStack matrix, double x, double y, net.minecraft.client.renderer.Tessellator tessellator, float partialTicks)
render
in interface ScoreboardEntry