Class InfoSectionClient

java.lang.Object
org.cyclops.cyclopscore.infobook.InfoSectionClient

public class InfoSectionClient extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    drawScreen(ScreenInfoBook gui, net.minecraft.client.gui.GuiGraphics guiGraphics, int mouseX, int mouseY, int yOffset, int width, int height, int page, int mx, int my, int footnoteOffsetX, int footnoteOffsetY)
    Draw the screen for a given page.
    void
    postDrawScreen(ScreenInfoBook gui, net.minecraft.client.gui.GuiGraphics guiGraphics, int mouseX, int mouseY, int width, int height, int page, int mx, int my)
    Draw the overlays for the given page, for tooltips and such.

    Methods inherited from class java.lang.Object

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

    • InfoSectionClient

      public InfoSectionClient(InfoSection infoSection)
  • Method Details

    • drawScreen

      public void drawScreen(ScreenInfoBook gui, net.minecraft.client.gui.GuiGraphics guiGraphics, int mouseX, int mouseY, int yOffset, int width, int height, int page, int mx, int my, int footnoteOffsetX, int footnoteOffsetY)
      Draw the screen for a given page.
      Parameters:
      gui - The gui.
      guiGraphics - The gui graphics object
      mouseX - X.
      mouseY - Y.
      yOffset - The y offset.
      width - The width of the page.
      height - The height of the page.
      page - The page to render.
      mx - Mouse X.
      my - Mouse Y.
      footnoteOffsetX - Footnote offset x
      footnoteOffsetY - Footnote offset y
    • postDrawScreen

      public void postDrawScreen(ScreenInfoBook gui, net.minecraft.client.gui.GuiGraphics guiGraphics, int mouseX, int mouseY, int width, int height, int page, int mx, int my)
      Draw the overlays for the given page, for tooltips and such.
      Parameters:
      gui - The gui.
      guiGraphics - The gui graphics object.
      mouseX - X.
      mouseY - Y.
      width - The width of the page.
      height - The height of the page.
      page - The page to render.
      mx - Mouse X.
      my - Mouse Y.