Class InfoSectionTagIndex

java.lang.Object
org.cyclops.cyclopscore.infobook.InfoSection
org.cyclops.cyclopscore.infobook.InfoSectionTagIndex

public class InfoSectionTagIndex extends InfoSection
Section that shows a sorted tag index with links.
  • Constructor Details

  • Method Details

    • bakeSection

      public void bakeSection(net.minecraft.client.gui.Font fontRenderer, int width, int maxLines, int lineHeight, int yOffset)
      Description copied from class: InfoSection
      Will make a localized version of this section with a variable amount of paragraphs. Must be called once before the section will be drawn.
      Overrides:
      bakeSection in class InfoSection
      Parameters:
      fontRenderer - The font renderer.
      width - Section width
      maxLines - The maximum amount of lines per page.
      lineHeight - The line height.
      yOffset - The y gui offset.
    • shouldAddIndex

      protected boolean shouldAddIndex()
      Overrides:
      shouldAddIndex in class InfoSection
    • addSoftLinks

      public void addSoftLinks(InfoSection section)