public class GuiScreenBook extends GuiScreen
allowUserInput, buttonList, fontRenderer, height, itemRender, keyHandled, labelList, mc, mouseHandled, selectedButton, widthICONS, OPTIONS_BACKGROUND, STAT_ICONS, zLevel| Constructor and Description |
|---|
GuiScreenBook(EntityPlayer player,
ItemStack book,
boolean isUnsigned) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
actionPerformed(GuiButton button) |
void |
drawScreen(int mouseX,
int mouseY,
float partialTicks) |
ITextComponent |
getClickedComponentAt(int p_175385_1_,
int p_175385_2_) |
boolean |
handleComponentClick(ITextComponent component) |
void |
initGui() |
protected void |
keyTyped(char typedChar,
int keyCode) |
protected void |
mouseClicked(int mouseX,
int mouseY,
int mouseButton) |
void |
onGuiClosed() |
void |
updateScreen() |
addButton, confirmClicked, doesGuiPauseGame, drawBackground, drawDefaultBackground, drawHoveringText, drawHoveringText, drawHoveringText, drawWorldBackground, getClipboardString, getItemToolTip, handleComponentHover, handleInput, handleKeyboardInput, handleMouseInput, isAltKeyDown, isCtrlKeyDown, isFocused, isKeyComboCtrlA, isKeyComboCtrlC, isKeyComboCtrlV, isKeyComboCtrlX, isShiftKeyDown, mouseClickMove, mouseReleased, onResize, renderToolTip, sendChatMessage, sendChatMessage, setClipboardString, setFocused, setGuiSize, setText, setWorldAndResolutiondrawCenteredString, drawGradientRect, drawHorizontalLine, drawModalRectWithCustomSizedTexture, drawRect, drawScaledCustomSizeModalRect, drawString, drawTexturedModalRect, drawTexturedModalRect, drawTexturedModalRect, drawVerticalLinepublic GuiScreenBook(EntityPlayer player, ItemStack book, boolean isUnsigned)
public void updateScreen()
updateScreen in class GuiScreenpublic void onGuiClosed()
onGuiClosed in class GuiScreenprotected void actionPerformed(GuiButton button) throws java.io.IOException
actionPerformed in class GuiScreenjava.io.IOExceptionprotected void keyTyped(char typedChar,
int keyCode)
throws java.io.IOException
public void drawScreen(int mouseX,
int mouseY,
float partialTicks)
drawScreen in class GuiScreenprotected void mouseClicked(int mouseX,
int mouseY,
int mouseButton)
throws java.io.IOException
mouseClicked in class GuiScreenjava.io.IOExceptionpublic boolean handleComponentClick(ITextComponent component)
handleComponentClick in class GuiScreen@Nullable public ITextComponent getClickedComponentAt(int p_175385_1_, int p_175385_2_)