Interface ClientResearchIcon<I extends ResearchIcon>

Type Parameters:
I - The original Research Icon
All Known Implementing Classes:
ClientItemResearchIcon

public interface ClientResearchIcon<I extends ResearchIcon>
Client-side version of ResearchIcon used for rendering the icon. Stores the Research Icon itself as well.

Get instantiated for each Research.

  • Method Summary

    Modifier and Type
    Method
    Description
     
    void
    render(net.minecraft.client.gui.GuiGraphics guiGraphics, int panelLeft, int panelTop, int mouseX, int mouseY, float scale, float partialTicks)
    Render the icon
  • Method Details

    • icon

      I icon()
      Returns:
      The original Research Icon
    • render

      void render(net.minecraft.client.gui.GuiGraphics guiGraphics, int panelLeft, int panelTop, int mouseX, int mouseY, float scale, float partialTicks)
      Render the icon
      Parameters:
      panelLeft - Left start position of the current panel the icon is rendered on
      panelTop - Top start position of the current panel the icon is rendered on