Class ImageAppendix
java.lang.Object
org.cyclops.cyclopscore.infobook.pageelement.SectionAppendix
org.cyclops.cyclopscore.infobook.pageelement.ImageAppendix
Images that can be added to sections.
- 
Constructor Summary
ConstructorsConstructorDescriptionImageAppendix(IInfoBook infoBook, net.minecraft.resources.ResourceLocation resource, int width, int height)  - 
Method Summary
Modifier and TypeMethodDescriptionvoidbakeElement(InfoSection infoSection) Bake this appendix, only called once before changing pages.protected voiddrawElement(ScreenInfoBook gui, net.minecraft.client.gui.GuiGraphics guiGraphics, int x, int y, int width, int height, int page, int mx, int my) protected intprotected intprotected intgetWidth()protected voidpostDrawElement(ScreenInfoBook gui, net.minecraft.client.gui.GuiGraphics guiGraphics, int x, int y, int width, int height, int page, int mx, int my) voidpreBakeElement(InfoSection infoSection) Methods inherited from class org.cyclops.cyclopscore.infobook.pageelement.SectionAppendix
drawScreen, getFullHeight 
- 
Constructor Details
- 
ImageAppendix
public ImageAppendix(IInfoBook infoBook, net.minecraft.resources.ResourceLocation resource, int width, int height)  
 - 
 - 
Method Details
- 
getOffsetY
protected int getOffsetY()- Specified by:
 getOffsetYin classSectionAppendix
 - 
getWidth
protected int getWidth()- Specified by:
 getWidthin classSectionAppendix
 - 
getHeight
protected int getHeight()- Specified by:
 getHeightin 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:
 drawElementin 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:
 postDrawElementin classSectionAppendix
 - 
preBakeElement
- Specified by:
 preBakeElementin classSectionAppendix
 - 
bakeElement
Description copied from class:SectionAppendixBake this appendix, only called once before changing pages.- Specified by:
 bakeElementin classSectionAppendix- Parameters:
 infoSection- The section this appendix is part of.w
 
 -