Class ImageEntry
java.lang.Object
com.pixelmonmod.pixelmon.api.overlay.scoreboard.line.entry.ImageEntry
- All Implemented Interfaces:
ScoreboardEntry
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
decode
(net.minecraft.network.FriendlyByteBuf buffer) void
encode
(net.minecraft.network.FriendlyByteBuf buffer) static ImageEntry
void
render
(net.minecraft.client.gui.GuiGraphics matrix, double x, double y, float partialTicks)
-
Constructor Details
-
ImageEntry
public ImageEntry()
-
-
Method Details
-
of
public static ImageEntry of(net.minecraft.resources.ResourceLocation resource, Color color, float width, float height) -
encode
public void encode(net.minecraft.network.FriendlyByteBuf buffer) - Specified by:
encode
in interfaceScoreboardEntry
-
decode
public void decode(net.minecraft.network.FriendlyByteBuf buffer) - Specified by:
decode
in interfaceScoreboardEntry
-
render
public void render(net.minecraft.client.gui.GuiGraphics matrix, double x, double y, float partialTicks) - Specified by:
render
in interfaceScoreboardEntry
-