Class TextEntry
java.lang.Object
com.pixelmonmod.pixelmon.api.overlay.scoreboard.line.entry.TextEntry
- 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 TextEntry
of
(net.minecraft.network.chat.Component text) static TextEntry
of
(net.minecraft.network.chat.Component text, boolean unicode) void
render
(net.minecraft.client.gui.GuiGraphics matrix, double x, double y, float partialTicks)
-
Constructor Details
-
TextEntry
public TextEntry()
-
-
Method Details
-
of
-
of
-
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
-