public class GuiContainerCreative extends InventoryEffectRenderer
field_110408_a, field_94076_q, field_94077_p, guiLeft, guiTop, inventorySlots, itemRenderer, xSize, ySize
allowUserInput, buttonList, fontRenderer, height, mc, width
icons, optionsBackground, statIcons, zLevel
Constructor and Description |
---|
GuiContainerCreative(EntityPlayer par1EntityPlayer) |
Modifier and Type | Method and Description |
---|---|
protected void |
actionPerformed(GuiButton par1GuiButton)
Fired when a control is clicked.
|
protected void |
drawGuiContainerBackgroundLayer(float par1,
int par2,
int par3)
Draw the background layer for the GuiContainer (everything behind the items)
|
protected void |
drawGuiContainerForegroundLayer(int par1,
int par2)
Draw the foreground layer for the GuiContainer (everything in front of the items)
|
protected void |
drawItemStackTooltip(ItemStack par1ItemStack,
int par2,
int par3) |
void |
drawScreen(int par1,
int par2,
float par3)
Draws the screen and all the components in it.
|
protected boolean |
func_74232_a(CreativeTabs par1CreativeTabs,
int par2,
int par3) |
int |
getCurrentTabIndex()
Returns the current creative tab index.
|
protected void |
handleMouseClick(Slot par1Slot,
int par2,
int par3,
int par4) |
void |
handleMouseInput()
Handles mouse input.
|
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.
|
protected void |
mouseClicked(int par1,
int par2,
int par3)
Called when the mouse is clicked.
|
protected void |
mouseMovedOrUp(int par1,
int par2,
int par3)
Called when the mouse is moved or a mouse button is released.
|
void |
onGuiClosed()
Called when the screen is unloaded.
|
protected boolean |
renderCreativeInventoryHoveringText(CreativeTabs par1CreativeTabs,
int par2,
int par3)
Renders the creative inventory hovering text if mouse is over it.
|
protected void |
renderCreativeTab(CreativeTabs par1CreativeTabs)
Renders passed creative inventory tab into the screen.
|
void |
updateScreen()
Called from the main game loop to update the screen.
|
checkHotbarKeys, doesGuiPauseGame, drawCreativeTabHoveringText, drawHoveringText, drawSlotInventory, func_102021_a, isPointInRegion, mouseClickMove
confirmClicked, drawBackground, drawDefaultBackground, drawWorldBackground, getClipboardString, handleInput, handleKeyboardInput, isCtrlKeyDown, isShiftKeyDown, setClipboardString, setWorldAndResolution
drawCenteredString, drawGradientRect, drawHorizontalLine, drawRect, drawString, drawTexturedModalRect, drawTexturedModelRectFromIcon, drawVerticalLine
public GuiContainerCreative(EntityPlayer par1EntityPlayer)
public void updateScreen()
updateScreen
in class GuiContainer
protected void handleMouseClick(Slot par1Slot, int par2, int par3, int par4)
handleMouseClick
in class GuiContainer
public void initGui()
initGui
in class InventoryEffectRenderer
public void onGuiClosed()
onGuiClosed
in class GuiContainer
protected void keyTyped(char par1, int par2)
keyTyped
in class GuiContainer
protected void drawGuiContainerForegroundLayer(int par1, int par2)
drawGuiContainerForegroundLayer
in class GuiContainer
protected void mouseClicked(int par1, int par2, int par3)
mouseClicked
in class GuiContainer
protected void mouseMovedOrUp(int par1, int par2, int par3)
mouseMovedOrUp
in class GuiContainer
public void handleMouseInput()
handleMouseInput
in class GuiScreen
public void drawScreen(int par1, int par2, float par3)
drawScreen
in class InventoryEffectRenderer
protected void drawItemStackTooltip(ItemStack par1ItemStack, int par2, int par3)
drawItemStackTooltip
in class GuiContainer
protected void drawGuiContainerBackgroundLayer(float par1, int par2, int par3)
drawGuiContainerBackgroundLayer
in class GuiContainer
protected boolean func_74232_a(CreativeTabs par1CreativeTabs, int par2, int par3)
protected boolean renderCreativeInventoryHoveringText(CreativeTabs par1CreativeTabs, int par2, int par3)
protected void renderCreativeTab(CreativeTabs par1CreativeTabs)
protected void actionPerformed(GuiButton par1GuiButton)
actionPerformed
in class GuiScreen
public int getCurrentTabIndex()