Package net.minecraft.src
Class GuiInventory
java.lang.Object
net.minecraft.src.Gui
net.minecraft.src.GuiScreen
net.minecraft.src.GuiContainer
net.minecraft.src.InventoryEffectRenderer
net.minecraft.src.GuiInventory
-
Field Summary
Fields inherited from class net.minecraft.src.GuiContainer
field_110408_a, field_94076_q, field_94077_p, guiLeft, guiTop, inventorySlots, itemRenderer, xSize, ySizeFields inherited from class net.minecraft.src.GuiScreen
allowUserInput, buttonList, fontRenderer, height, mc, widthFields inherited from class net.minecraft.src.Gui
icons, optionsBackground, statIcons, zLevel -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidactionPerformed(GuiButton par1GuiButton) Fired when a control is clicked.protected voiddrawGuiContainerBackgroundLayer(float par1, int par2, int par3) Draw the background layer for the GuiContainer (everything behind the items)protected voiddrawGuiContainerForegroundLayer(int par1, int par2) Draw the foreground layer for the GuiContainer (everything in front of the items)voiddrawScreen(int par1, int par2, float par3) Draws the screen and all the components in it.static voidfunc_110423_a(int par0, int par1, int par2, float par3, float par4, EntityLivingBase par5EntityLivingBase) voidinitGui()Adds the buttons (and other controls) to the screen in question.voidCalled from the main game loop to update the screen.Methods inherited from class net.minecraft.src.GuiContainer
checkHotbarKeys, doesGuiPauseGame, drawCreativeTabHoveringText, drawItemStackTooltip, func_102021_a, getGuiLeft, getGuiTop, getTheSlot, getxSize, getySize, handleMouseClick, installationIntegrityTest, isPointInRegion, keyTyped, mouseClicked, mouseClickMove, mouseMovedOrUp, onGuiClosedMethods inherited from class net.minecraft.src.GuiScreen
confirmClicked, drawBackground, drawDefaultBackground, drawWorldBackground, getClipboardString, handleInput, handleKeyboardInput, handleMouseInput, isCtrlKeyDown, isShiftKeyDown, setClipboardString, setWorldAndResolutionMethods inherited from class net.minecraft.src.Gui
drawCenteredString, drawGradientRect, drawHorizontalLine, drawRect, drawString, drawTexturedModalRect, drawTexturedModelRectFromIcon, drawVerticalLine
-
Constructor Details
-
GuiInventory
-
-
Method Details
-
updateScreen
public void updateScreen()Called from the main game loop to update the screen.- Overrides:
updateScreenin classGuiContainer
-
initGui
public void initGui()Adds the buttons (and other controls) to the screen in question.- Overrides:
initGuiin classInventoryEffectRenderer
-
drawGuiContainerForegroundLayer
protected void drawGuiContainerForegroundLayer(int par1, int par2) Draw the foreground layer for the GuiContainer (everything in front of the items)- Overrides:
drawGuiContainerForegroundLayerin classGuiContainer
-
drawScreen
public void drawScreen(int par1, int par2, float par3) Draws the screen and all the components in it.- Overrides:
drawScreenin classInventoryEffectRenderer
-
drawGuiContainerBackgroundLayer
protected void drawGuiContainerBackgroundLayer(float par1, int par2, int par3) Draw the background layer for the GuiContainer (everything behind the items)- Specified by:
drawGuiContainerBackgroundLayerin classGuiContainer
-
func_110423_a
public static void func_110423_a(int par0, int par1, int par2, float par3, float par4, EntityLivingBase par5EntityLivingBase) -
actionPerformed
Fired when a control is clicked. This is the equivalent of ActionListener.actionPerformed(ActionEvent e).- Overrides:
actionPerformedin classGuiScreen
-