public abstract class GuiForesterBook extends GuiWindow implements IGuiSizable
| Modifier and Type | Field and Description |
|---|---|
protected IForesterBook |
book |
static int |
PAGE_HEIGHT |
static int |
PAGE_WIDTH |
static net.minecraft.util.ResourceLocation |
TEXTURE |
| Modifier | Constructor and Description |
|---|---|
protected |
GuiForesterBook(IForesterBook book) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
doesGuiPauseGame() |
void |
drawScreen(int mouseX,
int mouseY,
float partialTicks) |
protected void |
drawText() |
protected void |
drawTooltips(int mouseX,
int mouseY) |
IForesterBook |
getBook() |
static GuiForesterBook |
getGuiScreen() |
protected abstract java.lang.String |
getTitle() |
protected java.util.List<java.lang.String> |
getTooltip(int mouseX,
int mouseY) |
protected boolean |
hasButtons() |
protected void |
initButtons(GuiButtonPage leftButton,
GuiButtonPage rightButton,
GuiButtonBack backButton) |
void |
initGui() |
static void |
setGuiScreen(GuiForesterBook guiScreen) |
addElements, getGuiLeft, getGuiTop, getMC, getSizeX, getSizeY, handleMouseInput, keyTyped, mouseClicked, mouseReleased, setWorldAndResolution, updateScreenactionPerformed, addButton, confirmClicked, drawBackground, drawDefaultBackground, drawHoveringText, drawHoveringText, drawHoveringText, drawWorldBackground, getClipboardString, getItemToolTip, handleComponentClick, handleComponentHover, handleInput, handleKeyboardInput, isAltKeyDown, isCtrlKeyDown, isFocused, isKeyComboCtrlA, isKeyComboCtrlC, isKeyComboCtrlV, isKeyComboCtrlX, isShiftKeyDown, mouseClickMove, onGuiClosed, onResize, renderToolTip, sendChatMessage, sendChatMessage, setClipboardString, setFocused, setGuiSize, setTextdrawCenteredString, drawGradientRect, drawHorizontalLine, drawModalRectWithCustomSizedTexture, drawRect, drawScaledCustomSizeModalRect, drawString, drawTexturedModalRect, drawTexturedModalRect, drawTexturedModalRect, drawVerticalLineclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetGuiLeft, getGuiTop, getMC, getSizeX, getSizeYpublic static final net.minecraft.util.ResourceLocation TEXTURE
public static final int PAGE_WIDTH
public static final int PAGE_HEIGHT
protected final IForesterBook book
protected GuiForesterBook(IForesterBook book)
public IForesterBook getBook()
protected boolean hasButtons()
protected void initButtons(GuiButtonPage leftButton, GuiButtonPage rightButton, GuiButtonBack backButton)
public boolean doesGuiPauseGame()
doesGuiPauseGame in class GuiWindowpublic void drawScreen(int mouseX,
int mouseY,
float partialTicks)
drawScreen in class GuiWindowprotected void drawTooltips(int mouseX,
int mouseY)
drawTooltips in class GuiWindowprotected void drawText()
protected java.util.List<java.lang.String> getTooltip(int mouseX,
int mouseY)
protected abstract java.lang.String getTitle()
@Nullable public static GuiForesterBook getGuiScreen()
public static void setGuiScreen(@Nullable
GuiForesterBook guiScreen)