public class ImageEntry extends java.lang.Object implements ScoreboardEntry
Constructor and Description |
---|
ImageEntry() |
Modifier and Type | Method and Description |
---|---|
void |
decode(net.minecraft.network.PacketBuffer buffer) |
void |
encode(net.minecraft.network.PacketBuffer buffer) |
static ImageEntry |
of(net.minecraft.util.ResourceLocation resource,
java.awt.Color color,
float width,
float height) |
void |
render(com.mojang.blaze3d.matrix.MatrixStack matrix,
double x,
double y,
net.minecraft.client.renderer.Tessellator tessellator,
float partialTicks) |
public static ImageEntry of(net.minecraft.util.ResourceLocation resource, java.awt.Color color, float width, float height)
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