Class SectionAppendixClient<A extends SectionAppendix<?>>
java.lang.Object
org.cyclops.cyclopscore.infobook.pageelement.SectionAppendixClient<A>
- Direct Known Subclasses:
AdvancementRewardsAppendixClient
,ImageAppendixClient
,KeyBindingAppendixClient
,RecipeAppendixClient
,TextFieldAppendixClient
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected 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) 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.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)
-
Constructor Details
-
SectionAppendixClient
-
-
Method Details
-
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)
-