public class ImageAppendix extends SectionAppendix
| Constructor and Description |
|---|
ImageAppendix(net.minecraft.util.ResourceLocation resource,
int width,
int height) |
| Modifier and Type | Method and Description |
|---|---|
void |
bakeElement(InfoSection infoSection)
Bake this appendix, only called once before changing pages.
|
protected void |
drawElement(GuiOriginsOfDarkness gui,
int x,
int y,
int width,
int height,
int page,
int mx,
int my) |
protected int |
getHeight() |
protected int |
getOffsetY() |
protected int |
getWidth() |
protected void |
postDrawElement(GuiOriginsOfDarkness gui,
int x,
int y,
int width,
int height,
int page,
int mx,
int my) |
void |
preBakeElement(InfoSection infoSection) |
drawScreen, getFullHeightpublic ImageAppendix(net.minecraft.util.ResourceLocation resource,
int width,
int height)
protected int getOffsetY()
getOffsetY in class SectionAppendixprotected int getWidth()
getWidth in class SectionAppendixprotected int getHeight()
getHeight in class SectionAppendixprotected void drawElement(GuiOriginsOfDarkness gui, int x, int y, int width, int height, int page, int mx, int my)
drawElement in class SectionAppendixprotected void postDrawElement(GuiOriginsOfDarkness gui, int x, int y, int width, int height, int page, int mx, int my)
postDrawElement in class SectionAppendixpublic void preBakeElement(InfoSection infoSection)
preBakeElement in class SectionAppendixpublic void bakeElement(InfoSection infoSection)
SectionAppendixbakeElement in class SectionAppendixinfoSection - The section this appendix is part of.