Class KeyBindingAppendix
java.lang.Object
org.cyclops.cyclopscore.infobook.pageelement.SectionAppendix
org.cyclops.cyclopscore.infobook.pageelement.KeyBindingAppendix
An appendix for key bindings.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
bakeElement
(InfoSection infoSection) Bake this appendix, only called once before changing pages.protected void
drawElement
(ScreenInfoBook gui, net.minecraft.client.gui.GuiGraphics guiGraphics, int x, int y, int width, int height, int page, int mx, int my) protected int
protected int
protected int
getWidth()
protected void
postDrawElement
(ScreenInfoBook gui, net.minecraft.client.gui.GuiGraphics guiGraphics, int x, int y, int width, int height, int page, int mx, int my) void
preBakeElement
(InfoSection infoSection) Methods inherited from class org.cyclops.cyclopscore.infobook.pageelement.SectionAppendix
drawScreen, getFullHeight
-
Field Details
-
WIDTH
public static final int WIDTH- See Also:
-
HEIGHT
public static final int HEIGHT- See Also:
-
-
Constructor Details
-
KeyBindingAppendix
public KeyBindingAppendix(IInfoBook infoBook, String keybindingName) throws InfoBookParser.InvalidAppendixException
-
-
Method Details
-
getOffsetY
protected int getOffsetY()- Specified by:
getOffsetY
in classSectionAppendix
-
getWidth
protected int getWidth()- Specified by:
getWidth
in classSectionAppendix
-
getHeight
protected int getHeight()- Specified by:
getHeight
in classSectionAppendix
-
drawElement
protected void drawElement(ScreenInfoBook gui, net.minecraft.client.gui.GuiGraphics guiGraphics, int x, int y, int width, int height, int page, int mx, int my) - Specified by:
drawElement
in classSectionAppendix
-
postDrawElement
protected void postDrawElement(ScreenInfoBook gui, net.minecraft.client.gui.GuiGraphics guiGraphics, int x, int y, int width, int height, int page, int mx, int my) - Specified by:
postDrawElement
in classSectionAppendix
-
preBakeElement
- Specified by:
preBakeElement
in classSectionAppendix
-
bakeElement
Description copied from class:SectionAppendix
Bake this appendix, only called once before changing pages.- Specified by:
bakeElement
in classSectionAppendix
- Parameters:
infoSection
- The section this appendix is part of.w
-