java.lang.Object
com.pixelmonmod.pixelmon.api.overlay.scoreboard.line.entry.TextEntry
All Implemented Interfaces:
ScoreboardEntry

public class TextEntry extends Object implements ScoreboardEntry
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    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)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • TextEntry

      public TextEntry()
  • Method Details

    • of

      public static TextEntry of(net.minecraft.network.chat.Component text)
    • of

      public static TextEntry of(net.minecraft.network.chat.Component text, boolean unicode)
    • encode

      public void encode(net.minecraft.network.FriendlyByteBuf buffer)
      Specified by:
      encode in interface ScoreboardEntry
    • decode

      public void decode(net.minecraft.network.FriendlyByteBuf buffer)
      Specified by:
      decode in interface ScoreboardEntry
    • render

      public void render(net.minecraft.client.gui.GuiGraphics matrix, double x, double y, float partialTicks)
      Specified by:
      render in interface ScoreboardEntry