public class GuiScreenBook extends GuiScreen
allowUserInput, buttonList, fontRenderer, height, mc, width
icons, optionsBackground, statIcons, zLevel
Constructor and Description |
---|
GuiScreenBook(EntityPlayer par1EntityPlayer,
ItemStack par2ItemStack,
boolean par3) |
Modifier and Type | Method and Description |
---|---|
protected void |
actionPerformed(GuiButton par1GuiButton)
Fired when a control is clicked.
|
void |
drawScreen(int par1,
int par2,
float par3)
Draws the screen and all the components in it.
|
void |
initGui()
Adds the buttons (and other controls) to the screen in question.
|
protected void |
keyTyped(char par1,
int par2)
Fired when a key is typed.
|
void |
onGuiClosed()
Called when the screen is unloaded.
|
void |
updateScreen()
Called from the main game loop to update the screen.
|
confirmClicked, doesGuiPauseGame, drawBackground, drawDefaultBackground, drawWorldBackground, getClipboardString, handleInput, handleKeyboardInput, handleMouseInput, isCtrlKeyDown, isShiftKeyDown, mouseClicked, mouseClickMove, mouseMovedOrUp, setClipboardString, setWorldAndResolution
drawCenteredString, drawGradientRect, drawHorizontalLine, drawRect, drawString, drawTexturedModalRect, drawTexturedModelRectFromIcon, drawVerticalLine
public GuiScreenBook(EntityPlayer par1EntityPlayer, ItemStack par2ItemStack, boolean par3)
public void updateScreen()
updateScreen
in class GuiScreen
public void initGui()
public void onGuiClosed()
onGuiClosed
in class GuiScreen
protected void actionPerformed(GuiButton par1GuiButton)
actionPerformed
in class GuiScreen
protected void keyTyped(char par1, int par2)
public void drawScreen(int par1, int par2, float par3)
drawScreen
in class GuiScreen