Class SectionAppendixClient<A extends SectionAppendix<?>>

java.lang.Object
org.cyclops.cyclopscore.infobook.pageelement.SectionAppendixClient<A>
Direct Known Subclasses:
AdvancementRewardsAppendixClient, ImageAppendixClient, KeyBindingAppendixClient, RecipeAppendixClient, TextFieldAppendixClient

public abstract class SectionAppendixClient<A extends SectionAppendix<?>> extends Object
  • Constructor Details

    • SectionAppendixClient

      protected SectionAppendixClient(A sectionAppendix)
  • Method Details

    • getSectionAppendix

      public A getSectionAppendix()
    • drawScreen

      public void drawScreen(ScreenInfoBook gui, net.minecraft.client.gui.GuiGraphics guiGraphics, int x, int y, int width, int height, int page, int mx, int my, boolean pre)
      Draw the appendix.
      Parameters:
      gui - The gui.
      guiGraphics - The gui graphics object.
      x - Start X.
      y - Start Y.
      width - Max width.
      height - Max height.
      page - Current page.
      mx - Mouse X.
      my - Mouse Y.
      pre - If the normal drawing should occur, otherwise post-drawing: things like tooltips.
    • drawElement

      protected abstract void drawElement(ScreenInfoBook gui, net.minecraft.client.gui.GuiGraphics guiGraphics, int x, int y, int width, int height, int page, int mx, int my)
    • postDrawElement

      protected abstract void postDrawElement(ScreenInfoBook gui, net.minecraft.client.gui.GuiGraphics guiGraphics, int x, int y, int width, int height, int page, int mx, int my)