public interface IBookletGui
Can be cast to GuiScreen.
| Modifier and Type | Method and Description |
|---|---|
void |
drawRect(int startX,
int startY,
int u,
int v,
int xSize,
int ySize) |
java.util.List<net.minecraft.client.gui.GuiButton> |
getButtonList() |
IEntrySet |
getCurrentEntrySet() |
int |
getGuiLeft() |
int |
getGuiTop() |
int |
getXSize() |
int |
getYSize() |
void |
renderTooltipAndTransferButton(BookletPage from,
net.minecraft.item.ItemStack stack,
int x,
int y,
boolean renderTransferButton,
boolean mousePressed)
This method should be used when drawing an ItemStack to a booklet page
It displays the hoverover text of the item and also contains the "show more info"-text and clickable part
|
void renderTooltipAndTransferButton(BookletPage from, net.minecraft.item.ItemStack stack, int x, int y, boolean renderTransferButton, boolean mousePressed)
renderTransferButton - if the "show more info"-text and clickable part should existint getXSize()
int getYSize()
int getGuiLeft()
int getGuiTop()
void drawRect(int startX,
int startY,
int u,
int v,
int xSize,
int ySize)
IEntrySet getCurrentEntrySet()
java.util.List<net.minecraft.client.gui.GuiButton> getButtonList()