Package org.cyclops.cyclopscore.infobook
Class InfoSectionClient
java.lang.Object
org.cyclops.cyclopscore.infobook.InfoSectionClient
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
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.
-
Constructor Details
-
InfoSectionClient
-
-
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 objectmouseX
- 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 xfootnoteOffsetY
- 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.
-