public class GuideAssembly extends GuidePartItem
GuidePart.PagePosition
Modifier and Type | Field and Description |
---|---|
static GuiIcon |
INPUT_LIST |
static GuiRectangle[] |
ITEM_POSITION |
static GuiRectangle |
MJ_POSITION |
static GuiRectangle |
OFFSET |
static GuiRectangle |
OUT_POSITION |
static int |
PIXEL_HEIGHT |
STACK_RECT
gui, INDENT_WIDTH, LINE_HEIGHT, wasHovered, wasIconHovered
Modifier and Type | Method and Description |
---|---|
GuidePart.PagePosition |
handleMouseClick(int x,
int y,
int width,
int height,
GuidePart.PagePosition current,
int index,
int mouseX,
int mouseY)
Like
GuidePart.renderIntoArea(int, int, int, int, PagePosition, int) but for a mouse click. |
GuidePart.PagePosition |
renderIntoArea(int x,
int y,
int width,
int height,
GuidePart.PagePosition current,
int index) |
drawItemStack, testClickItemStack
getFontRenderer, handleMouseDragFinish, handleMouseDragPartial, renderLine, renderLines, renderLines, renderTextLine, setFontRenderer, updateScreen, wasHovered
public static final GuiIcon INPUT_LIST
public static final GuiRectangle[] ITEM_POSITION
public static final GuiRectangle OUT_POSITION
public static final GuiRectangle MJ_POSITION
public static final GuiRectangle OFFSET
public static final int PIXEL_HEIGHT
public GuidePart.PagePosition renderIntoArea(int x, int y, int width, int height, GuidePart.PagePosition current, int index)
renderIntoArea
in class GuidePart
current
- The current position to render fromindex
- The current page index to render onpublic GuidePart.PagePosition handleMouseClick(int x, int y, int width, int height, GuidePart.PagePosition current, int index, int mouseX, int mouseY)
GuidePart
GuidePart.renderIntoArea(int, int, int, int, PagePosition, int)
but for a mouse click.handleMouseClick
in class GuidePart