Package org.cyclops.cyclopscore.infobook
Class InfoSectionTagIndex
java.lang.Object
org.cyclops.cyclopscore.infobook.InfoSection
org.cyclops.cyclopscore.infobook.InfoSectionTagIndex
Section that shows a sorted tag index with links.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.cyclops.cyclopscore.infobook.InfoSection
InfoSection.Location
-
Field Summary
Fields inherited from class org.cyclops.cyclopscore.infobook.InfoSection
paragraphs
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addSoftLinks
(InfoSection section) void
bakeSection
(net.minecraft.client.gui.Font fontRenderer, int width, int maxLines, int lineHeight, int yOffset) Will make a localized version of this section with a variable amount of paragraphs.protected boolean
Methods inherited from class org.cyclops.cyclopscore.infobook.InfoSection
addAdvancedButton, addAdvancedButtons, addLinks, constructAllLinks, drawScreen, formatString, getAdvancedButtons, getAppendixLineHeight, getAppendixOffsetLine, getChildIndex, getFontHeight, getLinks, getLocalizedPageLines, getLocalizedTitle, getNext, getPages, getParent, getPrevious, getRelativeWebPath, getSubSection, getSubSections, getTags, isRoot, isTitlePage, postDrawScreen, registerSection, trimStringToWidth
-
Constructor Details
-
InfoSectionTagIndex
-
-
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 classInfoSection
- Parameters:
fontRenderer
- The font renderer.width
- Section widthmaxLines
- The maximum amount of lines per page.lineHeight
- The line height.yOffset
- The y gui offset.
-
shouldAddIndex
protected boolean shouldAddIndex()- Overrides:
shouldAddIndex
in classInfoSection
-
addSoftLinks
-