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

public class ImageEntry 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 ImageEntry
    of(net.minecraft.resources.ResourceLocation resource, Color color, float width, float height)
     
    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

    • 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 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