Class GuiRendererImpl

java.lang.Object
com.stereowalker.unionlib.client.gui.GuiRendererImpl
All Implemented Interfaces:
GuiRenderer

public class GuiRendererImpl extends Object implements GuiRenderer
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    net.minecraft.client.gui.GuiGraphicsExtractor
     
    float
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    GuiRendererImpl(net.minecraft.client.gui.GuiGraphicsExtractor guiGraphics, float partialTicks)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    blit(net.minecraft.resources.Identifier atlasLocation, int x, int y, int uOffset, int vOffset, int uWidth, int vHeight)
     
    void
    blit(net.minecraft.resources.Identifier atlasLocation, int x, int y, int uOffset, int vOffset, int uWidth, int vHeight, int textureWidth, int textureHeight)
     
    void
    drawString(String text, int x, int y, int color, boolean shadow)
     
    void
    drawString(net.minecraft.network.chat.Component text, int x, int y, int color, boolean shadow)
     
    void
    drawText(String text, int x, int y, Color color, boolean shadow)
     
    void
    drawText(net.minecraft.client.gui.Font font, String text, int x, int y, Color color, boolean shadow)
     
    void
    drawText(net.minecraft.client.gui.Font font, net.minecraft.network.chat.Component text, int x, int y, Color color, boolean shadow)
     
    void
    drawText(net.minecraft.network.chat.Component text, int x, int y, Color color, boolean shadow)
     
    void
    drawWidget(net.minecraft.client.gui.components.AbstractWidget widget, int mouseX, int mouseY)
     
    void
    fillGradient(int x1, int y1, int x2, int y2, int colorFrom, int colorTo)
     
    void
    fillGradient(int x1, int y1, int x2, int y2, int z, int colorFrom, int colorTo)
     
    void
    fillOverlay(int minX, int minY, int maxX, int maxY, int color)
     
    net.minecraft.client.gui.GuiGraphicsExtractor
     
    float
     
    com.mojang.blaze3d.vertex.PoseStack
     
    void
    renderSelectionList(net.minecraft.client.gui.components.AbstractSelectionList<?> e, int mouseX, int mouseY)
     

    Methods inherited from class Object

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

    • guiGraphics

      public net.minecraft.client.gui.GuiGraphicsExtractor guiGraphics
    • partialTicks

      public float partialTicks
  • Constructor Details

    • GuiRendererImpl

      public GuiRendererImpl(net.minecraft.client.gui.GuiGraphicsExtractor guiGraphics, float partialTicks)
  • Method Details

    • renderSelectionList

      public void renderSelectionList(net.minecraft.client.gui.components.AbstractSelectionList<?> e, int mouseX, int mouseY)
      Specified by:
      renderSelectionList in interface GuiRenderer
    • blit

      public void blit(net.minecraft.resources.Identifier atlasLocation, int x, int y, int uOffset, int vOffset, int uWidth, int vHeight)
      Specified by:
      blit in interface GuiRenderer
    • blit

      public void blit(net.minecraft.resources.Identifier atlasLocation, int x, int y, int uOffset, int vOffset, int uWidth, int vHeight, int textureWidth, int textureHeight)
      Specified by:
      blit in interface GuiRenderer
    • drawString

      public void drawString(String text, int x, int y, int color, boolean shadow)
      Specified by:
      drawString in interface GuiRenderer
    • drawString

      public void drawString(net.minecraft.network.chat.Component text, int x, int y, int color, boolean shadow)
      Specified by:
      drawString in interface GuiRenderer
    • drawText

      public void drawText(String text, int x, int y, Color color, boolean shadow)
      Specified by:
      drawText in interface GuiRenderer
    • drawText

      public void drawText(net.minecraft.network.chat.Component text, int x, int y, Color color, boolean shadow)
      Specified by:
      drawText in interface GuiRenderer
    • drawText

      public void drawText(net.minecraft.client.gui.Font font, String text, int x, int y, Color color, boolean shadow)
      Specified by:
      drawText in interface GuiRenderer
    • drawText

      public void drawText(net.minecraft.client.gui.Font font, net.minecraft.network.chat.Component text, int x, int y, Color color, boolean shadow)
      Specified by:
      drawText in interface GuiRenderer
    • drawWidget

      public void drawWidget(net.minecraft.client.gui.components.AbstractWidget widget, int mouseX, int mouseY)
      Specified by:
      drawWidget in interface GuiRenderer
    • fillGradient

      public void fillGradient(int x1, int y1, int x2, int y2, int colorFrom, int colorTo)
      Specified by:
      fillGradient in interface GuiRenderer
    • fillGradient

      public void fillGradient(int x1, int y1, int x2, int y2, int z, int colorFrom, int colorTo)
      Specified by:
      fillGradient in interface GuiRenderer
    • fillOverlay

      public void fillOverlay(int minX, int minY, int maxX, int maxY, int color)
      Specified by:
      fillOverlay in interface GuiRenderer
    • poseStack

      public com.mojang.blaze3d.vertex.PoseStack poseStack()
      Specified by:
      poseStack in interface GuiRenderer
    • partialTicks

      public float partialTicks()
      Specified by:
      partialTicks in interface GuiRenderer
    • guiGraphics

      public net.minecraft.client.gui.GuiGraphicsExtractor guiGraphics()
      Specified by:
      guiGraphics in interface GuiRenderer